From 1bcd9ab8a7e1c6aca7c169df377dbb9c81f1d585 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 10 Oct 2022 08:25:49 -0400 Subject: Add mouse bindings --- config/reviung41.conf | 1 + config/reviung41.keymap | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/reviung41.conf b/config/reviung41.conf index aca09aa..81f2702 100644 --- a/config/reviung41.conf +++ b/config/reviung41.conf @@ -10,3 +10,4 @@ CONFIG_ZMK_RGB_UNDERGLOW_SPD_START=1 CONFIG_ZMK_RGB_UNDERGLOW_BRT_START=10 CONFIG_ZMK_RGB_UNDERGLOW_SAT_START=10 CONFIG_ZMK_RGB_UNDERGLOW_HUE_START=0 +CONFIG_ZMK_MOUSE=y \ No newline at end of file diff --git a/config/reviung41.keymap b/config/reviung41.keymap index 1488878..ec4edb8 100644 --- a/config/reviung41.keymap +++ b/config/reviung41.keymap @@ -9,6 +9,7 @@ #include #include #include +#include &spi1 { compatible = "nordic,nrf-spim"; @@ -178,9 +179,10 @@ mouse_layer { // Waiting for https://github.com/zmkfirmware/zmk/pull/778 + // Using fork at https://github.com/ftc/zmk/blob/mouse-ftc bindings = < &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -&trans &kp KP_N4 &kp KP_N3 &kp KP_N2 &kp KP_N1 &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans +&trans &mkp MB4 &mkp MB3 &mkp MB2 &mkp MB1 &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -- cgit v1.2.3