From fb4494e6b52f7340cfd8c983e8c75d00623009b5 Mon Sep 17 00:00:00 2001 From: babariviere <12128029+babariviere@users.noreply.github.com> Date: Wed, 18 Jun 2025 13:36:44 +0000 Subject: [PATCH] keymap-drawer render --- keymap-drawer/cradio.svg | 475 ++++++++++++++------------------------ keymap-drawer/cradio.yaml | 67 ++---- 2 files changed, 193 insertions(+), 349 deletions(-) diff --git a/keymap-drawer/cradio.svg b/keymap-drawer/cradio.svg index 49c6fba..d24648b 100644 --- a/keymap-drawer/cradio.svg +++ b/keymap-drawer/cradio.svg @@ -1,4 +1,4 @@ - + /* start glyphs */ @@ -144,8 +144,8 @@ text.footer { paint-order: stroke; } -/* styling for combo tap, and key hold/shifted label text */ -text.combo, text.hold, text.shifted { +/* styling for combo tap, and key non-tap label text */ +text.combo, text.hold, text.shifted, text.left, text.right { font-size: 11px; } @@ -159,8 +159,20 @@ text.shifted { dominant-baseline: hanging; } +text.left { + text-anchor: start; +} + +text.right { + text-anchor: end; +} + +text.layer-activator { + text-decoration: underline; +} + /* styling for hold/shifted label text in combo box */ -text.combo.hold, text.combo.shifted { +text.combo.hold, text.combo.shifted, text.combo.left, text.combo.right { font-size: 8px; } @@ -252,14 +264,14 @@ rect.held, rect.combo.held { } -base: +base: - + Q - + W @@ -294,22 +306,22 @@ rect.held, rect.combo.held { U - + Y - + ' - + A - + R @@ -349,23 +361,23 @@ rect.held, rect.combo.held { E - + I - + O - + Z - + X @@ -400,89 +412,111 @@ rect.held, rect.combo.held { , - + . - + / - + -nav - - + +nav + + - + -num - - + +num + + -sym - + +sym + - -CANCEL - - - + = - + -mods - + - + - + -- +LPAR, +< + + + +RPAR, +> - -_ + +LBRC, +[ - -: + +RBRC, +] - -; + +- + + + +_ + + + +: + + + +; + + + +&bootloader - -sym: + +sym: - + ~ - + & @@ -515,21 +549,21 @@ rect.held, rect.combo.held { \ - + | - + ` - + - + $ @@ -564,20 +598,20 @@ rect.held, rect.combo.held { { - + [ - + - + - + ! @@ -612,45 +646,45 @@ rect.held, rect.combo.held { } - + ] - + - + - + - + - + - -nav: + +nav: - + - + @@ -683,22 +717,22 @@ rect.held, rect.combo.held { - + - + - + - + @@ -736,21 +770,21 @@ rect.held, rect.combo.held { - + - + - + - + @@ -786,47 +820,47 @@ rect.held, rect.combo.held { PageDown - + PageUp - + END - + - + - + - + - -winnav: + +winnav: - + - + @@ -869,23 +903,23 @@ rect.held, rect.combo.held { 2 - + 3 - + 4 - + - + @@ -928,22 +962,22 @@ rect.held, rect.combo.held { Gui+N - + Gui+P - + - + - + @@ -986,48 +1020,48 @@ rect.held, rect.combo.held { BTNXT - + BTPRV - + - + - + - + - + - -num: + +num: - + - + 7 @@ -1062,22 +1096,22 @@ rect.held, rect.combo.held { - + - + - + - - + 4 @@ -1114,24 +1148,24 @@ rect.held, rect.combo.held { - + - + - + - + 1 @@ -1166,45 +1200,46 @@ rect.held, rect.combo.held { - + - + - + 0 - + -fun - - + +fun + + - + - -fun: + +fun: - + - + F7 @@ -1235,19 +1270,19 @@ rect.held, rect.combo.held { - + - + - + - + F4 @@ -1282,23 +1317,23 @@ rect.held, rect.combo.held { - + - + - + - + F1 @@ -1331,197 +1366,29 @@ rect.held, rect.combo.held { F11 - + F12 - + - + - + - + - - - - - - - - -mods: - - - - -&bootloader - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/keymap-drawer/cradio.yaml b/keymap-drawer/cradio.yaml index a094c80..59a19e5 100644 --- a/keymap-drawer/cradio.yaml +++ b/keymap-drawer/cradio.yaml @@ -1,4 +1,4 @@ -layout: {qmk_keyboard: ferris/sweep} +layout: {zmk_keyboard: cradio} layers: base: - Q @@ -210,45 +210,7 @@ layers: - {type: held} - {type: held} - {t: '$$mdi:chevron-down$$', type: trans} - mods: - - '&bootloader' - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - '' - - '' - - '' - - '' - - '' - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - {type: held} - - {type: held} - - {t: '$$mdi:chevron-down$$', type: trans} - - '' - - {t: '$$mdi:apple-keyboard-control$$', h: '$$mdi:circle-small$$'} - - {t: '$$mdi:apple-keyboard-option$$', h: '$$mdi:circle-small$$'} - - {t: '$$mdi:apple-keyboard-command$$', h: '$$mdi:circle-small$$'} - - {t: '$$mdi:apple-keyboard-shift$$', h: '$$mdi:circle-small$$'} - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - '' - - '' - - {t: '$$mdi:apple-keyboard-option$$', h: '$$mdi:circle-small$$'} - - '' - - '' - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} - - {t: '$$mdi:chevron-down$$', type: trans} combos: -- p: [3, 4] - k: CANCEL - l: [base] - p: [2, 3] k: $$mdi:keyboard-esc$$ l: [base] @@ -256,7 +218,7 @@ combos: k: '=' l: [base] - p: [12, 13] - k: {t: '$$mdi:keyboard-tab$$', h: mods} + k: $$mdi:keyboard-tab$$ l: [base] - p: [7, 8] k: $$mdi:backspace-outline$$ @@ -265,14 +227,29 @@ combos: k: $$mdi:keyboard-return$$ l: [base] - p: [3, 13] - k: '-' - l: [base] -- p: [13, 23] - k: _ + k: {t: 'LPAR,', s: <} l: [base] - p: [6, 16] + k: {t: 'RPAR,', s: '>'} + l: [base] +- p: [2, 12] + k: {t: 'LBRC,', s: '['} + l: [base] +- p: [7, 17] + k: {t: 'RBRC,', s: ']'} + l: [base] +- p: [4, 14] + k: '-' + l: [base] +- p: [14, 24] + k: _ + l: [base] +- p: [5, 15] k: ':' l: [base] -- p: [16, 26] +- p: [15, 25] k: ; l: [base] +- p: [20, 21] + k: '&bootloader' + l: [base]