Skip to content

Commit

Permalink
add mouse keys
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesmst committed Feb 9, 2024
1 parent 4fe987e commit 35cd4ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/boards/shields/sweep/sweep.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 3 additions & 2 deletions config/boards/shields/sweep/sweep.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/mouse.h>

#define DEFAU 0
#define GAMIN 1
Expand Down Expand Up @@ -79,15 +80,15 @@
&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
>;
};

right_layer {
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
>;
};
Expand Down

0 comments on commit 35cd4ad

Please sign in to comment.