aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/tests/toggle-layer/normal/native_posix_64.keymap
diff options
context:
space:
mode:
authorPeter Johanson <[email protected]>2022-03-24 11:38:14 +0000
committerPete Johanson <[email protected]>2022-04-03 00:10:29 -0400
commit953f5212a8c225745284bb3f86e13b1fd7505eb5 (patch)
tree22b86727ce0ed1c1debe3152471c22aaff68637a /app/tests/toggle-layer/normal/native_posix_64.keymap
parent35db784b5db48f8ce6d9cd3944c226d697d04312 (diff)
downloadzmk-953f5212a8c225745284bb3f86e13b1fd7505eb5.tar.gz
zmk-953f5212a8c225745284bb3f86e13b1fd7505eb5.zip
refactor(tests): Move to native_posix_64 target.
* Allows removing multilib from docker images * Run properly in aarch64 host docker containers for testing on Rasberry Pi. * Small sticky-keys fix to initialize w/ correct constant for max uin32_t value.
Diffstat (limited to 'app/tests/toggle-layer/normal/native_posix_64.keymap')
-rw-r--r--app/tests/toggle-layer/normal/native_posix_64.keymap8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/tests/toggle-layer/normal/native_posix_64.keymap b/app/tests/toggle-layer/normal/native_posix_64.keymap
new file mode 100644
index 0000000000..9df9d649c0
--- /dev/null
+++ b/app/tests/toggle-layer/normal/native_posix_64.keymap
@@ -0,0 +1,8 @@
+#include <dt-bindings/zmk/keys.h>
+#include <behaviors.dtsi>
+#include <dt-bindings/zmk/kscan_mock.h>
+#include "../behavior_keymap.dtsi"
+
+&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)>;
+}; \ No newline at end of file