draw: generate thera ascii art

main
sudo pacman -Syu 2023-09-06 20:32:59 +07:00 committed by sudo pacman -Syu
parent 67fba21496
commit 47f862c5d2
3 changed files with 117 additions and 7 deletions

View File

@ -1,17 +1,16 @@
.PHONY: all format clean go draw_qmkasciigen format_draw_caksoylar_keymap_drawer draw_caksoylar_keymap_drawer draw qmk_upstream .PHONY: all format go draw_qmkasciigen format_draw_caksoylar_keymap_drawer draw_caksoylar_keymap_drawer draw qmk_upstream
all: all:
@echo Please read Makefile to understand!!! $(MAKE) format
$(MAKE) draw
format: format:
clang-format -i dztech_dz60rgb_wkl/keymaps/haunt98/*.c dztech_dz60rgb_wkl/keymaps/haunt98/*.h & \ clang-format -i dztech_dz60rgb_wkl/keymaps/haunt98/*.c dztech_dz60rgb_wkl/keymaps/haunt98/*.h & \
clang-format-mp-15 -i dztech_dz60rgb_wkl/keymaps/haunt98/*.c dztech_dz60rgb_wkl/keymaps/haunt98/*.h clang-format-mp-15 -i dztech_dz60rgb_wkl/keymaps/haunt98/*.c dztech_dz60rgb_wkl/keymaps/haunt98/*.h
deno fmt dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json
clang-format -i creatkeebs_thera/keymaps/haunt98/*.c creatkeebs_thera/keymaps/haunt98/*.h & \ clang-format -i creatkeebs_thera/keymaps/haunt98/*.c creatkeebs_thera/keymaps/haunt98/*.h & \
clang-format-mp-15 -i creatkeebs_thera/keymaps/haunt98/*.c creatkeebs_thera/keymaps/haunt98/*.h clang-format-mp-15 -i creatkeebs_thera/keymaps/haunt98/*.c creatkeebs_thera/keymaps/haunt98/*.h
deno fmt dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json
clean: deno fmt creatkeebs_thera/keymaps_json/haunt98/keymap.json
rm -rf dztech_dz60rgb_wkl_v2_1_haunt98.bin
# From changeloguru # From changeloguru
go: go:
@ -25,7 +24,14 @@ go:
draw_qmkasciigen: draw_qmkasciigen:
$(MAKE) go $(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 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
go run ./cmd/qmkasciigen/*.go \
-qmk-keyboard creatkeebs/thera \
-qmk-keymap-file creatkeebs_thera/keymaps_json/haunt98/keymap.json \
-out creatkeebs_thera/asciiart/haunt98.txt
draw_qmkasciigen_demo: draw_qmkasciigen_demo:
go run ./cmd/qmkasciigen/*.go -print-out -allow-layers 0 -qmk-keyboard matthewdias/m3n3van go run ./cmd/qmkasciigen/*.go -print-out -allow-layers 0 -qmk-keyboard matthewdias/m3n3van

View File

@ -0,0 +1,14 @@
+-------+ +-------+-------+-------+-------+ +-------+-------+-------+-------+ +-------+-------+-------+-------+ +-------+
| ESC | | F1 | F2 | F3 | F4 | | F5 | F6 | F7 | F8 | | F9 | F10 | F11 | F12 | | PSCR |
+-------+ +-------+-------+-------+-------+ +-------+-------+-------+-------+ +-------+-------+-------+-------+ +-------+
+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+---------------+ +-------+
| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BACKSPACE | | INS |
+-------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-----------+ +-------+
| TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | PGUP |
+-----------+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-+-----+-----------+ +-------+
| CAPSLOCK | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | | PGDN |
+-------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---------+-+-----+-+ +-------+
| SHIFT | Z | X | C | V | B | N | M | , | . | / | SHIFT | | UP |
+---------+-------+-+-----+---+---+-------+-------+-------+-------+-------+-----+-+-----+-+-----+-+-----+-+-----+-+-------+-------+
| CTRL | CMD | OPT | SPACE | OPT | CMD | CTRL | | LEFT | DOWN | RGHT |
+---------+---------+---------+-------------------------------------------------+-------+-------+-------+ +-------+-------+-------+

View File

@ -0,0 +1,90 @@
{
"keyboard": "creatkeebs/thera",
"keymap": "haunt98",
"layers": [
[
"KC_ESC",
"KC_F1",
"KC_F2",
"KC_F3",
"KC_F4",
"KC_F5",
"KC_F6",
"KC_F7",
"KC_F8",
"KC_F9",
"KC_F10",
"KC_F11",
"KC_F12",
"KC_PSCR",
"KC_GRV",
"KC_1",
"KC_2",
"KC_3",
"KC_4",
"KC_5",
"KC_6",
"KC_7",
"KC_8",
"KC_9",
"KC_0",
"KC_MINS",
"KC_EQL",
"KC_BSPC",
"KC_INS",
"KC_TAB",
"KC_Q",
"KC_W",
"KC_E",
"KC_R",
"KC_T",
"KC_Y",
"KC_U",
"KC_I",
"KC_O",
"KC_P",
"KC_LBRC",
"KC_RBRC",
"KC_BSLS",
"KC_PGUP",
"KC_CAPS",
"KC_A",
"KC_S",
"KC_D",
"KC_F",
"KC_G",
"KC_H",
"KC_J",
"KC_K",
"KC_L",
"KC_SCLN",
"KC_QUOT",
"KC_ENT",
"KC_PGDN",
"KC_LSFT",
"KC_Z",
"KC_X",
"KC_C",
"KC_V",
"KC_B",
"KC_N",
"KC_M",
"KC_COMM",
"KC_DOT",
"KC_SLSH",
"KC_RSFT",
"KC_UP",
"KC_LCTL",
"KC_LGUI",
"KC_LALT",
"KC_SPC",
"KC_RALT",
"KC_RGUI",
"KC_RCTL",
"KC_LEFT",
"KC_DOWN",
"KC_RGHT"
]
],
"layout": "LAYOUT_ansi"
}