summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorCody McGinnis <brainwart@gmail.com>2020-08-28 16:21:31 -0400
committerCody McGinnis <brainwart@gmail.com>2020-08-28 16:21:31 -0400
commitde92bf2b2de4a895dd36cffb549772f48428a0db (patch)
treeac684c43d125e03b6e30a560ea57bb0174473979 /app
parentf1224422c502cb86c9138c42e28eb645fe62272f (diff)
fix(test): use a smaller value for mock key intervals
Diffstat (limited to 'app')
-rw-r--r--app/tests/keypress/cp-press-release/native_posix.keymap2
-rw-r--r--app/tests/keypress/kp-press-release/native_posix.keymap2
-rw-r--r--app/tests/momentary-layer/early-key-release/native_posix.keymap2
-rw-r--r--app/tests/momentary-layer/normal/native_posix.keymap2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/tests/keypress/cp-press-release/native_posix.keymap b/app/tests/keypress/cp-press-release/native_posix.keymap
index 7f9ae8a..0e86f93 100644
--- a/app/tests/keypress/cp-press-release/native_posix.keymap
+++ b/app/tests/keypress/cp-press-release/native_posix.keymap
@@ -1,5 +1,5 @@
#include "../behavior_keymap.dtsi"
&kscan {
- events = <ZMK_MOCK_PRESS(0,1,300) ZMK_MOCK_PRESS(0,0,300) ZMK_MOCK_RELEASE(0,0,300) 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
diff --git a/app/tests/keypress/kp-press-release/native_posix.keymap b/app/tests/keypress/kp-press-release/native_posix.keymap
index 235348e..7f73690 100644
--- a/app/tests/keypress/kp-press-release/native_posix.keymap
+++ b/app/tests/keypress/kp-press-release/native_posix.keymap
@@ -4,5 +4,5 @@
#include "../behavior_keymap.dtsi"
&kscan {
- events = <ZMK_MOCK_PRESS(0,1,300) ZMK_MOCK_PRESS(0,0,300) ZMK_MOCK_RELEASE(0,0,300) 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
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 a58ad26..e7628c0 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 1b67858..7f73690 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