diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-10 08:25:49 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-10 08:25:49 -0400 |
commit | 1bcd9ab8a7e1c6aca7c169df377dbb9c81f1d585 (patch) | |
tree | e963c0efcae9f2611a66247b3bf61ab1bdfa95ba | |
parent | 9c738c25c345ac75af1b79dcaf7ad82ae0a1c2e3 (diff) |
Add mouse bindings
-rw-r--r-- | config/reviung41.conf | 1 | ||||
-rw-r--r-- | config/reviung41.keymap | 4 |
2 files changed, 4 insertions, 1 deletions
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 <dt-bindings/zmk/bt.h> #include <dt-bindings/zmk/rgb.h> #include <dt-bindings/led/led.h> +#include <dt-bindings/zmk/mouse.h> &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 |