aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/tests/toggle-layer/toggle-mode-on/native_posix_64.keymap
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests/toggle-layer/toggle-mode-on/native_posix_64.keymap')
-rw-r--r--app/tests/toggle-layer/toggle-mode-on/native_posix_64.keymap21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/tests/toggle-layer/toggle-mode-on/native_posix_64.keymap b/app/tests/toggle-layer/toggle-mode-on/native_posix_64.keymap
new file mode 100644
index 0000000000..690787eb77
--- /dev/null
+++ b/app/tests/toggle-layer/toggle-mode-on/native_posix_64.keymap
@@ -0,0 +1,21 @@
+#include <dt-bindings/zmk/keys.h>
+#include <behaviors.dtsi>
+#include <dt-bindings/zmk/kscan_mock.h>
+#include "../behavior_keymap.dtsi"
+
+&tog {
+ toggle-mode = "on";
+};
+
+&kscan {
+ events = <
+ ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_RELEASE(0,1,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_PRESS(0,1,10)
+ ZMK_MOCK_RELEASE(0,1,10)
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_RELEASE(0,0,10)
+ >;
+}; \ No newline at end of file