diff options
author | jakobst1n <jakob.stendahl@outlook.com> | 2023-11-29 21:40:14 +0100 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2023-11-29 21:40:14 +0100 |
commit | 6cf3e48b4da8953ee2ba2fd71dbfc4a29b9bc0f3 (patch) | |
tree | 70c3bca63ccb0438a5cc5e63ed0caca3da1fe1da /config/bt60_v2.overlay | |
parent | a553e2e81a673aeb10bd34d2aca06fd19714137d (diff) | |
download | zmk-config-master.tar.gz zmk-config-master.zip |
Move keymap from main zmk source to separate zmk-config repo.master
Basically adhere to the "new way of doing things". Also, since I made
the keymap the first time, the ckp boards has made it into the core zmk
repo. So it is a hassle to compile without changing things in the source
now.
Diffstat (limited to 'config/bt60_v2.overlay')
-rw-r--r-- | config/bt60_v2.overlay | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/config/bt60_v2.overlay b/config/bt60_v2.overlay new file mode 100644 index 0000000..02595ab --- /dev/null +++ b/config/bt60_v2.overlay @@ -0,0 +1,33 @@ +#include <dt-bindings/zmk/matrix_transform.h> + +/ { + model = "BT60_V2"; + compatible = "polarityworks,bt60_v2"; + + chosen { + zephyr,code-partition = &code_partition; + zephyr,sram = &sram0; + zephyr,flash = &flash0; + zmk,kscan = &kscan0; + zmk,underglow = &led_strip; + zmk,backlight = &backlight; + zmk,matrix_transform = &default_transform; + zmk,battery = &vbatt; + }; + + default_transform: keymap_transform_0 { + compatible = "zmk,matrix-transform"; + columns = <15>; + rows = <5>; + map = < + RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10) RC(1,11) RC(1,12) RC(1,13) + RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10) RC(2,11) RC(2,12) + RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8) RC(3,9) RC(3,10) RC(3,11) RC(3,12) RC(3,13) + RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) RC(4,7) RC(4,8) RC(4,9) RC(4,10) RC(4,11) RC(4,12) RC(4,14) + RC(5,0) RC(5,1) RC(5,2) RC(5,6) RC(5,10) RC(5,11) RC(5,12) RC(5,13) + >; + }; + + +}; + |