aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap')
-rw-r--r--app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap b/app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap
new file mode 100644
index 0000000000..7e4d7af2a1
--- /dev/null
+++ b/app/tests/pointing/mouse-move/move_diagonal/native_posix_64.keymap
@@ -0,0 +1,29 @@
+#include <behaviors.dtsi>
+#include <behaviors/mouse_move.dtsi>
+#include <dt-bindings/zmk/keys.h>
+#include <dt-bindings/zmk/kscan_mock.h>
+#include <dt-bindings/zmk/mouse.h>
+
+/ {
+ keymap {
+ compatible = "zmk,keymap";
+ label ="Default keymap";
+
+ default_layer {
+ bindings = <
+ &mmv MOVE_LEFT &mmv MOVE_UP
+ &none &none
+ >;
+ };
+ };
+};
+
+
+&kscan {
+ events = <
+ ZMK_MOCK_PRESS(0,0,10)
+ ZMK_MOCK_PRESS(0,1,100)
+ ZMK_MOCK_RELEASE(0,0,10)
+ ZMK_MOCK_RELEASE(0,1,10)
+ >;
+}; \ No newline at end of file