From 4f0a5463117dc38fdee6d57daf72a06b68d2439f Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sun, 6 Aug 2023 16:23:38 +0700 Subject: [PATCH] chore: re-add caksoylar/keymap-drawer --- Makefile | 5 + README.md | 11 +- .../caksoylar_keymap_drawer/keymap.svg | 466 ++++++++++++++++++ .../caksoylar_keymap_drawer/keymap.yaml | 254 ++++++++++ 4 files changed, 733 insertions(+), 3 deletions(-) create mode 100644 dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.svg create mode 100644 dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml diff --git a/Makefile b/Makefile index 684de54..57c72e0 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ all: $(MAKE) format + $(MAKE) draw format: clang-format -i dztech_dz60rgb_wkl/keymaps/haunt98/*.c dztech_dz60rgb_wkl/keymaps/haunt98/*.h & \ @@ -23,6 +24,10 @@ go: draw: $(MAKE) go go run ./cmd/qmkasciigen/*.go -qmk-keyboard dztech/dz60rgb_wkl/v2_1 -qmk-keymap-file dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json -out dztech_dz60rgb_wkl/asciiart/haunt98.txt + # https://github.com/caksoylar/keymap-drawer + pipx install keymap-drawer + keymap parse -q dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json > dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml + keymap draw dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml > dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.svg qmk_init: qmk setup -H ~/qmk_firmware diff --git a/README.md b/README.md index e89ec3c..557a8c7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ ## [dztech/dz60rgb_wkl](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dztech/dz60rgb_wkl) -> V2.1: ATmega32U4 (AVR), takes .bin files Started shipping in June 2021 as a slightly modified version of v2. +> V2.1: ATmega32U4 (AVR), takes .bin files Started shipping in June 2021 as a +> slightly modified version of v2. ### Stock @@ -28,9 +29,12 @@ make dztech_dz60rgb_wkl See [asciiart](dztech_dz60rgb_wkl/asciiart/haunt98.txt). +![caksoylar_keymap_drawer](dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.svg) + ## Install -Locate firmware file after compile successfully or download from [QMK action workflow](https://github.com/haunt98/qmk_keymaps/actions/workflows/qmk.yml) +Locate firmware file after compile successfully or download from +[QMK action workflow](https://github.com/haunt98/qmk_keymaps/actions/workflows/qmk.yml) Put keyboard into bootloader mode in 2 ways: @@ -49,7 +53,8 @@ Step by steps: 4. Replace repo keymaps JSON 5. Generate ascii: `make draw` -You don't need to install [QMK CLI](https://github.com/qmk/qmk_cli) but still need QMK Toolbox. +You don't need to install [QMK CLI](https://github.com/qmk/qmk_cli) but still +need QMK Toolbox. ## Features diff --git a/dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.svg b/dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.svg new file mode 100644 index 0000000..8bd5a7a --- /dev/null +++ b/dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.svg @@ -0,0 +1,466 @@ + + + +L0: + + +QKGESC + +1 + +2 + +3 + +4 + +5 + +6 + +7 + +8 + +9 + +0 + +- + += + +\ + +` + +TAB + +Q + +W + +E + +R + +T + +Y + +U + +I + +O + +P + +[ + +] + +BSPC + +ESC +CTL + +A + +S + +D + +F + +G + +H + +J + +K + +L + +; + +' + +ENT + +LSFT + +Z + +X + +C + +V + +B + +N + +M + +, + +. + +/ + +RSFT + +L1 + + +LALT + +LGUI + +SPC + +RGUI + +RALT + + + +L1: + +` + +F1 + +F2 + +F3 + +F4 + +F5 + +F6 + +F7 + +F8 + +F9 + +F10 + +F11 + +F12 + + +TG(2) + + + + + + + + + + + + +UP + + + + + + + + + + + + + +LEFT + +RGHT + + + + + + + + + + + + + +DOWN + + + + + + + + + + + + +L2: + + + + + + + + + + + + + + + +TO(0) + + +BRMD + +BRMU + + + + + + + + + + + + +CAPS + +VOLD + +VOLU + +MUTE + + + + + +HOME + +PGUP + + + + + + + +RGBHUI + + +RGBSAI + + +RGBVAI + + + + + +END + +PGDN + + + + +L3 + + + + + + +RGBTOG + + +RGBMOD + + + +L3: + + +QKBOOT + + +EECLR + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml b/dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml new file mode 100644 index 0000000..64dfbed --- /dev/null +++ b/dztech_dz60rgb_wkl/caksoylar_keymap_drawer/keymap.yaml @@ -0,0 +1,254 @@ +layout: {qmk_keyboard: dztech/dz60rgb_wkl/v2_1, qmk_layout: LAYOUT_60_tsangan_hhkb} +layers: + L0: + - QK GESC + - '1' + - '2' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - '0' + - '-' + - '=' + - \ + - '`' + - TAB + - Q + - W + - E + - R + - T + - Y + - U + - I + - O + - P + - '[' + - ']' + - BSPC + - {t: ESC, h: CTL} + - A + - S + - D + - F + - G + - H + - J + - K + - L + - ; + - '''' + - ENT + - LSFT + - Z + - X + - C + - V + - B + - N + - M + - ',' + - . + - / + - RSFT + - L1 + - '' + - LALT + - LGUI + - SPC + - RGUI + - RALT + - '' + L1: + - '`' + - F1 + - F2 + - F3 + - F4 + - F5 + - F6 + - F7 + - F8 + - F9 + - F10 + - F11 + - F12 + - '' + - TG(2) + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - UP + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - LEFT + - RGHT + - '' + - {t: ▽, type: trans} + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - DOWN + - {t: ▽, type: trans} + - {type: held} + - '' + - '' + - '' + - '' + - '' + - '' + - '' + L2: + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - TO(0) + - '' + - BRMD + - BRMU + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - CAPS + - VOLD + - VOLU + - MUTE + - '' + - '' + - '' + - '' + - HOME + - PGUP + - '' + - '' + - '' + - {t: ▽, type: trans} + - RGB HUI + - RGB SAI + - RGB VAI + - '' + - '' + - '' + - '' + - END + - PGDN + - '' + - {t: ▽, type: trans} + - L3 + - '' + - '' + - '' + - '' + - RGB TOG + - RGB MOD + - '' + L3: + - QK BOOT + - EE CLR + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - {type: held} + - '' + - '' + - '' + - '' + - '' + - '' + - ''