aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/tests/pointing/mkp/native_posix_64.keymap
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests/pointing/mkp/native_posix_64.keymap')
-rw-r--r--app/tests/pointing/mkp/native_posix_64.keymap27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/tests/pointing/mkp/native_posix_64.keymap b/app/tests/pointing/mkp/native_posix_64.keymap
new file mode 100644
index 0000000000..8e3071d431
--- /dev/null
+++ b/app/tests/pointing/mkp/native_posix_64.keymap
@@ -0,0 +1,27 @@
+#include <behaviors.dtsi>
+#include <dt-bindings/zmk/keys.h>
+#include <dt-bindings/zmk/kscan_mock.h>
+#include <dt-bindings/zmk/mouse.h>
+
+/ {
+ keymap {
+ compatible = "zmk,keymap";
+
+ default_layer {
+ bindings = <
+ &mkp LCLK &none
+ &none &mkp RCLK
+ >;
+ };
+ };
+};
+
+
+&kscan {
+ events = <
+ ZMK_MOCK_PRESS (0,0,100)
+ ZMK_MOCK_PRESS (1,1,100)
+ ZMK_MOCK_RELEASE(1,1, 10)
+ ZMK_MOCK_RELEASE(0,0, 10)
+ >;
+};