From fa385d0e8bd657fac6f76ef50731bf5fb2e81000 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sun, 24 Mar 2024 07:20:53 +0000 Subject: [PATCH] keymap-drawer render --- images/cradio.svg | 141 +++++++++++++++++++++++++++++---------------- images/cradio.yaml | 25 ++++---- 2 files changed, 104 insertions(+), 62 deletions(-) diff --git a/images/cradio.svg b/images/cradio.svg index 3b6b3b4..2e38d4c 100644 --- a/images/cradio.svg +++ b/images/cradio.svg @@ -16,6 +16,9 @@ svg.keymap { /* default key styling */ rect.key { fill: #f6f8fa; +} + +rect.key, rect.combo { stroke: #c9cccf; stroke-width: 1; } @@ -283,8 +286,10 @@ path.combo { DEL - -ENTER + + + +ENTER @@ -307,16 +312,16 @@ path.combo { DOWN + + + +UP + + -UP - - - - - -RIGHT +RIGHT @@ -404,19 +409,19 @@ path.combo { -] +HOME -- +UP -= +END -' += @@ -440,7 +445,7 @@ path.combo { -TAB +] @@ -452,11 +457,11 @@ path.combo { -UP +RIGHT -RIGHT +' @@ -480,18 +485,18 @@ path.combo { -PSCRN +TAB -HOME - - - PGUP + + +- + @@ -500,7 +505,7 @@ path.combo { -END +PSCRN @@ -530,8 +535,10 @@ path.combo { toggle - -ENTER + + + +ENTER @@ -674,8 +681,10 @@ path.combo { - -ENTER + + + +ENTER @@ -826,8 +835,10 @@ path.combo { toggle - -ENTER + + + +ENTER @@ -977,8 +988,10 @@ path.combo { toggle - -ENTER + + + +ENTER @@ -1151,8 +1164,10 @@ path.combo { toggle - -ENTER + + + +ENTER @@ -1298,8 +1313,10 @@ path.combo { - -ENTER + + + +ENTER @@ -1453,14 +1470,22 @@ path.combo { LCTRL + + + +LCTRL + + D - - -ENTER + + + + +ENTER @@ -1609,8 +1634,10 @@ path.combo { toggle - -ENTER + + + +ENTER @@ -1755,8 +1782,10 @@ path.combo { - -ENTER + + + +ENTER @@ -1902,8 +1931,10 @@ path.combo { - -ENTER + + + +ENTER @@ -2048,8 +2079,10 @@ path.combo { - -ENTER + + + +ENTER @@ -2194,8 +2227,10 @@ path.combo { - -ENTER + + + +ENTER @@ -2340,8 +2375,10 @@ path.combo { - -ENTER + + + +ENTER @@ -2453,8 +2490,10 @@ path.combo { RSHFT - -ENTER + + + +ENTER diff --git a/images/cradio.yaml b/images/cradio.yaml index 152b08a..e4d343a 100644 --- a/images/cradio.yaml +++ b/images/cradio.yaml @@ -42,30 +42,30 @@ layers: - '3' - \ - '[' - - ']' - - '-' + - HOME + - UP + - END - '=' - - '''' - TAB - '4' - '5' - '6' - '&numdot' - - TAB + - ']' - LEFT - DOWN - - UP - RIGHT + - '''' - DEL - '7' - '8' - '9' - '0' - - PSCRN - - HOME + - TAB - PG UP + - '-' - PG DN - - END + - PSCRN - {t: num_lock, h: LCTRL} - {t: SPACE, h: LSHFT} - {t: ENTER, h: RALT} @@ -529,6 +529,9 @@ combos: - p: [31, 10] k: LCTRL l: [game] +- p: [30, 10] + k: LCTRL + l: [game] - p: [31, 14] k: D l: [game] @@ -544,7 +547,7 @@ combos: - p: [20, 21] k: DEL l: [default] -- p: [18, 19] +- p: [16, 17, 18] k: ENTER - p: [8, 9] k: '"' @@ -558,10 +561,10 @@ combos: - p: [33, 17] k: DOWN l: [default] -- p: [33, 18] +- p: [33, 7] k: UP l: [default] -- p: [33, 19] +- p: [33, 18] k: RIGHT l: [default] - p: [1, 2]