aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/tests
diff options
context:
space:
mode:
authorAndrew Rae <[email protected]>2023-09-24 09:38:45 -0400
committerPete Johanson <[email protected]>2023-10-03 01:12:47 -0700
commitb85ffa4b6cfb5e2a8c735534ac1b46dc52f8ad86 (patch)
tree45a369c92fb78aea8ee06d8871ebeed96cac83cb /app/tests
parent49c393e8f80701a8736b3e07bf7479c5b9a6592c (diff)
downloadzmk-b85ffa4b6cfb5e2a8c735534ac1b46dc52f8ad86.tar.gz
zmk-b85ffa4b6cfb5e2a8c735534ac1b46dc52f8ad86.zip
refactor(behaviors): global-quick-tap -> require-prior-idle
Renaming global-quick-tap-ms to require-prior-idle.
Diffstat (limited to 'app/tests')
-rw-r--r--app/tests/combo/require-prior-idle/events.patterns (renamed from app/tests/combo/global-quick-tap/events.patterns)0
-rw-r--r--app/tests/combo/require-prior-idle/keycode_events.snapshot (renamed from app/tests/combo/global-quick-tap/keycode_events.snapshot)0
-rw-r--r--app/tests/combo/require-prior-idle/native_posix_64.keymap (renamed from app/tests/combo/global-quick-tap/native_posix_64.keymap)2
-rw-r--r--app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/events.patterns (renamed from app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/events.patterns)0
-rw-r--r--app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/keycode_events.snapshot (renamed from app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/keycode_events.snapshot)0
-rw-r--r--app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/native_posix_64.keymap (renamed from app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/native_posix_64.keymap)0
-rw-r--r--app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/events.patterns (renamed from app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/events.patterns)0
-rw-r--r--app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/keycode_events.snapshot (renamed from app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/keycode_events.snapshot)0
-rw-r--r--app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/native_posix_64.keymap (renamed from app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/native_posix_64.keymap)0
-rw-r--r--app/tests/hold-tap/balanced/8-require-prior-idle/behavior_keymap.dtsi (renamed from app/tests/hold-tap/balanced/8-global-quick-tap/behavior_keymap.dtsi)2
-rw-r--r--app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/events.patterns (renamed from app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/events.patterns)0
-rw-r--r--app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot (renamed from app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/keycode_events.snapshot)0
-rw-r--r--app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap (renamed from app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap)0
-rw-r--r--app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/events.patterns (renamed from app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/events.patterns)0
-rw-r--r--app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot (renamed from app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/keycode_events.snapshot)0
-rw-r--r--app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap (renamed from app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/native_posix_64.keymap)0
-rw-r--r--app/tests/hold-tap/hold-preferred/8-require-prior-idle/behavior_keymap.dtsi (renamed from app/tests/hold-tap/hold-preferred/8-global-quick-tap/behavior_keymap.dtsi)2
-rw-r--r--app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/events.patterns (renamed from app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/events.patterns)0
-rw-r--r--app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot (renamed from app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/keycode_events.snapshot)0
-rw-r--r--app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap (renamed from app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap)0
-rw-r--r--app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/events.patterns (renamed from app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/events.patterns)0
-rw-r--r--app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot (renamed from app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/keycode_events.snapshot)0
-rw-r--r--app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap (renamed from app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/native_posix_64.keymap)0
-rw-r--r--app/tests/hold-tap/tap-preferred/8-require-prior-idle/behavior_keymap.dtsi (renamed from app/tests/hold-tap/tap-preferred/8-global-quick-tap/behavior_keymap.dtsi)2
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/events.patterns (renamed from app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/events.patterns)0
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/keycode_events.snapshot (renamed from app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/keycode_events.snapshot)0
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/native_posix_64.keymap (renamed from app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/native_posix_64.keymap)0
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/events.patterns (renamed from app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/events.patterns)0
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/keycode_events.snapshot (renamed from app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/keycode_events.snapshot)0
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/native_posix_64.keymap (renamed from app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/native_posix_64.keymap)0
-rw-r--r--app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/behavior_keymap.dtsi (renamed from app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/behavior_keymap.dtsi)2
31 files changed, 5 insertions, 5 deletions
diff --git a/app/tests/combo/global-quick-tap/events.patterns b/app/tests/combo/require-prior-idle/events.patterns
index 833100f6ac..833100f6ac 100644
--- a/app/tests/combo/global-quick-tap/events.patterns
+++ b/app/tests/combo/require-prior-idle/events.patterns
diff --git a/app/tests/combo/global-quick-tap/keycode_events.snapshot b/app/tests/combo/require-prior-idle/keycode_events.snapshot
index ee4dd064c6..ee4dd064c6 100644
--- a/app/tests/combo/global-quick-tap/keycode_events.snapshot
+++ b/app/tests/combo/require-prior-idle/keycode_events.snapshot
diff --git a/app/tests/combo/global-quick-tap/native_posix_64.keymap b/app/tests/combo/require-prior-idle/native_posix_64.keymap
index 92b5a8ae88..206b230a7f 100644
--- a/app/tests/combo/global-quick-tap/native_posix_64.keymap
+++ b/app/tests/combo/require-prior-idle/native_posix_64.keymap
@@ -9,7 +9,7 @@
timeout-ms = <50>;
key-positions = <0 1>;
bindings = <&kp X>;
- global-quick-tap-ms = <100>;
+ require-prior-idle-ms = <100>;
};
combo_two {
diff --git a/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/events.patterns b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/events.patterns
index 4db21917ca..4db21917ca 100644
--- a/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/events.patterns
+++ b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/events.patterns
diff --git a/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/keycode_events.snapshot b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/keycode_events.snapshot
index 4c4b3296b0..4c4b3296b0 100644
--- a/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/keycode_events.snapshot
+++ b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/keycode_events.snapshot
diff --git a/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/native_posix_64.keymap b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/native_posix_64.keymap
index cdbe51bfe3..cdbe51bfe3 100644
--- a/app/tests/hold-tap/balanced/8-global-quick-tap/1-basic/native_posix_64.keymap
+++ b/app/tests/hold-tap/balanced/8-require-prior-idle/1-basic/native_posix_64.keymap
diff --git a/app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/events.patterns b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/events.patterns
index 4db21917ca..4db21917ca 100644
--- a/app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/events.patterns
+++ b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/events.patterns
diff --git a/app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/keycode_events.snapshot b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/keycode_events.snapshot
index 0528e2137e..0528e2137e 100644
--- a/app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/keycode_events.snapshot
+++ b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/keycode_events.snapshot
diff --git a/app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/native_posix_64.keymap b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/native_posix_64.keymap
index 69d691cee8..69d691cee8 100644
--- a/app/tests/hold-tap/balanced/8-global-quick-tap/2-double-hold/native_posix_64.keymap
+++ b/app/tests/hold-tap/balanced/8-require-prior-idle/2-double-hold/native_posix_64.keymap
diff --git a/app/tests/hold-tap/balanced/8-global-quick-tap/behavior_keymap.dtsi b/app/tests/hold-tap/balanced/8-require-prior-idle/behavior_keymap.dtsi
index 8fa363a22e..670bdcc265 100644
--- a/app/tests/hold-tap/balanced/8-global-quick-tap/behavior_keymap.dtsi
+++ b/app/tests/hold-tap/balanced/8-require-prior-idle/behavior_keymap.dtsi
@@ -11,7 +11,7 @@
flavor = "balanced";
tapping-term-ms = <300>;
quick-tap-ms = <300>;
- global-quick-tap-ms = <100>;
+ require-prior-idle-ms = <100>;
bindings = <&kp>, <&kp>;
};
};
diff --git a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/events.patterns b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/events.patterns
index 4db21917ca..4db21917ca 100644
--- a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/events.patterns
+++ b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/events.patterns
diff --git a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot
index 22c7f64b20..22c7f64b20 100644
--- a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/keycode_events.snapshot
+++ b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot
diff --git a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap
index a7ba7304c3..a7ba7304c3 100644
--- a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap
+++ b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap
diff --git a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/events.patterns b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/events.patterns
index 4db21917ca..4db21917ca 100644
--- a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/events.patterns
+++ b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/events.patterns
diff --git a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/keycode_events.snapshot b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot
index fb65b8cee4..fb65b8cee4 100644
--- a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/keycode_events.snapshot
+++ b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot
diff --git a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap
index 69d691cee8..69d691cee8 100644
--- a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/2-double-hold/native_posix_64.keymap
+++ b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap
diff --git a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/behavior_keymap.dtsi b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/behavior_keymap.dtsi
index 8b162bd6a1..a99eb3f56f 100644
--- a/app/tests/hold-tap/hold-preferred/8-global-quick-tap/behavior_keymap.dtsi
+++ b/app/tests/hold-tap/hold-preferred/8-require-prior-idle/behavior_keymap.dtsi
@@ -11,7 +11,7 @@
flavor = "hold-preferred";
tapping-term-ms = <300>;
quick-tap-ms = <300>;
- global-quick-tap-ms = <100>;
+ require-prior-idle-ms = <100>;
bindings = <&kp>, <&kp>;
};
};
diff --git a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/events.patterns b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/events.patterns
index 4db21917ca..4db21917ca 100644
--- a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/events.patterns
+++ b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/events.patterns
diff --git a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot
index 84522da3d6..84522da3d6 100644
--- a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/keycode_events.snapshot
+++ b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/keycode_events.snapshot
diff --git a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap
index cdbe51bfe3..cdbe51bfe3 100644
--- a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/1-basic/native_posix_64.keymap
+++ b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/1-basic/native_posix_64.keymap
diff --git a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/events.patterns b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/events.patterns
index 4db21917ca..4db21917ca 100644
--- a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/events.patterns
+++ b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/events.patterns
diff --git a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/keycode_events.snapshot b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot
index 756dcf2e83..756dcf2e83 100644
--- a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/keycode_events.snapshot
+++ b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/keycode_events.snapshot
diff --git a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/native_posix_64.keymap b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap
index 068ae81a8c..068ae81a8c 100644
--- a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/2-double-hold/native_posix_64.keymap
+++ b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/2-double-hold/native_posix_64.keymap
diff --git a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/behavior_keymap.dtsi b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/behavior_keymap.dtsi
index 9268da077a..c66dc93409 100644
--- a/app/tests/hold-tap/tap-preferred/8-global-quick-tap/behavior_keymap.dtsi
+++ b/app/tests/hold-tap/tap-preferred/8-require-prior-idle/behavior_keymap.dtsi
@@ -11,7 +11,7 @@
flavor = "tap-preferred";
tapping-term-ms = <300>;
quick-tap-ms = <300>;
- global-quick-tap-ms = <100>;
+ require-prior-idle-ms = <100>;
bindings = <&kp>, <&kp>;
};
};
diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/events.patterns
index 4db21917ca..4db21917ca 100644
--- a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/events.patterns
+++ b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/events.patterns
diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/keycode_events.snapshot
index 03bc028906..03bc028906 100644
--- a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/keycode_events.snapshot
+++ b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/keycode_events.snapshot
diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/native_posix_64.keymap
index cdbe51bfe3..cdbe51bfe3 100644
--- a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/1-basic/native_posix_64.keymap
+++ b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/1-basic/native_posix_64.keymap
diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/events.patterns b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/events.patterns
index 4db21917ca..4db21917ca 100644
--- a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/events.patterns
+++ b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/events.patterns
diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/keycode_events.snapshot b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/keycode_events.snapshot
index bf3ab9c058..bf3ab9c058 100644
--- a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/keycode_events.snapshot
+++ b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/keycode_events.snapshot
diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/native_posix_64.keymap b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/native_posix_64.keymap
index 69d691cee8..69d691cee8 100644
--- a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/2-double-hold/native_posix_64.keymap
+++ b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/2-double-hold/native_posix_64.keymap
diff --git a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/behavior_keymap.dtsi b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/behavior_keymap.dtsi
index 0ee84a0d90..7aa3940833 100644
--- a/app/tests/hold-tap/tap-unless-interrupted/6-global-quick-tap/behavior_keymap.dtsi
+++ b/app/tests/hold-tap/tap-unless-interrupted/6-require-prior-idle/behavior_keymap.dtsi
@@ -11,7 +11,7 @@
flavor = "tap-unless-interrupted";
tapping-term-ms = <300>;
quick-tap-ms = <300>;
- global-quick-tap-ms = <100>;
+ require-prior-idle-ms = <100>;
bindings = <&kp>, <&kp>;
};
};