Skip to content

Commit

Permalink
&rshift_space
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebritto committed Jan 21, 2025
1 parent 752ea23 commit b2a4db4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,14 @@
mods = <(MOD_LCTL)>;
};

rshift_space: right_shift_space_when_modded_with_left_modifiers {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp RSHIFT>, <&kp SPACE>; //useful for scrolling up with the left hand on the keyboard and the right one on the mouse
mods = <(MOD_LCTL|MOD_LGUI|MOD_LSFT|MOF_LALT|)>;
keep-mods = <(MOD_LCTL|MOD_LGUI|MOD_LSFT|MOF_LALT|)>;
};

hp: hold_preferred_mod_tap { // Allows for space/shift+space for scrolling up with the left hand on the keyboard and the right one on the mouse
compatible = "zmk,behavior-hold-tap";
label = "THUMB_SHIFT";
Expand Down Expand Up @@ -269,7 +277,7 @@
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&hrml LCTRL A &hrml LALT S &hrml LSHFT D &hrml LGUI F &hrml HYPER G &hrmr HYPER H &hrmr RGUI J &hrmr LSHFT K &hrmr RALT L &hrmr RCTRL SQT
&hrml GLOBE Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SEMI
&lc NAV &kp RSHFT &kp SPACE &lc SYM
&lc NAV &rshift_space &kp SPACE &lc SYM
>;
};

Expand Down

0 comments on commit b2a4db4

Please sign in to comment.