summaryrefslogtreecommitdiff
path: root/app/tests/wpm/1-single_keypress/native_posix.keymap
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests/wpm/1-single_keypress/native_posix.keymap')
-rw-r--r--app/tests/wpm/1-single_keypress/native_posix.keymap10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/tests/wpm/1-single_keypress/native_posix.keymap b/app/tests/wpm/1-single_keypress/native_posix.keymap
new file mode 100644
index 0000000..ec12a28
--- /dev/null
+++ b/app/tests/wpm/1-single_keypress/native_posix.keymap
@@ -0,0 +1,10 @@
+#include "../behavior_keymap.dtsi"
+
+&kscan {
+ events = <
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
+ /* Wait for the worker to trigger and reset after 5 seconds, followed by a 0 at 6 seconds */
+ ZMK_MOCK_PRESS(0,0,6000)
+ >;
+}; \ No newline at end of file