add keymap-drawer

This commit is contained in:
♥ Minnie ♥ 2024-10-27 06:58:35 +08:00
parent 80d2952295
commit c2d58daa1e
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
4 changed files with 2878 additions and 0 deletions

201
assets/keymap-drawer.yaml Normal file
View file

@ -0,0 +1,201 @@
draw_config:
key_w: 60
key_h: 56
split_gap: 30.0
combo_w: 28
combo_h: 26
key_rx: 6.0
key_ry: 6.0
dark_mode: true
n_columns: 2
separate_combo_diagrams: true
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: false
key_side_pars:
rel_x: 0.0
rel_y: 4.0
rel_w: 12.0
rel_h: 12.0
rx: 4.0
ry: 4.0
svg_extra_style: ''
footer_text: https://git.sajenim.dev/jasmine/qmk_keymaps
shrink_wide_legends: 7
style_layer_activators: true
glyph_tap_size: 14
glyph_hold_size: 12
glyph_shifted_size: 10
glyphs: {}
parse_config:
preprocess: true
skip_binding_parsing: false
raw_binding_map: {}
sticky_label: sticky
toggle_label: toggle
tap_toggle_label: tap-toggle
trans_legend:
t:
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:
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: {}
zmk_preamble: '#define KEYMAP_DRAWER'
zmk_additional_includes: []

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 112 KiB

View file

@ -0,0 +1,72 @@
layout:
qmk_keyboard: crkbd/rev1
qmk_layout: LAYOUT_split_3x6_3
layers:
Canary:
- [{type: ghost, t: Esc}, W, L, Y, P, B, Z, F, O, U, "'", {type: ghost, t: Bspc}]
- [{type: ghost, t: Tab}, {h: Gui, t: C}, {h: Alt, t: R}, {h: Sft, t: S}, {h: Ctl, t: T}, G, M, {h: Ctl, t: N}, {h: Sft, t: E}, {h: Alt, t: I}, {h: Gui, t: A}, {type: ghost, t: Enter}]
- [{type: ghost, t: osm Shift}, Q, J, V, {h: Sym, t: D}, K, X, {h: Sym, t: H}, "/", ",", ".", {type: ghost, t: osm Shift}]
- {type: ghost}
- {h: Nav, t: Repeat}
- Ctrl Bspc
- Space
- {h: Num, t: Magic}
- {type: ghost}
Nav:
- [null, Media Play, Media Stop, Media Prev, Media Next, Vol Up, PgUp, Home, ▲, End, Term Copy, {type: ghost, t: Del}]
- [null, osm Gui, osm Alt, osm Sft, osm Ctl, Vol Down, PgDn, ◄, ▼, ►, Term Paste, {type: trans, t: Enter}]
- [null, Undo, Cut, Copy, Paste, Calc, WS0, WS1, WS2, WS3, WS4, {type: ghost, t: WS5}]
- null
- {type: held}
- null
- {type: trans, t: Space}
- {type: trans, t: Magic}
- null
Num:
- [null, "-", 7, 8, 9, "/", null, F7, F8, F9, F10, {type: trans, t: Bspc}]
- [null, "+", 4, 5, 6, "*", null, F4, F5, F6, F11, {type: trans, t: Enter}]
- [null, 0, 1, 2, 3, ".", null, F1, F2, F3, F12, null]
- null
- {type: trans, t: Repeat}
- {type: trans, t: Ctrl Bspc}
- null
- {type: held}
- null
Sym:
- [null, "`", "<", "-", ">", null, null, "[", "_", "]", "...", null]
- [null, "!", "(", "=", ")", "#", "%", "{", "$", "}", ";", null]
- [null, ":", "&", "^", {type: held, t: "@"}, null, null, {type: held, t: "*"}, "/", "\\", "|", null]
- null
- null
- null
- null
- null
- null
Fun:
- [Boot, null, null, null, null, null, null, null, null, null, null, null]
- [RGB Togg, RGB Hui, RGB Sai, RGB Vai, null, null, null, null, null, null, null, null]
- [RGB Mode, RGB Hud, RGB Sad, RGB Vad, null, null, null, null, null, null, null, null]
- null
- {type: held}
- null
- null
- {type: held}
- null
combos:
- { p: [2, 3], k: CD }
- { p: [3, 4], k: LS }
- { p: [7, 8], k: "~/" }
- { p: [8, 9], k: "../" }
- { p: [14, 15], k: Tab }
- { p: [15, 16], k: Bspc }
- { p: [19, 20], k: Esc }
- { p: [20, 21], k: Enter }
- { p: [19, 20, 21], k: Vim Save }
- { p: [26, 27], k: ":" }
- { p: [32, 33], k: ";" }
- { p: [15, 20], k: Caps Word }

View file

@ -0,0 +1,4 @@
# Corne Keyboard (CRKBD)
## Layout
![corne_keymap](corne_keymap.svg)