Skip to content

Commit

Permalink
Add mouse keys to default keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
xudongzheng committed Oct 5, 2024
1 parent 2c3c8c9 commit 9d47ace
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion config/slicemk_ergodox.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/mouse.h>
#include <dt-bindings/zmk/outputs.h>

/ {
Expand Down Expand Up @@ -31,7 +32,7 @@
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp CLCK &kp M_MUTE &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMICOLON &kp BKSP
&mo 2 &kp Z &kp X &kp C &kp V &kp B &kp M_VOLD &kp M_VOLU &kp N &kp M &kp CMMA &kp DOT &kp FSLH &mo 2
&none &none &kp LALT &kp LARW &kp UARW &kp DARW &kp RARW &kp RALT &none &to 3
&none &mo 4 &kp LALT &kp LARW &kp UARW &kp DARW &kp RARW &kp RALT &none &to 3
&kp DEL &kp HOME &kp END &kp INS
&kp LSFT &kp LCTL &kp PGUP &kp PGDN &kp SPC &kp LGUI
&kp RET &mo 1
Expand Down Expand Up @@ -79,5 +80,20 @@
&kp RET &none
>;
};

layer_4 {
bindings = <
&bootloader
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &msc SCRL_LEFT &msc SCRL_RIGHT &mmv MOVE_UP &none &none &none
&none &none &none &none &none &none &msc SCRL_UP &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &none &none
&none &none &none &none &none &none &none &none &msc SCRL_DOWN &mkp LCLK &mkp MCLK &mkp RCLK &none &none
&none &none &none &none &none &none &none &none &none &none
&none &none &none &none
&none &none &none &none &none &none
&none &none
>;
};

};
};

0 comments on commit 9d47ace

Please sign in to comment.