aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/tests/momentary-layer
diff options
context:
space:
mode:
authorCody McGinnis <[email protected]>2020-08-28 16:21:31 -0400
committerCody McGinnis <[email protected]>2020-08-28 16:21:31 -0400
commitde92bf2b2de4a895dd36cffb549772f48428a0db (patch)
treeac684c43d125e03b6e30a560ea57bb0174473979 /app/tests/momentary-layer
parentf1224422c502cb86c9138c42e28eb645fe62272f (diff)
downloadzmk-de92bf2b2de4a895dd36cffb549772f48428a0db.tar.gz
zmk-de92bf2b2de4a895dd36cffb549772f48428a0db.zip
fix(test): use a smaller value for mock key intervals
Diffstat (limited to 'app/tests/momentary-layer')
-rw-r--r--app/tests/momentary-layer/early-key-release/native_posix.keymap2
-rw-r--r--app/tests/momentary-layer/normal/native_posix.keymap2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/tests/momentary-layer/early-key-release/native_posix.keymap b/app/tests/momentary-layer/early-key-release/native_posix.keymap
index a58ad26c9d..e7628c0efc 100644
--- a/app/tests/momentary-layer/early-key-release/native_posix.keymap
+++ b/app/tests/momentary-layer/early-key-release/native_posix.keymap
@@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi"
&kscan {
- events = <ZMK_MOCK_PRESS(0,0,0) ZMK_MOCK_PRESS(0,1,100) ZMK_MOCK_RELEASE(0,0,200) ZMK_MOCK_RELEASE(0,1,300)>;
+ events = <ZMK_MOCK_PRESS(0,0,10) ZMK_MOCK_PRESS(0,1,10) ZMK_MOCK_RELEASE(0,0,10) ZMK_MOCK_RELEASE(0,1,10)>;
}; \ No newline at end of file
diff --git a/app/tests/momentary-layer/normal/native_posix.keymap b/app/tests/momentary-layer/normal/native_posix.keymap
index 1b678585e3..7f736904e6 100644
--- a/app/tests/momentary-layer/normal/native_posix.keymap
+++ b/app/tests/momentary-layer/normal/native_posix.keymap
@@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi"
&kscan {
- events = <ZMK_MOCK_PRESS(0,1,0) ZMK_MOCK_PRESS(0,0,100) ZMK_MOCK_RELEASE(0,0,200) ZMK_MOCK_RELEASE(0,1,300)>;
+ events = <ZMK_MOCK_PRESS(0,1,10) ZMK_MOCK_PRESS(0,0,10) ZMK_MOCK_RELEASE(0,0,10) ZMK_MOCK_RELEASE(0,1,10)>;
}; \ No newline at end of file