From aebe90908df58e332186f3152f67fbdc9f0d3ffb Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Tue, 3 Nov 2020 11:36:01 +0000 Subject: [PATCH] test: Replace superseded key names in test keymaps Replace deprecated key names (LSFT, LCTL, RCTL, M_NEXT). Replace abbreviated names with fully qualified names (LSFT, LCTL, LALT, LGUI, RGUI). Follow-up to #21. --- app/tests/hold-tap/balanced/behavior_keymap.dtsi | 4 ++-- app/tests/hold-tap/balanced/many-nested/native_posix.keymap | 4 ++-- app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi | 4 ++-- app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi | 4 ++-- app/tests/keypress/behavior_keymap.dtsi | 2 +- .../kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix.keymap | 4 ++-- .../modifiers/explicit/kp-lctl-dn-lctl-up/native_posix.keymap | 4 ++-- .../kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix.keymap | 4 ++-- .../kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix.keymap | 4 ++-- .../kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix.keymap | 2 +- .../kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix.keymap | 2 +- .../kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix.keymap | 2 +- app/tests/momentary-layer/behavior_keymap.dtsi | 2 +- app/tests/toggle-layer/behavior_keymap.dtsi | 2 +- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/app/tests/hold-tap/balanced/behavior_keymap.dtsi b/app/tests/hold-tap/balanced/behavior_keymap.dtsi index df56fb5b..7d18bb6e 100644 --- a/app/tests/hold-tap/balanced/behavior_keymap.dtsi +++ b/app/tests/hold-tap/balanced/behavior_keymap.dtsi @@ -20,8 +20,8 @@ default_layer { bindings = < - &ht_bal LSFT F &ht_bal LCTL J - &kp D &kp RCTL>; + &ht_bal LEFT_SHIFT F &ht_bal LEFT_CONTROL J + &kp D &kp RIGHT_CONTROL>; }; }; }; diff --git a/app/tests/hold-tap/balanced/many-nested/native_posix.keymap b/app/tests/hold-tap/balanced/many-nested/native_posix.keymap index 3cb04c34..f51ffb56 100644 --- a/app/tests/hold-tap/balanced/many-nested/native_posix.keymap +++ b/app/tests/hold-tap/balanced/many-nested/native_posix.keymap @@ -20,8 +20,8 @@ default_layer { bindings = < - &ht_bal LSFT F &ht_bal LCTL J - &ht_bal LGUI H &ht_bal LALT L + &ht_bal LEFT_SHIFT F &ht_bal LEFT_CONTROL J + &ht_bal LEFT_GUI H &ht_bal LEFT_ALT L >; }; }; diff --git a/app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi b/app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi index 375ffd93..64847a57 100644 --- a/app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi +++ b/app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi @@ -22,8 +22,8 @@ default_layer { bindings = < - &ht_hold LSFT F &ht_hold LCTL J - &kp D &kp RCTL>; + &ht_hold LEFT_SHIFT F &ht_hold LEFT_CONTROL J + &kp D &kp RIGHT_CONTROL>; }; }; }; diff --git a/app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi b/app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi index e514fa65..6e91466d 100644 --- a/app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi +++ b/app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi @@ -20,8 +20,8 @@ default_layer { bindings = < - &tp LSFT F &tp LCTL J - &kp D &kp RCTL>; + &tp LEFT_SHIFT F &tp LEFT_CONTROL J + &kp D &kp RIGHT_CONTROL>; }; }; }; diff --git a/app/tests/keypress/behavior_keymap.dtsi b/app/tests/keypress/behavior_keymap.dtsi index 3a458092..2e45ca09 100644 --- a/app/tests/keypress/behavior_keymap.dtsi +++ b/app/tests/keypress/behavior_keymap.dtsi @@ -10,7 +10,7 @@ default_layer { bindings = < &kp B &none - &cp M_NEXT &none>; + &cp C_NEXT &none>; }; }; }; diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix.keymap b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix.keymap index 61500946..1f3502d6 100644 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix.keymap +++ b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix.keymap @@ -19,8 +19,8 @@ default_layer { bindings = < - &kp LCTL &kp LCTL - &kp LSFT &none + &kp LEFT_CONTROL &kp LEFT_CONTROL + &kp LEFT_SHIFT &none >; }; }; diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix.keymap b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix.keymap index 3324584d..9c7d7c83 100644 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix.keymap +++ b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix.keymap @@ -17,8 +17,8 @@ default_layer { bindings = < - &kp LCTL &kp LCTL - &kp LSFT &none + &kp LEFT_CONTROL &kp LEFT_CONTROL + &kp LEFT_SHIFT &none >; }; }; diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix.keymap b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix.keymap index b6f96311..34bb522b 100644 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix.keymap +++ b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix.keymap @@ -19,8 +19,8 @@ default_layer { bindings = < - &kp LCTL &kp LCTL - &kp LSFT &none + &kp LEFT_CONTROL &kp LEFT_CONTROL + &kp LEFT_SHIFT &none >; }; }; diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix.keymap b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix.keymap index 3fedad25..68e4de73 100644 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix.keymap +++ b/app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix.keymap @@ -20,8 +20,8 @@ default_layer { bindings = < - &kp LCTL &kp LCTL - &kp LSFT &none + &kp LEFT_CONTROL &kp LEFT_CONTROL + &kp LEFT_SHIFT &none >; }; }; diff --git a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix.keymap b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix.keymap index c603c009..73fa7cc8 100644 --- a/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix.keymap +++ b/app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix.keymap @@ -20,7 +20,7 @@ default_layer { bindings = < &kp LC(A) &kp LS(B) - &kp LCTL &none + &kp LEFT_CONTROL &none >; }; }; diff --git a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix.keymap b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix.keymap index d381e4bf..09816d94 100644 --- a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix.keymap +++ b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix.keymap @@ -20,7 +20,7 @@ default_layer { bindings = < &kp LC(A) &kp LS(B) - &kp LCTL &none + &kp LEFT_CONTROL &none >; }; }; diff --git a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix.keymap b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix.keymap index b47b5f7e..1de00a0e 100644 --- a/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix.keymap +++ b/app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix.keymap @@ -20,7 +20,7 @@ default_layer { bindings = < &kp LC(A) &kp LS(B) - &kp LCTL &none + &kp LEFT_CONTROL &none >; }; }; diff --git a/app/tests/momentary-layer/behavior_keymap.dtsi b/app/tests/momentary-layer/behavior_keymap.dtsi index 34c445cf..cdc37a79 100644 --- a/app/tests/momentary-layer/behavior_keymap.dtsi +++ b/app/tests/momentary-layer/behavior_keymap.dtsi @@ -15,7 +15,7 @@ lower_layer { bindings = < - &cp M_NEXT &trans + &cp C_NEXT &trans &kp L &kp J>; }; diff --git a/app/tests/toggle-layer/behavior_keymap.dtsi b/app/tests/toggle-layer/behavior_keymap.dtsi index d2b41a9a..5098785d 100644 --- a/app/tests/toggle-layer/behavior_keymap.dtsi +++ b/app/tests/toggle-layer/behavior_keymap.dtsi @@ -15,7 +15,7 @@ lower_layer { bindings = < - &cp M_NEXT &trans + &cp C_NEXT &trans &kp L &kp J>; };