summaryrefslogtreecommitdiff
path: root/app/tests
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-11-03 11:36:01 +0000
committerPete Johanson <peter@peterjohanson.com>2020-11-03 23:50:54 -0500
commitaebe90908df58e332186f3152f67fbdc9f0d3ffb (patch)
tree42e30c8c8598ec8f9521c855df738ad2b5003483 /app/tests
parentd748d8a7496ea436a7e643245dbefb7b9c99d0cb (diff)
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.
Diffstat (limited to 'app/tests')
-rw-r--r--app/tests/hold-tap/balanced/behavior_keymap.dtsi4
-rw-r--r--app/tests/hold-tap/balanced/many-nested/native_posix.keymap4
-rw-r--r--app/tests/hold-tap/hold-preferred/behavior_keymap.dtsi4
-rw-r--r--app/tests/hold-tap/tap-preferred/behavior_keymap.dtsi4
-rw-r--r--app/tests/keypress/behavior_keymap.dtsi2
-rw-r--r--app/tests/modifiers/explicit/kp-lctl-dn-lctl-dn-lctl-up-lctl-up/native_posix.keymap4
-rw-r--r--app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/native_posix.keymap4
-rw-r--r--app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lctl-up-lsft-up/native_posix.keymap4
-rw-r--r--app/tests/modifiers/explicit/kp-lctl-dn-lsft-dn-lsft-up-lctl-up/native_posix.keymap4
-rw-r--r--app/tests/modifiers/implicit/kp-mod1-dn-mod2-dn-mod1-up-mod2-up/native_posix.keymap2
-rw-r--r--app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-lctl-up-mod-up/native_posix.keymap2
-rw-r--r--app/tests/modifiers/mixed/kp-lctl-dn-mod-dn-mod-up-lctl-up/native_posix.keymap2
-rw-r--r--app/tests/momentary-layer/behavior_keymap.dtsi2
-rw-r--r--app/tests/toggle-layer/behavior_keymap.dtsi2
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 df56fb5..7d18bb6 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 3cb04c3..f51ffb5 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 375ffd9..64847a5 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 e514fa6..6e91466 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 3a45809..2e45ca0 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 6150094..1f3502d 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 3324584..9c7d7c8 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 b6f9631..34bb522 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 3fedad2..68e4de7 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 c603c00..73fa7cc 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 d381e4b..09816d9 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 b47b5f7..1de00a0 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 34c445c..cdc37a7 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 d2b41a9..5098785 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>;
};