From 35cd4ad469f6d50c0664cbf796335e135d76aeff Mon Sep 17 00:00:00 2001 From: Charles Stein Date: Thu, 8 Feb 2024 23:26:43 -0300 Subject: [PATCH] add mouse keys --- config/boards/shields/sweep/sweep.conf | 1 + config/boards/shields/sweep/sweep.keymap | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/boards/shields/sweep/sweep.conf b/config/boards/shields/sweep/sweep.conf index f85a205..51db1a1 100644 --- a/config/boards/shields/sweep/sweep.conf +++ b/config/boards/shields/sweep/sweep.conf @@ -14,3 +14,4 @@ CONFIG_ZMK_EXT_POWER=y CONFIG_ZMK_KEYBOARD_NAME="Sweep" CONFIG_BT_CTLR_TX_PWR_PLUS_8=y +CONFIG_ZMK_MOUSE=y diff --git a/config/boards/shields/sweep/sweep.keymap b/config/boards/shields/sweep/sweep.keymap index 51edc28..71a14e3 100644 --- a/config/boards/shields/sweep/sweep.keymap +++ b/config/boards/shields/sweep/sweep.keymap @@ -5,6 +5,7 @@ #include #include #include +#include #define DEFAU 0 #define GAMIN 1 @@ -79,7 +80,7 @@ &kp TAB &kp Q &kp W &kp E &kp R &kp Y &kp U &kp I &kp O &kp P &kp LCTRL &kp A &kp S &kp D &kp F &kp H HRMR(J, K, L, SEMI) &kp LSHFT &kp Z &kp X &kp C &kp V &kp N &kp M &kp COMMA &kp DOT &kp FSLH - &mo LOWEG &kp SPACE &hk LSHFT RET &mo RAISE + &mo LOWEG &kp SPACE &tog GAMIN &mo RAISE >; }; @@ -87,7 +88,7 @@ bindings = < &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp LALT &kp RCTRL &kp TAB &kp ESC &kp LC(B) &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp BSPC - &kp LC(Z) &kp LC(X) &kp LC(C) &kp LC(V) &trans &kp HOME &kp PG_DN &kp PG_UP &kp END &kp DEL + &kp LC(Z) &kp LC(X) &mkp MB2 &mkp MB1 &mkp MB3 &kp HOME &kp PG_DN &kp PG_UP &kp END &kp DEL &trans &trans &trans &trans >; };