From 32acc061d4a790dd3ca00b122606b74a1852b396 Mon Sep 17 00:00:00 2001 From: Daniel Bauer <4690162+dnlbauer@users.noreply.github.com> Date: Sat, 26 Aug 2023 13:36:04 +0200 Subject: [PATCH] New layout (#3) * rename layers * change number layer * numbers layer * right sym * symbols * layer change keys * add nav layer * swap underscore and minus * swap quotes * make nav layer accessible * Updated corax56.keymap * update * Updated corax56.keymap * add sticky adjust layer * fix symlink * cleanup * fix undead dqt and vim arrows * move nav layer switch to space and use right scroll wheel for audio * move nav layer switch to space and use right scroll wheel for audio * move some special keys arround * fix symlink * move nav layer switch again * ctrl keys on nav layer --------- Co-authored-by: keymap-editor[bot] <91849743+keymap-editor[bot]@users.noreply.github.com> --- .gitignore | 1 + config/boards/shields/corax56/corax56.keymap | 217 ++++++++----------- config/corax56.json | 138 +++++++----- 3 files changed, 167 insertions(+), 189 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..644147c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.uf2 diff --git a/config/boards/shields/corax56/corax56.keymap b/config/boards/shields/corax56/corax56.keymap index 838bd3e..5bfefc7 100644 --- a/config/boards/shields/corax56/corax56.keymap +++ b/config/boards/shields/corax56/corax56.keymap @@ -1,13 +1,14 @@ #include -#include #include +#include #include #define COLEMAK 0 #define DEFAULT 1 -#define SPEC 2 -#define NAV 3 -#define ADJUST 4 +#define SYM 2 +#define NUM 3 +#define NAV 4 +#define ADJUST 5 // tapdance timing #define TAPTERM 100 @@ -20,44 +21,16 @@ // faster layertap < { quick-tap-ms = <0>; - tapping-term-ms = <150>; + tapping-term-ms = <150>; }; // faster modtap &mt { tapping-term-ms = <200>; -}; +}; / { - // adjust layer when both navigation keys are pressed - conditional_layers { - compatible = "zmk,conditional-layers"; - tri_layer { - if-layers = ; - then-layer = ; - }; - }; - behaviors { - // F5 / double tap reset - tdrstl: tdrstl { - compatible = "zmk,behavior-tap-dance"; - label = "tdrstl"; - #binding-cells = <0>; - tapping-term-ms = ; - bindings = <&kp F5>, <&sys_reset>; - }; - - // F6 / double tap reset - tdrstr: tdrstr { - compatible = "zmk,behavior-tap-dance"; - label = "tdrstr"; - #binding-cells = <0>; - tapping-term-ms = ; - bindings = <&kp F6>, <&sys_reset>; - }; - }; - macros { // undead ` ud_grave: ud_grave { @@ -89,7 +62,7 @@ bindings = <&kp CARET &kp SPACE>; }; - // undead " + // undead ' ud_sqt: ud_sqt { label = "UNDEAD_SINGLE_QUOTE"; compatible = "zmk,behavior-macro"; @@ -98,6 +71,33 @@ tap-ms = <10>; bindings = <&kp SQT &kp SPACE>; }; + + // undead " + ud_dqt: ud_dqt { + label = "UNDEAD_DOUBLE_QUOTE"; + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + wait-ms = <10>; + tap-ms = <10>; + bindings = <&kp LS(SQT) &kp SPACE>; + }; + + }; + + combos { + compatible = "zmk,combos"; + + gm_capsword { + bindings = <&caps_word>; + // caps on G+M + key-positions = <28 29>; + }; + + sticky_adjust { + bindings = <&sl 5>; + // sticky adjust layer on LALT+RALT + key-positions = <51 56>; + }; }; keymap { @@ -105,123 +105,80 @@ colemak_layer { label = "Colemak"; - -bindings = < -// ___________________________________________________ ___________________________________________________ -// | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 -// _____________________________________________________________ _____________________________________________________________ -// | TAB | Q | W | F | P | B | | J | L | U | Y | ; | TAB | - &kp TAB &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI &kp BSPC -// _______________________________________________________________________ _______________________________________________________________________ -// | ESC | CTRL | A | R | S | T | G | | M | N | E | I | O | ' | F13 | - &kp ESC &kp LCTRL &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O &ud_sqt &kp RC(RA(F13)) -// _____________________________________________________________________________________________________________________________________________ -// | SHIFT | Z | X | C | D | V | MUTE |PLAY/PAUS| K | H | , | . | / | SHIFT | - &mt LSHFT LBRC &kp Z &kp X &kp C &kp D &kp V &kp C_MUTE &kp C_PP &kp K &kp H &kp COMMA &kp DOT &kp SLASH &mt RSHFT RBRC -// _________________________________________________________________________________ -// | WIN | ALT | X/FSC | SPACE | ENTER | x/BSPC | ALT | WIN | - &kp LGUI &kp LALT < SPEC ESC &kp SPACE &kp ENTER < NAV BSPC &kp RALT &kp RGUI + bindings = < + &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 + &kp TAB &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI &kp BSPC +&kp ESC &kp LCTRL &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O &kp BACKSPACE &kp RC(RA(F13)) + &mt LSHFT LBRC &kp Z &kp X &kp C &kp D &kp V &kp C_MUTE &kp C_PP &kp K &kp H &kp COMMA &kp DOT &mo NAV &mt RSHFT RBRC + &kp LGUI &kp LALT < SYM BSPC &kp SPACE &kp ENTER < NUM ESC &kp RALT &kp RGUI >; - sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_DN PG_UP>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp C_PREV C_NEXT>; }; qwerty_layer { label = "QWERTY"; - -bindings = < -// ___________________________________________________ ___________________________________________________ -// | | | | | | | | | | | | - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// _____________________________________________________________ _____________________________________________________________ -// | | Q | W | E | R | T | | Y | U | I | O | P | | - &trans &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &trans -// _______________________________________________________________________ _______________________________________________________________________ -// | | | A | S | D | F | G | | H | J | K | L | ; | ' | | - &trans &trans &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &ud_sqt &trans -// _____________________________________________________________________________________________________________________________________________ -// | | Z | X | C | V | B | | | N | M | , | . | / | | - &trans &kp Z &kp X &kp C &kp V &kp B &trans &trans &kp N &kp M &kp COMMA &kp DOT &kp SLASH &trans -// _________________________________________________________________________________ -// | | | | | | | | | - &trans &trans &trans &trans &trans &trans &trans &trans + bindings = < + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &trans &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &trans +&trans &trans &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &trans &trans + &trans &kp Z &kp X &kp C &kp V &kp B &trans &trans &kp N &kp M &kp COMMA &kp DOT &trans &trans + &trans &trans &trans &trans &trans &trans &trans &trans >; - sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_DN PG_UP>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp C_PREV C_NEXT>; }; - special_layer { - label = "Special"; - -bindings = < -// ___________________________________________________ ___________________________________________________ -// | T1 | F2 | F3 | F4 | F5/rst | | F6 | F7 | F8 | F9 | F10 | - &kp F1 &kp F2 &kp F3 &kp F4 &tdrstl &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 -// _____________________________________________________________ _____________________________________________________________ -// | | / | | | | + | | ! | @ | # | $ | % | F11 | - &trans &kp SLASH &trans &trans &trans &kp PLUS &kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PRCNT &kp F11 -// _______________________________________________________________________ _______________________________________________________________________ -// | | ` | | | | | = | | ^ | & | * | ( | ) | ~ | | - &trans &ud_grave &trans &trans &trans &trans &kp EQUAL &ud_caret &kp AMPS &kp STAR &kp LPAR &kp RPAR &ud_tilde &trans -// _____________________________________________________________________________________________________________________________________________ -// | | * | | | | - | | | [ | ] | _ | | | \ | | - &trans &kp STAR &trans &trans &trans &kp MINUS &trans &trans &kp LBKT &kp RBKT &kp UNDER &kp PIPE &kp BSLH &trans -// _________________________________________________________________________________ -// | | | | | | | | | - &trans &trans &trans &trans &trans &trans &trans &trans + sym_layer { + label = "Symbols"; + bindings = < + &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 + &kp LA(F4) &trans &kp BSLH &kp PRCNT &kp DLLR &trans &trans &ud_caret &kp LBRC &kp RBRC &trans &kp F11 +&trans &trans &kp STAR &kp LPAR &kp RPAR &kp COLON &trans &trans &ud_dqt &kp LBKT &kp RBKT &kp SEMI &trans &trans + &trans &trans &ud_grave &kp AT &kp AMPS &trans &trans &trans &trans &kp HASH &kp LT &kp GT &trans &trans + &trans &trans &trans &trans &trans &trans &trans &trans >; - sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_DN PG_UP>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp C_PREV C_NEXT>; + }; + + num_layer { + label = "Numbers"; + bindings = < + &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 + &trans &trans &kp N4 &kp N5 &kp N6 &trans &trans &kp PIPE &kp UNDER &kp SLASH &trans &kp F11 +&trans &trans &kp DOT &kp N1 &kp N2 &kp N3 &trans &trans &ud_sqt &kp MINUS &kp EQUAL &kp DEL &trans &trans + &trans &ud_tilde &kp N7 &kp N8 &kp N9 &trans &trans &trans &trans &kp PLUS &kp QMARK &kp EXCL &mo NAV &trans + &trans &trans &kp N0 &trans &trans &trans &trans &trans + >; + + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp C_PREV C_NEXT>; }; nav_layer { - label = "Num/Nav"; - -bindings = < -// ___________________________________________________ ___________________________________________________ -// | F1 | F2 | F3 | F4 | F5 | | F6/rst | F7 | F8 | F9 | F10 | - &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &tdrstr &kp F7 &kp F8 &kp F9 &kp F10 -// _____________________________________________________________ _____________________________________________________________ -// | ALT+F4 | / | 7 | 8 | 9 | + | | ALT+LEFT| PAGE UP | PAGE DN |ALT+RIGHT| PRINT | F11 | - &kp LA(F4) &kp SLASH &kp N7 &kp N8 &kp N9 &kp PLUS &kp LA(LEFT) &kp PG_UP &kp PG_DN &kp LA(RIGHT) &kp PSCRN &kp F11 -// _______________________________________________________________________ _______________________________________________________________________ -// | | | 0 | 1 | 2 | 3 | = | | LEFT < | DOWN v | UP ^ | RIGHT > | DEL |BACKSPACE| | - &trans &trans &kp N0 &kp N1 &kp N2 &kp N3 &kp EQUAL &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp DEL &kp BSPC &trans -// _____________________________________________________________________________________________________________________________________________ -// | | * | 4 | 5 | 6 | - | | | CAPS | INS | HOME | END | PAUSE | WIN+L | - &trans &kp STAR &kp N4 &kp N5 &kp N6 &kp MINUS &trans &trans &caps_word &kp INSERT &kp HOME &kp END &kp PAUSE_BREAK &kp LG(L) -// _________________________________________________________________________________ -// | | | | | | | | | - &trans &trans &trans &trans &trans &trans &trans &trans + label = "Navigation"; + bindings = < + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &trans &kp LC(Q) &kp LC(W) &kp LC(F) &kp LC(P) &kp LC(B) &caps_word &kp INS &kp PSCRN &kp PAUSE_BREAK &trans &trans +&trans &trans &kp LC(A) &kp LC(R) &kp LC(S) &kp LC(T) &kp LC(G) &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans &trans + &trans &kp LC(Z) &kp LC(X) &kp LC(C) &kp LC(D) &kp LC(V) &trans &trans &kp HOME &kp PG_DN &kp PG_UP &kp END &trans &trans + &trans &trans &trans &trans &trans &trans &trans &trans >; - - sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_DN PG_UP>; }; adjust_layer { label = "Adjust"; - -bindings = < -// ___________________________________________________ ___________________________________________________ -// | | | | | | | | | | | | - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// _____________________________________________________________ _____________________________________________________________ -// | | QWERTY | | | | | | | | | | | | - &trans &to DEFAULT &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// _______________________________________________________________________ _______________________________________________________________________ -// | BT CLR | | BT0 | BT1 | BT2 | BT3 | BT4 | | | BT NEXT | BT PREV |BT TOGGLE| | | | - &bt BT_CLR &trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &bt BT_NXT &bt BT_PRV &out OUT_TOG &trans &trans &trans -// _____________________________________________________________________________________________________________________________________________ -// | | | | Colemak | | | | | | | | | | | - &trans &trans &trans &to COLEMAK &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -// _________________________________________________________________________________ -// | | | | | | | | | - &trans &trans &trans &trans &trans &trans &trans &trans + bindings = < + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &trans &to 1 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&bt BT_CLR &trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &bt BT_NXT &bt BT_PRV &out OUT_TOG &trans &trans &trans + &trans &trans &trans &to 0 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &trans &trans &trans &trans &trans &trans &trans &trans >; - sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_DN PG_UP>; + sensor-bindings = + <&inc_dec_kp C_VOL_DN C_VOL_UP>, + <&inc_dec_kp C_PREV C_NEXT>; }; - }; }; diff --git a/config/corax56.json b/config/corax56.json index b229672..dbfec52 100644 --- a/config/corax56.json +++ b/config/corax56.json @@ -1,73 +1,93 @@ { + "id": "corax56", + "name": "corax56", "keyboard_name": "Corax56", "url": "https://github.com/dnlbauer/corax56-keyboard", "maintainer": "", "layouts": { "LAYOUT": { - "layout": [ - { "label": "1", "row": 0, "col": 2, "r": -5, "x": 1.82, "y": 1.06, "rx": 2.32, "ry": 1.56 }, - { "label": "2", "row": 0, "col": 3, "r": 0, "x": 3.02, "y": 0.32 }, - { "label": "3", "row": 0, "col": 4, "r": 0, "x": 3.99, "y": 0 }, - { "label": "4", "row": 0, "col": 5, "r": 0, "x": 4.96, "y": 0.32 }, - { "label": "5", "row": 0, "col": 6, "r": 0, "x": 5.94, "y": 0.46 }, - { "label": "6", "row": 0, "col": 10, "r": 0, "x": 10.21, "y": 0.46 }, - { "label": "7", "row": 0, "col": 11, "r": 0, "x": 11.19, "y": 0.32 }, - { "label": "8", "row": 0, "col": 12, "r": 0, "x": 12.16, "y": 0 }, - { "label": "9", "row": 0, "col": 13, "r": 0, "x": 13.13, "y": 0.32 }, - { "label": "0", "row": 0, "col": 14, "r": 5, "x": 14.33, "y": 1.06, "rx": 14.83, "ry": 1.56 }, + "layout": [ + { "label": "1", "row": 0, "col": 2, "r": -5, "x": 1.82, "y": 1.06, "rx": 2.32, "ry": 1.56 }, + { "label": "2", "row": 0, "col": 3, "r": 0, "x": 3.02, "y": 0.32 }, + { "label": "3", "row": 0, "col": 4, "r": 0, "x": 3.99, "y": 0 }, + { "label": "4", "row": 0, "col": 5, "r": 0, "x": 4.96, "y": 0.32 }, + { "label": "5", "row": 0, "col": 6, "r": 0, "x": 5.94, "y": 0.46 }, + { "label": "6", "row": 0, "col": 10, "r": 0, "x": 10.21, "y": 0.46 }, + { "label": "7", "row": 0, "col": 11, "r": 0, "x": 11.19, "y": 0.32 }, + { "label": "8", "row": 0, "col": 12, "r": 0, "x": 12.16, "y": 0 }, + { "label": "9", "row": 0, "col": 13, "r": 0, "x": 13.13, "y": 0.32 }, + { "label": "0", "row": 0, "col": 14, "r": 5, "x": 14.33, "y": 1.06, "rx": 14.83, "ry": 1.56 }, - { "label": "TAB", "row": 1, "col": 1, "r": -5, "x": 0.93, "y": 2.12, "rx": 1.43, "ry": 2.62 }, - { "label": "Q", "row": 1, "col": 2, "r": -5, "x": 1.9, "y": 2.03, "rx": 2.4, "ry": 2.53 }, - { "label": "W", "row": 1, "col": 3, "r": 0, "x": 3.02, "y": 1.29 }, - { "label": "E", "row": 1, "col": 4, "r": 0, "x": 3.99, "y": 0.97 }, - { "label": "R", "row": 1, "col": 5, "r": 0, "x": 4.96, "y": 1.29 }, - { "label": "T", "row": 1, "col": 6, "r": 0, "x": 5.94, "y": 1.43 }, - { "label": "Y", "row": 1, "col": 10, "r": 0, "x": 10.21, "y": 1.43 }, - { "label": "U", "row": 1, "col": 11, "r": 0, "x": 11.19, "y": 1.29 }, - { "label": "I", "row": 1, "col": 12, "r": 0, "x": 12.16, "y": 0.97 }, - { "label": "O", "row": 1, "col": 13, "r": 0, "x": 13.13, "y": 1.29 }, - { "label": "P", "row": 1, "col": 14, "r": 5, "x": 14.25, "y": 2.03, "rx": 14.75, "ry": 2.53 }, - { "label": "BCSP", "row": 1, "col": 15, "r": 5, "x": 15.22, "y": 2.12, "rx": 15.72, "ry": 2.62 }, + { "label": "TAB", "row": 1, "col": 1, "r": -5, "x": 0.93, "y": 2.12, "rx": 1.43, "ry": 2.62 }, + { "label": "Q", "row": 1, "col": 2, "r": -5, "x": 1.9, "y": 2.03, "rx": 2.4, "ry": 2.53 }, + { "label": "W", "row": 1, "col": 3, "r": 0, "x": 3.02, "y": 1.29 }, + { "label": "E", "row": 1, "col": 4, "r": 0, "x": 3.99, "y": 0.97 }, + { "label": "R", "row": 1, "col": 5, "r": 0, "x": 4.96, "y": 1.29 }, + { "label": "T", "row": 1, "col": 6, "r": 0, "x": 5.94, "y": 1.43 }, + { "label": "Y", "row": 1, "col": 10, "r": 0, "x": 10.21, "y": 1.43 }, + { "label": "U", "row": 1, "col": 11, "r": 0, "x": 11.19, "y": 1.29 }, + { "label": "I", "row": 1, "col": 12, "r": 0, "x": 12.16, "y": 0.97 }, + { "label": "O", "row": 1, "col": 13, "r": 0, "x": 13.13, "y": 1.29 }, + { "label": "P", "row": 1, "col": 14, "r": 5, "x": 14.25, "y": 2.03, "rx": 14.75, "ry": 2.53 }, + { "label": "BCSP", "row": 1, "col": 15, "r": 5, "x": 15.22, "y": 2.12, "rx": 15.72, "ry": 2.62 }, - { "label": "ESC", "row": 2, "col": 0, "r": -5, "x": 0.04, "y": 3.18, "rx": 0.54, "ry": 3.68 }, - { "label": "`", "row": 2, "col": 1, "r": -5, "x": 1.01, "y": 3.09, "rx": 1.51, "ry": 3.59 }, - { "label": "A", "row": 2, "col": 2, "r": -5, "x": 1.98, "y": 3, "rx": 2.48, "ry": 3.5 }, - { "label": "S", "row": 2, "col": 3, "r": 0, "x": 3.02, "y": 2.26 }, - { "label": "D", "row": 2, "col": 4, "r": 0, "x": 3.99, "y": 1.94 }, - { "label": "F", "row": 2, "col": 5, "r": 0, "x": 4.96, "y": 2.26 }, - { "label": "G", "row": 2, "col": 6, "r": 0, "x": 5.94, "y": 2.41 }, - { "label": "H", "row": 2, "col": 10, "r": 0, "x": 10.21, "y": 2.41 }, - { "label": "J", "row": 2, "col": 11, "r": 0, "x": 11.19, "y": 2.26 }, - { "label": "K", "row": 2, "col": 12, "r": 0, "x": 12.16, "y": 1.94 }, - { "label": "L", "row": 2, "col": 13, "r": 0, "x": 13.13, "y": 2.26 }, - { "label": ";", "row": 2, "col": 14, "r": 5, "x": 14.17, "y": 3, "rx": 14.67, "ry": 3.5 }, - { "label": "'", "row": 2, "col": 15, "r": 5, "x": 15.14, "y": 3.09, "rx": 15.64, "ry": 3.59 }, + { "label": "ESC", "row": 2, "col": 0, "r": -5, "x": 0.04, "y": 3.18, "rx": 0.54, "ry": 3.68 }, + { "label": "`", "row": 2, "col": 1, "r": -5, "x": 1.01, "y": 3.09, "rx": 1.51, "ry": 3.59 }, + { "label": "A", "row": 2, "col": 2, "r": -5, "x": 1.98, "y": 3, "rx": 2.48, "ry": 3.5 }, + { "label": "S", "row": 2, "col": 3, "r": 0, "x": 3.02, "y": 2.26 }, + { "label": "D", "row": 2, "col": 4, "r": 0, "x": 3.99, "y": 1.94 }, + { "label": "F", "row": 2, "col": 5, "r": 0, "x": 4.96, "y": 2.26 }, + { "label": "G", "row": 2, "col": 6, "r": 0, "x": 5.94, "y": 2.41 }, + { "label": "H", "row": 2, "col": 10, "r": 0, "x": 10.21, "y": 2.41 }, + { "label": "J", "row": 2, "col": 11, "r": 0, "x": 11.19, "y": 2.26 }, + { "label": "K", "row": 2, "col": 12, "r": 0, "x": 12.16, "y": 1.94 }, + { "label": "L", "row": 2, "col": 13, "r": 0, "x": 13.13, "y": 2.26 }, + { "label": ";", "row": 2, "col": 14, "r": 5, "x": 14.17, "y": 3, "rx": 14.67, "ry": 3.5 }, + { "label": "'", "row": 2, "col": 15, "r": 5, "x": 15.14, "y": 3.09, "rx": 15.64, "ry": 3.59 }, { "label": "MAGIC", "row": 2, "col": 16, "r": 5, "x": 16.11, "y": 3.18, "rx": 16.61, "ry": 3.68 }, - { "label": "SHFT", "row": 3, "col": 1, "r": -5, "x": 1.09, "y": 4.05, "rx": 1.59, "ry": 4.55 }, - { "label": "Z", "row": 3, "col": 2, "r": -5, "x": 2.06, "y": 3.97, "rx": 2.56, "ry": 4.47 }, - { "label": "X", "row": 3, "col": 3, "r": 0, "x": 3.02, "y": 3.23 }, - { "label": "C", "row": 3, "col": 4, "r": 0, "x": 3.99, "y": 2.91 }, - { "label": "V", "row": 3, "col": 5, "r": 0, "x": 4.96, "y": 3.23 }, - { "label": "B", "row": 3, "col": 6, "r": 0, "x": 5.94, "y": 3.38 }, - { "label": "MUTE", "row": 3, "col": 7, "r": 0, "x": 6.94, "y": 3.38 }, + { "label": "SHFT", "row": 3, "col": 1, "r": -5, "x": 1.09, "y": 4.05, "rx": 1.59, "ry": 4.55 }, + { "label": "Z", "row": 3, "col": 2, "r": -5, "x": 2.06, "y": 3.97, "rx": 2.56, "ry": 4.47 }, + { "label": "X", "row": 3, "col": 3, "r": 0, "x": 3.02, "y": 3.23 }, + { "label": "C", "row": 3, "col": 4, "r": 0, "x": 3.99, "y": 2.91 }, + { "label": "V", "row": 3, "col": 5, "r": 0, "x": 4.96, "y": 3.23 }, + { "label": "B", "row": 3, "col": 6, "r": 0, "x": 5.94, "y": 3.38 }, + { "label": "MUTE", "row": 3, "col": 7, "r": 0, "x": 6.94, "y": 3.38 }, { "label": "PAUSE", "row": 3, "col": 9, "r": 0, "x": 9.21, "y": 3.38 }, - { "label": "N", "row": 3, "col": 10, "r": 0, "x": 10.21, "y": 3.38 }, - { "label": "M", "row": 3, "col": 11, "r": 0, "x": 11.19, "y": 3.23 }, - { "label": ",", "row": 3, "col": 12, "r": 0, "x": 12.16, "y": 2.91 }, - { "label": ".", "row": 3, "col": 13, "r": 0, "x": 13.13, "y": 3.23 }, - { "label": "/", "row": 3, "col": 14, "r": 5, "x": 14.09, "y": 3.97, "rx": 14.59, "ry": 4.47 }, - { "label": "SHFT", "row": 3, "col": 15, "r": 5, "x": 15.06, "y": 4.05, "rx": 15.56, "ry": 4.55 }, + { "label": "N", "row": 3, "col": 10, "r": 0, "x": 10.21, "y": 3.38 }, + { "label": "M", "row": 3, "col": 11, "r": 0, "x": 11.19, "y": 3.23 }, + { "label": ",", "row": 3, "col": 12, "r": 0, "x": 12.16, "y": 2.91 }, + { "label": ".", "row": 3, "col": 13, "r": 0, "x": 13.13, "y": 3.23 }, + { "label": "/", "row": 3, "col": 14, "r": 5, "x": 14.09, "y": 3.97, "rx": 14.59, "ry": 4.47 }, + { "label": "SHFT", "row": 3, "col": 15, "r": 5, "x": 15.06, "y": 4.05, "rx": 15.56, "ry": 4.55 }, - { "label": "GUI", "row": 4, "col": 4, "r": 0, "x": 3.99, "y": 3.89 }, - { "label": "ALT", "row": 4, "col": 5, "r": 0, "x": 4.96, "y": 4.21 }, - { "label": "MOD", "row": 4, "col": 6, "r": 15, "x": 6.04, "y": 4.46, "rx": 6.54, "ry": 4.96 }, - { "label": "SPC", "row": 4, "col": 7, "r": 30, "x": 7.08, "y": 4.83, "rx": 7.58, "ry": 5.58, "h": 1.5 }, - { "label": "RET", "row": 4, "col": 9, "r": -30, "x": 9.08, "y": 4.83, "rx": 9.58, "ry": 5.58, "h": 1.5 }, - { "label": "MOD", "row": 4, "col": 10, "r": -15, "x": 10.11, "y": 4.46, "rx": 10.61, "ry": 4.96 }, - { "label": "ALT", "row": 4, "col": 11, "r": 0, "x": 11.19, "y": 4.21 }, - { "label": "GUI", "row": 4, "col": 12, "r": 0, "x": 12.16, "y": 3.89 } + { "label": "GUI", "row": 4, "col": 4, "r": 0, "x": 3.99, "y": 3.89 }, + { "label": "ALT", "row": 4, "col": 5, "r": 0, "x": 4.96, "y": 4.21 }, + { "label": "MOD", "row": 4, "col": 6, "r": 15, "x": 6.04, "y": 4.46, "rx": 6.54, "ry": 4.96 }, + { "label": "SPC", "row": 4, "col": 7, "r": 30, "x": 7.08, "y": 4.83, "rx": 7.58, "ry": 5.58, "h": 1.5 }, + { "label": "RET", "row": 4, "col": 9, "r": -30, "x": 9.08, "y": 4.83, "rx": 9.58, "ry": 5.58, "h": 1.5 }, + { "label": "MOD", "row": 4, "col": 10, "r": -15, "x": 10.11, "y": 4.46, "rx": 10.61, "ry": 4.96 }, + { "label": "ALT", "row": 4, "col": 11, "r": 0, "x": 11.19, "y": 4.21 }, + { "label": "GUI", "row": 4, "col": 12, "r": 0, "x": 12.16, "y": 3.89 } ] } - } -} + }, + "sensors": [ + { + "ref": "encoder_left", + "name": "encoder_left", + "identifier": "encoder_left", + "compatible": "alps,ec11", + "label": "LEFT_ENCODER", + "enabled": false + }, + { + "ref": "encoder_right", + "name": "encoder_right", + "identifier": "encoder_right", + "compatible": "alps,ec11", + "label": "RIGHT_ENCODER", + "enabled": false + } + ] +} \ No newline at end of file