zmk-config/keymap-drawer/config.yaml

375 lines
7.4 KiB
YAML

draw_config:
key_w: 60.0
key_h: 56.0
split_gap: 30.0
combo_w: 28.0
combo_h: 26.0
key_rx: 6.0
key_ry: 6.0
dark_mode: false
n_columns: 1
separate_combo_diagrams: false
combo_diagrams_scale: 2
inner_pad_w: 2.0
inner_pad_h: 2.0
outer_pad_w: 30.0
outer_pad_h: 56.0
line_spacing: 1.2
arc_radius: 6.0
append_colon_to_layer_header: true
small_pad: 2.0
legend_rel_x: 0.0
legend_rel_y: 0.0
draw_key_sides: true
key_side_pars:
rel_x: 0
rel_y: 4
rel_w: 12
rel_h: 12
rx: 4
ry: 4
svg_extra_style: |
svg.keymap {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 10px;
font-weight: bold;
}
text.label {
stroke: #dfdfde;
stroke-width: 12;
stroke-linejoin: round;
}
rect.combo, rect.combo-separate {
opacity: 0.95;
stroke: #c9cccf;
stroke-width: 0.5;
fill: #d7eaed;
}
path.combo {
stroke-dasharray: 4, 4;
stroke-opacity: 0.3;
}
rect.held, rect.combo.held {
fill: #ebdada;
}
.trans.tap, .ghost.tap {
opacity: 0.5;
}
.shifted {
translate: -9px 3px;
opacity: 0.3;
}
.toggle.shifted {
translate: -12px 17px;
opacity: 1.0;
}
.toggle.hold {
translate: 12px -25px;
}
.text_with_symbol.tap {
translate: -1px 1px;
}
.text_with_symbol.shifted {
translate: 8px 13px;
font-size: 8px;
opacity: 1.0;
}
.combo.text_with_symbol.tap {
translate: -1px 1px;
}
.combo.text_with_symbol.shifted {
translate: 7px 5px;
font-size: 8px;
opacity: 1.0;
}
glyph_tap_size: 14
glyph_hold_size: 8
glyph_shifted_size: 8
footer_text: ''
shrink_wide_legends: 7
glyphs: {}
parse_config:
preprocess: true
skip_binding_parsing: false
raw_binding_map:
'&out OUT_BLE': $$mdi:bluetooth$$
'&out OUT_USB': $$mdi:usb$$
'&out OUT_TOG':
tap: $$mdi:toggle-switch$$
hold: $$mdi:bluetooth$$
shifted: $$mdi:usb$$
type: toggle
'&bt BT_CLR':
tap: $$mdi:bluetooth$$
shifted: $$mdi:close-thick$$
type: text_with_symbol
'&bts 0':
tap: $$mdi:bluetooth-connect$$
shifted: '0'
type: text_with_symbol
'&bts 1':
tap: $$mdi:bluetooth-connect$$
shifted: '1'
type: text_with_symbol
'&bts 2':
tap: $$mdi:bluetooth-connect$$
shifted: '2'
type: text_with_symbol
'&bts 3':
tap: $$mdi:bluetooth-connect$$
shifted: '3'
type: text_with_symbol
'&bts 4':
tap: $$mdi:bluetooth-connect$$
shifted: '4'
type: text_with_symblol
sticky_label: $$mdi:circle-small$$
toggle_label: $$mdi:toggle-switch$$
tap_toggle_label: tap-toggle
trans_legend:
tap: $$mdi:chevron-down$$
type: trans
mark_alternate_layer_activators: false
modifier_fn_map:
left_ctrl: Ctl
right_ctrl: Ctl
left_shift: Sft
right_shift: Sft
left_alt: Alt
right_alt: AGr
left_gui: Gui
right_gui: Gui
keycode_combiner: '{mods}+ {key}'
mod_combiner: '{mod_1}+{mod_2}'
special_combinations:
left_ctrl+left_alt+left_gui+left_shift: Hyper
left_ctrl+left_alt+left_shift: Meh
qmk_remove_keycode_prefix:
- KC_
qmk_keycode_map:
XXXXXXX: ''
'NO': ''
MINUS: '-'
MINS: '-'
EQUAL: '='
EQL: '='
LEFT_BRACKET: '['
LBRC: '['
RIGHT_BRACKET: ']'
RBRC: ']'
BACKSLASH: \
BSLS: \
NONUS_HASH: '#'
NUHS: '#'
SEMICOLON: ;
SCLN: ;
QUOTE: ''''
QUOT: ''''
GRAVE: '`'
GRV: '`'
COMMA: ','
COMM: ','
DOT: .
SLASH: /
SLSH: /
TILDE: '~'
TILD: '~'
EXCLAIM: '!'
EXLM: '!'
AT: '@'
HASH: '#'
DOLLAR: $
DLR: $
PERCENT: '%'
PERC: '%'
CIRCUMFLEX: ^
CIRC: ^
AMPERSAND: '&'
AMPR: '&'
ASTERISK: '*'
ASTR: '*'
LEFT_PAREN: (
LPRN: (
RIGHT_PAREN: )
RPRN: )
UNDERSCORE: _
UNDS: _
PLUS: +
LEFT_CURLY_BRACE: '{'
LCBR: '{'
RIGHT_CURLY_BRACE: '}'
RCBR: '}'
PIPE: '|'
COLON: ':'
COLN: ':'
DOUBLE_QUOTE: '"'
DQUO: '"'
DQT: '"'
LEFT_ANGLE_BRACKET: <
LABK: <
LT: <
RIGHT_ANGLE_BRACKET: '>'
RABK: '>'
GT: '>'
QUESTION: '?'
QUES: '?'
zmk_remove_keycode_prefix: []
zmk_keycode_map:
SPACE: $$mdi:keyboard-space$$
ESCAPE: $$mdi:keyboard-esc$$
ESC: $$mdi:keyboard-esc$$
ENTER: $$mdi:keyboard-return$$
RETURN: $$mdi:keyboard-return$$
RET: $$mdi:keyboard-return$$
BACKSPACE: $$mdi:backspace-outline$$
BSPC: $$mdi:backspace-outline$$
DELETE: $$mdi:backspace-reverse-outline$$
DEL: $$mdi:backspace-reverse-outline$$
LCTRL: $$mdi:apple-keyboard-control$$
LEFT_CONTROL: $$mdi:apple-keyboard-control$$
LALT: $$mdi:apple-keyboard-option$$
RALT: $$mdi:apple-keyboard-option$$
RCTRL: $$mdi:apple-keyboard-control$$
RIGHT_CONTROL: $$mdi:apple-keyboard-control$$
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:microsoft-windows$$
RGUI: $$mdi:microsoft-windows$$
LCMD: $$mdi:apple-keyboard-command$$
RCMD: $$mdi:apple-keyboard-command$$
TAB: $$mdi:keyboard-tab$$
CLCK: $$mdi:apple-keyboard-caps$$
CAPS: $$mdi:apple-keyboard-caps$$
CAPSLOCK: $$mdi:apple-keyboard-caps$$
SCROLLLOCK: $$mdi:arrow-vertical-lock$$
SLCK: $$mdi:arrow-vertical-lock$$
SCLK: $$mdi:arrow-vertical-lock$$
KP_NLCK: $$mdi:numeric-off$$
PSCRN: $$mdi:monitor-screenshot$$
PAUSE_BREAK: Pause Break
C_PP: $$mdi:play-pause$$
C_NEXT: $$mdi:skip-forward$$
C_PREV: $$mdi:skip-backward$$
C_MUTE: $$mdi:volume-mute$$
C_VOL_UP: $$mdi:volume-plus$$
C_VOL_DN: $$mdi:volume-minus$$
C_BRI_UP: $$tabler:brightness-up$$
C_BRI_DN: $$tabler:brightness-down$$
# C_BRI_UP: $$mdi:brightness-5$$
# C_BRI_DN: $$mdi:brightness-4$$
C_POWER: $$mdi:power$$
C_SLEEP: $$mdi:power-sleep$$
C_AL_CALC: $$mdi:calculator$$
UP: $$mdi:arrow-up$$
DOWN: $$mdi:arrow-down$$
LEFT: $$mdi:arrow-left$$
RIGHT: $$mdi:arrow-right$$
PG_UP: Page Up
PG_DN: Page Down
EXCLAMATION: '!'
EXCL: '!'
AT_SIGN: '@'
AT: '@'
HASH: '#'
POUND: '#'
DOLLAR: $
DLLR: $
PERCENT: '%'
PRCNT: '%'
CARET: ^
AMPERSAND: '&'
AMPS: '&'
ASTERISK: '*'
ASTRK: '*'
STAR: '*'
LEFT_PARENTHESIS: (
LPAR: (
RIGHT_PARENTHESIS: )
RPAR: )
EQUAL: '='
PLUS: +
MINUS: '-'
UNDERSCORE: _
UNDER: _
SLASH: /
FSLH: /
QUESTION: '?'
QMARK: '?'
BACKSLASH: \
BSLH: \
PIPE: '|'
NON_US_BACKSLASH: \
PIPE2: '|'
NON_US_BSLH: '|'
SEMICOLON: ;
SEMI: ;
COLON: ':'
SINGLE_QUOTE: ''''
SQT: ''''
APOSTROPHE: ''''
APOS: ''''
DOUBLE_QUOTES: '"'
DQT: '"'
COMMA: ','
LESS_THAN: <
LT: <
PERIOD: .
DOT: .
GREATER_THAN: '>'
GT: '>'
LEFT_BRACKET: '['
LBKT: '['
LEFT_BRACE: '{'
LBRC: '{'
RIGHT_BRACKET: ']'
RBKT: ']'
RIGHT_BRACE: '}'
RBRC: '}'
GRAVE: '`'
TILDE: '~'
NON_US_HASH: '#'
NUHS: '#'
TILDE2: '~'
zmk_combos:
combo_l_alt:
align: top
offset: 1.2
combo_r_alt:
align: top
offset: 1.2