From 37edd3e920892ec9984ca55559de66c169af730f Mon Sep 17 00:00:00 2001 From: Chen Zeng Date: Fri, 1 Mar 2024 22:19:13 +0800 Subject: [PATCH] update keymap draw --- keymap_drawer.config.yaml | 124 ++++++++++++++++++++++++++++++++------ 1 file changed, 106 insertions(+), 18 deletions(-) diff --git a/keymap_drawer.config.yaml b/keymap_drawer.config.yaml index 34d9544..e352b94 100644 --- a/keymap_drawer.config.yaml +++ b/keymap_drawer.config.yaml @@ -396,23 +396,70 @@ parse_config: raw_binding_map: # Layers - "&smart_num L2 0": - shifted: $$mdi:alpha-w-box$$ - tap: L2 - hold: $$mdi:gesture-tap-hold$$ - "&csl Fn": - tap: Fn - hold: $$mdi:close-box$$ - "&csl L2": - tap: L2 - hold: $$mdi:close-box$$ - "&cmo Fn": - tap: $$mdi:close-box$$ - hold: Fn - "&cmo L2": - tap: $$mdi:close-box$$ - hold: L2 - + "<q 1 BACKSPACE": + tap: $$mdi:backspace$$ + hold: '$$mdi:navigation-variant$$' + "<q 3 TAB": + tap: $$mdi:keyboard-tab$$ + hold: $$mdi:numeric$$ + "<q 2 SPACE": + tap: $$mdi:keyboard-space$$ + hold: $$mdi:symbol$$ + "<q 3 ENTER": + tap: $$mdi:keyboard-return$$ + hold: $$mdi:numeric$$ + "<q 1 DELETE": + tap: $$mdi:backspace-reverse-outline$$ + hold: $$mdi:navigation-variant$$ + # Home rows + "&hm LEFT_GUI A": + tap: 'A' + shifted: $$mdi:apple-keyboard-command$$ + "&hm LEFT_ALT S": + tap: 'S' + shifted: $$mdi:apple-keyboard-option$$ + "&hm LEFT_CONTROL D": + tap: 'D' + shifted: $$mdi:apple-keyboard-control$$ + "&hm LEFT_SHIFT F": + tap: 'F' + shifted: $$mdi:apple-keyboard-shift$$ + "&hm RIGHT_SHIFT J": + tap: 'J' + shifted: $$mdi:apple-keyboard-shift$$ + "&hm RIGHT_CONTROL K": + tap: 'K' + shifted: $$mdi:apple-keyboard-control$$ + "&hm RIGHT_ALT L": + tap: 'L' + shifted: $$mdi:apple-keyboard-option$$ + # self behaviors + "&hm LG(LS(V)) P": + tap: 'P' + shifted: $$mdi:content-copy$$ + # Mouse + "&msc SCRL_UP": + tap: $$mdi:pan-up$$ + hold: '' + shifted: '' + "&msc SCRL_DOWN": + tap: $$mdi:pan-down$$ + hold: '' + shifted: '' + "&msc SCRL_LEFT": + tap: $$mdi:pan-left$$ + hold: '' + shifted: '' + "&msc SCRL_RIGHT": + tap: $$mdi:pan-right$$ + hold: '' + shifted: '' + "&mkp LCLK": + tap: $$mdi:mouse-left-click-outline$$ + "&mkp RCLK": + tap: $$mdi:mouse-right-click-outline$$ + "&mkp MCLK": + tap: $$mdi:mouse-scroll-wheel$$ # Modifiers "&caps_word": $$mdi:alpha-w-box$$ "&kt RSHIFT": @@ -533,6 +580,7 @@ parse_config: LESS_THAN: < LT: < + PERIOD: '.' DOT: tap: "." shifted: ">" @@ -603,11 +651,21 @@ parse_config: LSHIFT: $$mdi:apple-keyboard-shift$$ LSHFT: $$mdi:apple-keyboard-shift$$ LCMD: $$mdi:apple-keyboard-command$$ + LG: $$mdi:apple-keyboard-command$$ RCTRL: $$mdi:apple-keyboard-control$$ RALT: $$mdi:apple-keyboard-option$$ + RIGHT_ALT: $$mdi:apple-keyboard-option$$ RSHIFT: $$mdi:apple-keyboard-shift$$ + RIGHT_SHIFT: $$mdi:apple-keyboard-shift$$ RSHFT: $$mdi:apple-keyboard-shift$$ RCMD: $$mdi:apple-keyboard-command$$ + RG: $$mdi:apple-keyboard-command$$ + PAGE_UP: + tap: 'PageUp' + shifted: '' + PAGE_DOWN: + tap: 'PageUp' + shifted: '' # "Meh" key LS(LC(LALT)): $$mdi:star-three-points$$ @@ -622,6 +680,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$$ @@ -642,6 +701,8 @@ parse_config: C_MUTE: $$mdi:volume-off$$ C_VOL_UP: $$mdi:volume-high$$ C_VOL_DN: $$mdi:volume-low$$ + C_VOLUME_UP: $$mdi:volume-high$$ + C_VOLUME_DOWN: $$mdi:volume-low$$ # Media C_NEXT: $$mdi:skip-next$$ @@ -654,13 +715,40 @@ parse_config: # Settings C_BRI_UP: $$mdi:brightness-5$$ + C_BRIGHTNESS_INC: $$mdi:brightness-5$$ C_BRI_DN: $$mdi:brightness-7$$ + C_BRI_DEC: $$mdi:brightness-7$$ # System C_POWER: $$mdi:power-standby$$ C_AL_LOCK: $$mdi:lock$$ K_CANCEL: $$mdi:close-box$$ - + K_FIND: $$mdi:apple-finder$$ + # Command + + LG(A): + tap: 'A' + hold: $$mdi:apple-keyboard-command$$ + LG(S): + tap: 'S' + hold: $$mdi:apple-keyboard-command$$ + LG(D): + tap: 'S' + hold: $$mdi:apple-keyboard-command$$ + LG(F): + tap: 'S' + hold: $$mdi:apple-keyboard-command$$ + LG(Z): + tap: 'S' + hold: $$mdi:apple-keyboard-command$$ + LG(X): + tap: 'X' + hold: $$mdi:apple-keyboard-command$$ + LG(C): + tap: 'C' + hold: $$mdi:apple-keyboard-command$$ + LG(V): + tap: 'V' + hold: $$mdi:apple-keyboard-command$$ # Zoom RG(RS(A)): tap: $$mdi:microphone$$