Skip to content

Commit

Permalink
keymap-drawer: more mapping fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Sep 30, 2023
1 parent 5fa99e4 commit 0d0dccd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/glove80.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
&kp F11 &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp F12
&none &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &quotes &none
&under_backsl &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O &dash_slash
&none &kp Z &kp X &kp C &kp D &kp V &smart_lshift &nav &kp LEFT_GUI &kp LEFT_ALT &nav &smart_rshift &kp K &kp H &comma_semi &dot_colon &question_excl &none
&none &kp Z &kp X &kp C &kp D &kp V &smart_lshift &nav &kp LEFT_META &kp LEFT_ALT &nav &smart_rshift &kp K &kp H &comma_semi &dot_colon &question_excl &none
&tog 4 &magic 5 0 &none &none &none &kp BSPC &lt 2 ESCAPE &mt LEFT_CONTROL LS(TAB) &mt RIGHT_CONTROL TAB &lt 2 RETURN &kp SPACE &none &none &none &kp RALT &tog 1
>;
};
Expand Down
12 changes: 9 additions & 3 deletions config/keymap_drawer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ parse_config:

raw_binding_map:
# Custom behavior
'&caps_word': $$mdi:apple-keyboard-caps$$
'&smart_lshift': $$mdi:apple-keyboard-shift$$
'&smart_rshift': $$mdi:apple-keyboard-shift$$
'&symbols': $$mdi:symbol$$
Expand Down Expand Up @@ -146,9 +147,6 @@ parse_config:
'&sys_reset': 'Reset'

zmk_keycode_map:
'&caps_word': $$mdi:apple-keyboard-caps$$
Symbols: $$mdi:symbol$$

RET:
type: enter
tap: $$mdi:keyboard-return$$
Expand All @@ -159,6 +157,7 @@ parse_config:
type: enter
tap: $$mdi:keyboard-return$$
ESC: $$mdi:keyboard-esc$$
ESCAPE: $$mdi:keyboard-esc$$
TAB: $$mdi:keyboard-tab$$
LS(TAB): $$mdi:keyboard-tab-reverse$$
SPACE: $$mdi:keyboard-space$$
Expand All @@ -180,8 +179,15 @@ parse_config:
RCTRL: 'Ctrl'
RIGHT_CONTROL: 'Ctrl'
LSHFT: $$mdi:apple-keyboard-shift$$
LSHIFT: $$mdi:apple-keyboard-shift$$
LEFT_SHIFT: $$mdi:apple-keyboard-shift$$
RSHFT: $$mdi:apple-keyboard-shift$$
RSHIFT: $$mdi:apple-keyboard-shift$$
RIGHT_SHIFT: $$mdi:apple-keyboard-shift$$
LGUI: $$mdi:monitor-dashboard$$
LEFT_GUI: $$mdi:monitor-dashboard$$
LMETA: $$mdi:monitor-dashboard$$
LEFT_META: $$mdi:monitor-dashboard$$

EXCLAMATION: '!'
EXCL: '!'
Expand Down

0 comments on commit 0d0dccd

Please sign in to comment.