From 9d47ace8fd89716de1f4eb21eb41cde1dd858cd4 Mon Sep 17 00:00:00 2001 From: Xudong Zheng <7pkvm5aw@slicealias.com> Date: Sat, 5 Oct 2024 15:41:23 -0400 Subject: [PATCH] Add mouse keys to default keymap --- config/slicemk_ergodox.keymap | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/config/slicemk_ergodox.keymap b/config/slicemk_ergodox.keymap index d2479011..072d28b1 100644 --- a/config/slicemk_ergodox.keymap +++ b/config/slicemk_ergodox.keymap @@ -1,6 +1,7 @@ #include #include #include +#include #include / { @@ -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 @@ -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 + >; + }; + }; };