summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/reviung41.conf1
-rw-r--r--config/reviung41.keymap4
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