diff --git a/atreus/README.org b/atreus/README.org index 4f04ed2..8cd9093 100644 --- a/atreus/README.org +++ b/atreus/README.org @@ -50,6 +50,17 @@ https://www.reddit.com/r/olkb/comments/jaxhkk/keyboardio_atreus_how_tos_custom_l [[./keyboard-layout-colemak-DHm.png]] +[[./atreus-fschl38.svg]] + +Visualize with [[https://github.com/caksoylar/keymap-drawer][Keymap-drawer]]: + +#+begin_src sh + pipx install keymap-drawer + cd ~/git/qmk_firmware + qmk c2json --no-cpp ~/git/qmk_firmware/keyboards/keyboardio/atreus/keymaps/fschl-38/keymap.c | keymap -c ~/git/qmk_firmware/keyboards/keyboardio/atreus/drawer-config.yaml parse -c 10 -q - >~/git/keyboard-config/atreus/atreus-fschl38.yaml + keymap -c ~/git/qmk_firmware/keyboards/keyboardio/atreus/drawer-config.yaml draw ~/git/keyboard-config/atreus/atreus-fschl38.yaml >~/git/keyboard-config/atreus/atreus-fschl38.svg +#+end_src + *** TODO - smart shift on a thumb key, to avoid weird situations with home-row-shift diff --git a/atreus/atreus-fschl38.svg b/atreus/atreus-fschl38.svg new file mode 100644 index 0000000..dacb8d3 --- /dev/null +++ b/atreus/atreus-fschl38.svg @@ -0,0 +1,870 @@ + + + +L0: + + + +Q + + + +W + + + +F + + + +P + + + +B + + + +J + + + +L + + + +U + + + +Z + + + +BSPC + + + + +HGUIA + + + + + +HALTR + + + + + +HSFTS + + + + + +HCTLT + + + + +G + + + + +HMOUM + + + + + +HCTLN + + + + + +HSFTE + + + + + +HALTI + + + + + +HGUIO + + + + +Y + + + +X + + + +C + + + +D + + + +V + + + +` + + + +\ + + + +N + + + +M + + + +, + + + +. + + + +/ + + + + + + + + + + + + +THUMB1 + + + +THUMB2 + + + +THUMB3 + + + +THUMB4 + + + +THUMB5 + + + +THUMB6 + + + + + + + + + + + + + +L1: + + + +! + + + +" + + + +? + + + +% + + + +$ + + + +/ + + + +7 + + + +8 + + + +9 + + + ++ + + + +< + + + +{ + + + +( + + + +[ + + + +' + + + +* + + + +4 + + + +5 + + + +6 + + + +- + + + +> + + + +} + + + +) + + + +] + + + +@ + + + + +QKLLCK + + + + +, + + + +. + + + +1 + + + +2 + + + +3 + + + += + + + + + + + + + + + + +| + + + +~ + + + +& + + + +^ + + + + + + + +0 + + + + + + + + + + + + + +L2: + + + +\ + + + +F7 + + + +F8 + + + +F9 + + + +F10 + + + + +Ctl+F + + + + +HOME + + + +END + + + + +Ctl+Sft+F + + + + +BSPC + + + + +HGUIAT + + + + + +HALTF4 + + + + + +HSFTF5 + + + + + +HCTLF6 + + + + +F11 + + + + +HMOULEFT + + + + +DOWN + + + +UP + + + +RIGHT + + + +DEL + + + +@ + + + +F1 + + + +F2 + + + +F3 + + + +F12 + + + + + + + + + + +Ctl+H + + + + +PGDN + + + +PGUP + + + + +Ctl+Sft+H + + + + + +Ctl+P + + + + + + + +VOLD + + + +LGUI + + + +LSFT + + + +BSPC + + + +LCTL + + + +LALT + + + +SPC + + + +TO(COLEMAK) + + + +PSCR + + + +SCRL + + + +PAUS + + + + +L3: + + + + + + + + + + +MSU + + + + + + + + + + + + + + + + +UDIA + + + + + + + + + +ADIA + + + + +MSL + + + + + +MSD + + + + + +MSR + + + + +BTN3 + + + + + + + +VOLD + + + +MUTE + + + +VOLU + + + +ODIA + + + + + + + +WHL + + + + + + + + +WHR + + + + + + + + + + + + + +MPRV + + + +MSTP + + + +MPLY + + + +MNXT + + + + + + + + + + + + + + + + + + + + + + +BTN1 + + + + +WHD + + + + + +WHU + + + + +BTN2 + + + + + + + + + + + + + + + + + + + + diff --git a/atreus/atreus-fschl38.yaml b/atreus/atreus-fschl38.yaml new file mode 100644 index 0000000..850abcf --- /dev/null +++ b/atreus/atreus-fschl38.yaml @@ -0,0 +1,56 @@ +layout: {qmk_keyboard: keyboardio/atreus, layout_name: LAYOUT} +layers: + L0: + - [Q, W, F, P, B, J, L, U, Z, BSPC] + - [HGUI A, HALT R, HSFT S, HCTL T, G, HMOU M, HCTL N, HSFT E, HALT I, HGUI O] + - [Y, X, C, D, V, '`', \, N, M, ','] + - [., /, '', '', '', THUMB1, THUMB2, THUMB3, THUMB4, THUMB5] + - [THUMB6, '', '', ''] + L1: + - ['!', '"', '?', '%', $, /, '7', '8', '9', +] + - [<, '{', (, '[', '''', '*', '4', '5', '6', '-'] + - ['>', '}', ), ']', '@', QK LLCK, ',', ., '1', '2'] + - - '3' + - '=' + - '' + - '' + - '' + - '|' + - '~' + - '&' + - ^ + - {t: ▽, type: trans} + - ['0', '', '', ''] + L2: + - [\, F7, F8, F9, F10, Ctl+ F, HOME, END, Ctl+Sft+ F, BSPC] + - [HGUI AT, HALT F4, HSFT F5, HCTL F6, F11, HMOU LEFT, DOWN, UP, RIGHT, DEL] + - ['@', F1, F2, F3, F12, '', '', Ctl+ H, PGDN, PGUP] + - [Ctl+Sft+ H, Ctl+ P, '', VOLD, LGUI, LSFT, BSPC, LCTL, LALT, SPC] + - [TO(COLEMAK), PSCR, SCRL, PAUS] + L3: + - ['', '', MS U, '', '', '', '', UDIA, '', ''] + - - ADIA + - MS L + - MS D + - MS R + - BTN3 + - {t: ▽, type: trans} + - VOLD + - MUTE + - VOLU + - ODIA + - ['', WH L, '', WH R, '', '', '', MPRV, MSTP, MPLY] + - - MNXT + - '' + - {t: ▽, type: trans} + - {t: ▽, type: trans} + - {t: ▽, type: trans} + - {t: ▽, type: trans} + - BTN1 + - WH D + - WH U + - BTN2 + - - {t: ▽, type: trans} + - {t: ▽, type: trans} + - {t: ▽, type: trans} + - {t: ▽, type: trans} diff --git a/atreus/drawer-config.yaml b/atreus/drawer-config.yaml new file mode 100644 index 0000000..beae77d --- /dev/null +++ b/atreus/drawer-config.yaml @@ -0,0 +1,203 @@ +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: false + key_side_pars: + rel_x: 0 + rel_y: 4 + rel_w: 12 + rel_h: 12 + rx: 4 + ry: 4 + svg_extra_style: '' + footer_text: '' + 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 + layer_legend_map: {} + 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_ + - DE_ + 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: []