Browse Source

refactor: Replace use of `cp` with `kp` for shields.

xmkb
Pete Johanson 4 years ago
parent
commit
a4dc92a2b9
  1. 4
      app/boards/shields/boardsource3x4/boardsource3x4.keymap
  2. 2
      app/boards/shields/kyria/kyria.keymap
  3. 6
      app/boards/shields/lily58/lily58.keymap
  4. 6
      app/boards/shields/nibble/nibble.keymap
  5. 4
      app/boards/shields/romac_plus/romac_plus.keymap
  6. 8
      app/boards/shields/sofle/sofle.keymap

4
app/boards/shields/boardsource3x4/boardsource3x4.keymap

@ -15,8 +15,8 @@ @@ -15,8 +15,8 @@
default_layer {
bindings = <
&tog 1 &cp M_PREV &cp M_PLAY &cp M_NEXT
&mo 2 &cp M_VOLD &kp UARW &cp M_VOLU
&tog 1 &kp M_PREV &kp M_PLAY &kp M_NEXT
&mo 2 &kp M_VOLD &kp UARW &kp M_VOLU
&mo 3 &kp LARW &kp DARW &kp RARW
>;

2
app/boards/shields/kyria/kyria.keymap

@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
&kp LGUI &kp DEL &kp RET &kp SPC &kp ESC &kp RET &kp SPC &kp TAB &kp BKSP &kp RALT
>;
sensor-bindings = <&inc_dec_cp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>;
sensor-bindings = <&inc_dec_kp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>;
};
};
};

6
app/boards/shields/lily58/lily58.keymap

@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
&kp LALT &kp LGUI &mo 1 &kp SPC &kp RET &mo 2 &kp BKSP &kp RGUI
>;
sensor-bindings = <&inc_dec_cp M_VOLU M_VOLD>;
sensor-bindings = <&inc_dec_kp M_VOLU M_VOLD>;
};
lower_layer {
@ -46,7 +46,7 @@ @@ -46,7 +46,7 @@
&trans &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_cp M_VOLU M_VOLD>;
sensor-bindings = <&inc_dec_kp M_VOLU M_VOLD>;
};
raise_layer {
@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@
&trans &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_cp M_VOLU M_VOLD>;
sensor-bindings = <&inc_dec_kp M_VOLU M_VOLD>;
};
};
};

6
app/boards/shields/nibble/nibble.keymap

@ -18,8 +18,8 @@ @@ -18,8 +18,8 @@
default_layer {
bindings = <
&kp ESC &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0 &kp MINUS &kp EQL &kp BKSP &kp HOME
&cp M_VOLU &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp DEL
&cp M_VOLD &kp CLCK &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SCLN &kp QUOT &kp RET &kp PGUP
&kp M_VOLU &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp DEL
&kp M_VOLD &kp CLCK &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SCLN &kp QUOT &kp RET &kp PGUP
&trans &kp LSFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &kp FSLH &kp RSFT &kp UARW &kp PGDN
&trans &kp LCTL &kp LGUI &kp LALT &kp SPC &mo FUNC &kp RALT &kp RCTL &kp LARW &kp DARW &kp RARW
>;
@ -30,7 +30,7 @@ @@ -30,7 +30,7 @@
&bt BT_CLR &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &bootloader
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_PRV &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_NXT &trans &trans &trans &trans &trans &trans &trans &cp M_PREV &cp M_PLAY &cp M_NEXT
&bt BT_NXT &trans &trans &trans &trans &trans &trans &trans &kp M_PREV &kp M_PLAY &kp M_NEXT
>;
};
};

4
app/boards/shields/romac_plus/romac_plus.keymap

@ -23,10 +23,10 @@ @@ -23,10 +23,10 @@
&kp NUM_7 &kp NUM_8 &kp NUM_9
&kp NUM_4 &kp NUM_5 &kp NUM_6
&kp NUM_1 &kp NUM_2 &kp NUM_3
&cp M_PLAY &kp NUM_0 &mo 1
&kp M_PLAY &kp NUM_0 &mo 1
>;
sensor-bindings = <&inc_dec_cp M_NEXT M_PREV>;
sensor-bindings = <&inc_dec_kp M_NEXT M_PREV>;
};
nav_layer {

8
app/boards/shields/sofle/sofle.keymap

@ -23,11 +23,11 @@ @@ -23,11 +23,11 @@
&kp GRAV &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0 &none
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BKSP
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SCLN &kp QUOT
&kp LSFT &kp Z &kp X &kp C &kp V &kp B &cp M_MUTE &none &kp N &kp M &kp CMMA &kp DOT &kp FSLH &kp RSFT
&kp LSFT &kp Z &kp X &kp C &kp V &kp B &kp M_MUTE &none &kp N &kp M &kp CMMA &kp DOT &kp FSLH &kp RSFT
&kp LGUI &kp LALT &kp LCTL &mo 1 &kp RET &kp SPC &mo 2 &kp RCTL &kp RALT &kp RGUI
>;
sensor-bindings = <&inc_dec_cp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>;
sensor-bindings = <&inc_dec_kp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>;
};
lower_layer {
@ -46,7 +46,7 @@ @@ -46,7 +46,7 @@
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_cp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>;
sensor-bindings = <&inc_dec_kp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>;
};
raise_layer {
@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_cp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>;
sensor-bindings = <&inc_dec_kp M_VOLU M_VOLD &inc_dec_kp PGUP PGDN>;
};
};
};

Loading…
Cancel
Save