From e662c4ae15b1bd9c4efd3387de604c284d316479 Mon Sep 17 00:00:00 2001 From: Zeljko Bekcic Date: Sat, 13 Jul 2024 15:43:56 +0200 Subject: [PATCH] chore: remove keyboard drawing and .vscode directory --- .github/workflows/doc.yml | 25 - .vscode/settings.json | 5 - keymap_img/*.yaml | 0 keymap_img/keymap_drawer.config.yaml | 317 ------------ keymap_img/temper.svg | 698 --------------------------- keymap_img/temper.yaml | 159 ------ 6 files changed, 1204 deletions(-) delete mode 100644 .github/workflows/doc.yml delete mode 100644 .vscode/settings.json delete mode 100644 keymap_img/*.yaml delete mode 100644 keymap_img/keymap_drawer.config.yaml delete mode 100644 keymap_img/temper.svg delete mode 100644 keymap_img/temper.yaml diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml deleted file mode 100644 index 437b79df..00000000 --- a/.github/workflows/doc.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: draw keymap - -on: - workflow_dispatch: # can be triggered manually - push: # automatically run on changes to following paths - paths: - - ".github/workflows/doc.yml" - - "keymap_img/keymap_drawer.config.yaml" - - "config/*.keymap" - - "config/*.dtsi" - - "boards/*/*/*.keymap" - - "boards/*/*/*.dtsi" - -jobs: - draw: - uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main - permissions: - contents: write # allow workflow to commit to the repo - with: - commit_message: "doc: update keymap image" # commit message for the changes - keymap_patterns: "boards/*/*/*.keymap" # path to the keymaps to parse - config_path: "keymap_img/keymap_drawer.config.yaml" # config file, ignored if it does not exist - output_folder: "keymap_img" # path to save produced SVG and keymap YAML files - parse_args: "temper:'-c 10'" # map of extra args to pass to `keymap parse`, e.g. "corne:'-l Def Lwr Rse' cradio:''" - draw_args: "temper:'-k chocofi -s default num nav fun'" # map of extra args to pass to `keymap draw`, e.g. "corne:'-k corne_rotated' cradio:'-k paroxysm'" \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index b4d63a89..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "*.keymap": "c" - } -} \ No newline at end of file diff --git a/keymap_img/*.yaml b/keymap_img/*.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/keymap_img/keymap_drawer.config.yaml b/keymap_img/keymap_drawer.config.yaml deleted file mode 100644 index b518e248..00000000 --- a/keymap_img/keymap_drawer.config.yaml +++ /dev/null @@ -1,317 +0,0 @@ -draw_config: - append_colon_to_layer_header: true - arc_radius: 6.0 - arc_scale: 1.0 - combo_h: 26.0 - combo_w: 28.0 - inner_pad_h: 2.0 - inner_pad_w: 2.0 - key_h: 56.0 - key_rx: 6.0 - key_ry: 6.0 - key_w: 60.0 - line_spacing: 1.2 - outer_pad_h: 56.0 - outer_pad_w: 30.0 - small_pad: 2.0 - split_gap: 30.0 - svg_style: | - /* font and background color specifications */ - svg { - font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace; - font-size: 14px; - font-kerning: normal; - text-rendering: optimizeLegibility; - fill: #24292e; - } - - /* default key styling */ - rect { - fill: #f6f8fa; - stroke: #c9cccf; - stroke-width: 1; - } - - /* color accent for combo boxes */ - rect.combo { - fill: #cdf; - } - - /* color accent for held keys */ - rect.held, rect.combo.held { - fill: #fdd; - } - - /* color accent for ghost (optional) keys */ - rect.ghost, rect.combo.ghost { - fill: #ddd; - } - - text { - text-anchor: middle; - dominant-baseline: middle; - } - - /* styling for layer labels */ - text.label { - font-weight: bold; - text-anchor: start; - stroke: white; - stroke-width: 2; - paint-order: stroke; - } - - /* styling for combo tap, and key hold/shifted label text */ - text.combo, text.hold, text.shifted { - font-size: 11px; - } - - text.hold { - text-anchor: middle; - dominant-baseline: auto; - } - - text.shifted { - text-anchor: middle; - dominant-baseline: hanging; - } - - /* styling for hold/shifted label text in combo box */ - text.combo.hold, text.combo.shifted { - font-size: 8px; - } - - /* styling for combo dendrons */ - path { - stroke-width: 1; - stroke: gray; - fill: none; - } -parse_config: - assign_combos_to_layers: false - preprocess: true - qmk_keycode_map: - AMPERSAND: '&' - AMPR: '&' - ASTERISK: '*' - ASTR: '*' - AT: '@' - BACKSLASH: \ - BSLS: \ - CIRC: ^ - CIRCUMFLEX: ^ - COLN: ':' - COLON: ':' - COMM: ',' - COMMA: ',' - DLR: $ - DOLLAR: $ - DOT: . - DOUBLE_QUOTE: '"' - DQT: '"' - DQUO: '"' - EQL: '=' - EQUAL: '=' - EXCLAIM: '!' - EXLM: '!' - GRAVE: '`' - GRV: '`' - GT: '>' - HASH: '#' - LABK: < - LBRC: '[' - LCBR: '{' - LEFT_ANGLE_BRACKET: < - LEFT_BRACKET: '[' - LEFT_CURLY_BRACE: '{' - LEFT_PAREN: ( - LPRN: ( - LT: < - MINS: '-' - MINUS: '-' - 'NO': '' - NONUS_HASH: '#' - NUHS: '#' - PERC: '%' - PERCENT: '%' - PIPE: '|' - PLUS: + - QUES: '?' - QUESTION: '?' - QUOT: '''' - QUOTE: '''' - RABK: '>' - RBRC: ']' - RCBR: '}' - RIGHT_ANGLE_BRACKET: '>' - RIGHT_BRACKET: ']' - RIGHT_CURLY_BRACE: '}' - RIGHT_PAREN: ) - RPRN: ) - SCLN: ; - SEMICOLON: ; - SLASH: / - SLSH: / - TILD: '~' - TILDE: '~' - TRANSPARENT: '' - TRNS: '' - UNDERSCORE: _ - UNDS: _ - SPACE: ⎵ - raw_binding_map: - '&mm_grescm': {t: '⎋', s: '` ~'} - '&mm_bspc_del': {t: '⌫', s: '⌦'} - '&bspc_del': {t: '⌫', s: '⌦'} - '&mm_grescm_gui': {t: ⎋, h: ⌘, s: '~ `'} - '&mm_spc_unds_layer': {t: '⎵', h: 'SYM', s: '_ -'} - '&mm_plus_minus': {t: '+', s: '-'} - '&mm_grave_caret': {t: '`', s: '^'} - '&mm_bracket_r': {t: '(', s: ')'} - '&mm_comma_semi_meh': {t: ',', s: ';', h: 'MEH'} - '&mm_dot_colon': {t: '.', s: ':'} - '&mm_none_undo': '' - '&mm_left_word_cut': '↞' - '&mm_up_save': '↑' - '&mm_down_copy': '↓' - '&mm_none_paste': '' - '&mm_1_cut': '1' - '&mm_2_copy': '2' - '&mm_5_save': '5' - '&swapper_cmd_tab': {t: '⌘↹'} - '&td_at_email': {t: '@'} - '&num_word': 'NUM' - '&nav_word': 'NAV' - '&caps_word_capslock': "Caps\nWord" - '&caps_word': '⇪' - '&td_shift_l': '⇧' - '&td_shift_r': '⇧' - '&td_nav_layer': {t: '⏎', h: 'NAV'} - '&td_bt_clear': 'BT CLR' - '&m_type_md_code_block': '```' - '&kt LSHFT': "⇧\nLock" - '<_num_word 4 0': {t: "Num\nWord", h: 'Num'} - '<og LGUI 5': {t: "Cancel\nNav", h: '⌘'} - '<og LGUI 6': {t: "Cancel\nNum", h: '⌘'} - '<og LGUI 7': {t: "Cancel\nSym", h: '⌘'} - '<og LGUI 8': {t: "Cancel\nFunc", h: '⌘'} - '<og LGUI 9': {t: "Cancel\nAdjust", h: '⌘'} - skip_binding_parsing: false - zmk_keycode_map: - AMPERSAND: '&' - AMPS: '&' - APOS: {t: "'", s: '"'} - APOSTROPHE: < - ASTERISK: '*' - ASTRK: '*' - AT: '@' - AT_SIGN: '@' - BACKSLASH: {t: '\', s: '|'} - BSLH: \ - CARET: ^ - COLON: ':' - COMMA: {t: ',', s: '<'} - DLLR: $ - DOLLAR: $ - DOT: {t: '.', s: '>'} - DOUBLE_QUOTES: '"' - DQT: '"' - EQUAL: {t: '=', s: '+'} - EXCL: '!' - EXCLAMATION: '!' - FSLH: / - GRAVE: {t: '`', s: '~'} - GREATER_THAN: '>' - GT: '>' - HASH: '#' - LBKT: {t: '[', s: '{'} - LBRC: '{' - LEFT_BRACE: '{' - LEFT_BRACKET: '[' - LEFT_PARENTHESIS: ( - LESS_THAN: < - LPAR: ( - LT: < - MINUS: {t: '-', s: '_'} - NON_US_BACKSLASH: \ - NON_US_BSLH: '|' - NON_US_HASH: '#' - NUHS: '#' - PERCENT: '%' - PERIOD: . - PIPE: '|' - PIPE2: '|' - PLUS: + - POUND: '#' - PRCNT: '%' - QMARK: '?' - QUESTION: '?' - RBKT: {t: ']', s: '}'} - RBRC: '}' - RIGHT_BRACE: '}' - RIGHT_BRACKET: ']' - RIGHT_PARENTHESIS: ) - RPAR: ) - SEMI: {t: ';', s: ':'} - SEMICOLON: {t: ';', s: ':'} - SINGLE_QUOTE: {t: '''', s: '"'} - SLASH: {t: '/', s: '?'} - SQT: '''' - STAR: '*' - TILDE: '~' - TILDE2: '~' - UNDER: _ - UNDERSCORE: _ - LCTRL: ⌃ - LALT: ⎇ - LGUI: ⌘ - LSHFT: ⇧ - RCTRL: ⌃ - LEFT_CONTROL: ⌃ - LEFT_ALT: ⎇ - LEFT_GUI: ⌘ - LEFT_SHFT: ⇧ - RALT: ⎇ - RGUI: ⌘ - RSHFT: ⇧ - RIGHT_CONTROL: ⌃ - RIGHT_ALT: ⎇ - RIGHT_GUI: ⌘ - RIGHT_SHFT: ⇧ - LEFT: ← - RIGHT: → - UP: ↑ - DOWN: ↓ - TAB: ↹ - RETURN: '⏎' - ESCAPE: '⎋' - C_REWIND: '⏮' - C_FAST_FORWARD: '⏭' - C_PAUSE: '⏯' - C_MUTE: "VOL\nMUTE" - C_VOLUME_DOWN: "VOL\nDOWN" - C_VOLUME_UP: "VOL\nUP" - C_BRIGHTNESS_DEC: '☀↓' - C_BRIGHTNESS_INC: '☀↑' - LA(LEFT): ↞ - LA(RIGHT): ↠ - LG(LEFT): ⇤ - LG(RIGHT): ⇥ - 'LS(LC(LG(LALT)))': 'HYPER' - 'RS(RC(RG(RALT)))': 'HYPER' - 'LC(LG(LALT))': 'MEH' - 'RC(RG(RALT))': 'MEH' - 'LG(Q)': '⌘Q' - 'LG(W)': '⌘W' - 'LG(GRAVE)': '⌘`' - 'LG(Z)': '⌘Z' - 'LG(X)': '⌘X' - 'LG(C)': '⌘C' - 'LG(V)': '⌘V' - 'LC(TAB)': '⌃↹' - 'LS(LC(TAB))': '⌃⇧↹' -# zmk_combos: -# combo_tog_nav_word: {'a': 'bottom', 'o': -0.25} -# combo_tog_num_word: {'a': 'bottom', 'o': 0.0} -# combo_return: {'a': 'bottom', 'o': 0.3} -# combo_capsword: {'k': "Caps\nWord"} diff --git a/keymap_img/temper.svg b/keymap_img/temper.svg deleted file mode 100644 index 591ac8de..00000000 --- a/keymap_img/temper.svg +++ /dev/null @@ -1,698 +0,0 @@ - - - -default: - - - -Q - - - -W - - - -F - - - -P - - - -B - - - -J - - - -L - - - -U - - - -Y - - - -' -" - - - -A - - - -R - - - -S - - - -T - - - -G - - - -M - - - -N - - - -E - - - -I - - - -O - - - -Z - - - -X - - - -C - - - -D - - - -V - - - -K - - - -H - - - -, -; - - - -. -: - - - -? -! - - - - - - - -num - - - - - - - - -SPACE - - - -nav - - - -BACKSPACE -Alt+ BACKS… - - - - -num: - - - -~ - - - -@ - - - -{ - - - -} - - - -% - - - -* - - - -7 - - - -8 - - - -9 - - - -- -_ - - - -^ - - - -# - - - -( - - - -) - - - -$ - - - -_ - - - -4 - - - -5 - - - -6 - - - -+ - - - -& -| - - - -< - - - -[ -{ - - - -] -} - - - -> - - - -/ -\ - - - -1 - - - -2 - - - -3 - - - -= -+ - - - - - - - - - - - - - - -0 - - - - - - - - - - - - -nav: - - - - - - - - - - - - - - - - - - - - - - - - - - - -HOME - - - -END - - - - - - - -BACKSPACE -Alt+ BACKS… - - - - -sticky - - - - -sticky - - - - -sticky - - - - -sticky - - - - - - - - - - - - - - - - - - - - - - - -ESC -` - - - - - - - -DEL - - - - - - - - - - - - - - - - - - - -RET - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -fun: - - - -qwerty -toggle - - - -MUTE - - - - -VOLDN - - - - - -VOLUP - - - - - -OUTTOG - - - - - - - - -F7 - - - -F8 - - - -F9 - - - -F12 - - - -BT -0 - - - -BT -1 - - - -BT -2 - - - -BT -3 - - - -BT -4 - - - - - - - -F4 - - - -F5 - - - -F6 - - - -F11 - - - - -BTCLR - - - - -PREV - - - -PP - - - -NEXT - - - - - - - - - - - -F1 - - - -F2 - - - -F3 - - - -F10 - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/keymap_img/temper.yaml b/keymap_img/temper.yaml deleted file mode 100644 index 6df0156e..00000000 --- a/keymap_img/temper.yaml +++ /dev/null @@ -1,159 +0,0 @@ -layers: - default: - - - Q - - W - - F - - P - - B - - J - - L - - U - - Y - - {t: '''', s: '"'} - - [A, R, S, T, G, M, N, E, I, O] - - - Z - - X - - C - - D - - V - - K - - H - - {t: ',', s: ;} - - {t: ., s: ':'} - - {t: '?', s: '!'} - - - ⌘ - - num - - {t: ⇧, s: ⇪} - - SPACE - - nav - - {t: BACKSPACE, s: Alt+ BACKSPACE} - qwerty: - - [Q, W, E, R, T, Y, U, I, O, P] - - - A - - S - - D - - F - - G - - H - - J - - K - - L - - {t: ;, s: ':'} - - - Z - - X - - C - - V - - B - - N - - M - - {t: ',', s: <} - - {t: ., s: '>'} - - / - - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - num: - - - '~' - - '@' - - '{' - - '}' - - '%' - - '*' - - '7' - - '8' - - '9' - - {t: '-', s: _} - - [^, '#', (, ), $, _, '4', '5', '6', +] - - - {t: '&', s: '|'} - - < - - {t: '[', s: '{'} - - {t: ']', s: '}'} - - '>' - - {t: /, s: \} - - '1' - - '2' - - '3' - - {t: '=', s: +} - - - {t: ▽, type: trans} - - {type: held} - - {t: ▽, type: trans} - - '0' - - {t: ▽, type: trans} - - {t: ▽, type: trans} - nav: - - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - HOME - - END - - ↹ - - {t: BACKSPACE, s: Alt+ BACKSPACE} - - - {t: ⇧, h: sticky} - - {t: ⌃, h: sticky} - - {t: ⎇, h: sticky} - - {t: ⌘, h: sticky} - - ↹ - - ← - - ↓ - - ↑ - - → - - {t: ESC, s: '`'} - - - {t: ▽, type: trans} - - DEL - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - RET - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {type: held} - - {t: ▽, type: trans} - fun: - - - {t: qwerty, h: toggle} - - MUTE - - VOL DN - - VOL UP - - OUT TOG - - {t: ▽, type: trans} - - F7 - - F8 - - F9 - - F12 - - - {t: BT, h: '0'} - - {t: BT, h: '1'} - - {t: BT, h: '2'} - - {t: BT, h: '3'} - - {t: BT, h: '4'} - - {t: ▽, type: trans} - - F4 - - F5 - - F6 - - F11 - - - BT CLR - - PREV - - PP - - NEXT - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - F1 - - F2 - - F3 - - F10 - - - {t: ▽, type: trans} - - {type: held} - - {t: ▽, type: trans} - - {t: ▽, type: trans} - - {type: held} - - {t: ▽, type: trans}