From a4dc92a2b9e1838287d7f9bf8a8551e8dfdf2864 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Wed, 4 Nov 2020 16:56:22 -0500 Subject: [PATCH] refactor: Replace use of `cp` with `kp` for shields. --- app/boards/shields/boardsource3x4/boardsource3x4.keymap | 4 ++-- app/boards/shields/kyria/kyria.keymap | 2 +- app/boards/shields/lily58/lily58.keymap | 6 +++--- app/boards/shields/nibble/nibble.keymap | 6 +++--- app/boards/shields/romac_plus/romac_plus.keymap | 4 ++-- app/boards/shields/sofle/sofle.keymap | 8 ++++---- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/boards/shields/boardsource3x4/boardsource3x4.keymap b/app/boards/shields/boardsource3x4/boardsource3x4.keymap index dfeeadef..3b76863d 100644 --- a/app/boards/shields/boardsource3x4/boardsource3x4.keymap +++ b/app/boards/shields/boardsource3x4/boardsource3x4.keymap @@ -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 >; diff --git a/app/boards/shields/kyria/kyria.keymap b/app/boards/shields/kyria/kyria.keymap index ac0d13f0..a05f6cef 100644 --- a/app/boards/shields/kyria/kyria.keymap +++ b/app/boards/shields/kyria/kyria.keymap @@ -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>; }; }; }; diff --git a/app/boards/shields/lily58/lily58.keymap b/app/boards/shields/lily58/lily58.keymap index d44b3fe8..73ade143 100644 --- a/app/boards/shields/lily58/lily58.keymap +++ b/app/boards/shields/lily58/lily58.keymap @@ -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 @@ &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 @@ &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>; }; }; }; diff --git a/app/boards/shields/nibble/nibble.keymap b/app/boards/shields/nibble/nibble.keymap index dd37ad90..f88d9144 100644 --- a/app/boards/shields/nibble/nibble.keymap +++ b/app/boards/shields/nibble/nibble.keymap @@ -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 @@ &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 >; }; }; diff --git a/app/boards/shields/romac_plus/romac_plus.keymap b/app/boards/shields/romac_plus/romac_plus.keymap index d8d1f787..2c1929da 100644 --- a/app/boards/shields/romac_plus/romac_plus.keymap +++ b/app/boards/shields/romac_plus/romac_plus.keymap @@ -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 { diff --git a/app/boards/shields/sofle/sofle.keymap b/app/boards/shields/sofle/sofle.keymap index e2ebc1aa..0bebb781 100644 --- a/app/boards/shields/sofle/sofle.keymap +++ b/app/boards/shields/sofle/sofle.keymap @@ -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 @@ &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 @@ &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>; }; }; };