diff options
| author | mantas <mantas@tarakonas.lt> | 2021-01-30 14:03:00 +0200 |
|---|---|---|
| committer | Pete Johanson <peter@peterjohanson.com> | 2021-02-03 23:49:59 -0500 |
| commit | b4d63fb52cde20f910e0bd05724e80370c441981 (patch) | |
| tree | 036a9895686f2f3a143fd7c1022b2891dcd7659c /app/boards/shields/crbn/crbn.keymap | |
| parent | c94943da1c31c295c063811336cb3a7bee983ccc (diff) | |
feat(shields) Add encoder support to CRBN
Pin A maps to A2 (F5), pin B to A3 (F4).
Added keymappings to encoder on default and lower layers.
Diffstat (limited to 'app/boards/shields/crbn/crbn.keymap')
| -rw-r--r-- | app/boards/shields/crbn/crbn.keymap | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/boards/shields/crbn/crbn.keymap b/app/boards/shields/crbn/crbn.keymap index 023d3ec..d9aeaa9 100644 --- a/app/boards/shields/crbn/crbn.keymap +++ b/app/boards/shields/crbn/crbn.keymap @@ -24,6 +24,8 @@ &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp BSLH &kp RET &trans &kp LGUI &kp LALT &kp LCTRL &mo 1 &kp SPACE &trans &mo 2 &kp LEFT &kp DOWN &kp UP &kp RIGHT >; + + sensor-bindings = <&inc_dec_kp PG_UP PG_DN>; }; lower { @@ -33,6 +35,8 @@ &trans &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp LS(HASH) &kp LS(BSLH) &kp HOME &kp END &trans &trans &trans &trans &trans &trans &trans &trans &mo 3 &kp C_NEXT &kp C_VOL_DN &kp C_VOL_UP &kp C_PP >; + + sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>; }; raise { @@ -43,6 +47,7 @@ &trans &trans &trans &trans &mo 3 &trans &trans &trans &kp C_NEXT &kp C_VOL_DN &kp C_VOL_UP &kp C_PP >; }; + control { bindings = < &reset &bootloader &bt BT_CLR &bt BT_PRV &bt BT_NXT &trans &trans &trans &trans &trans &trans &trans |
