From 47f862c5d2f75029f64a4c662930825e598efcb7 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Wed, 6 Sep 2023 20:32:59 +0700 Subject: [PATCH] draw: generate thera ascii art --- Makefile | 20 +++-- creatkeebs_thera/asciiart/haunt98.txt | 14 +++ .../keymaps_json/haunt98/keymap.json | 90 +++++++++++++++++++ 3 files changed, 117 insertions(+), 7 deletions(-) create mode 100644 creatkeebs_thera/asciiart/haunt98.txt create mode 100644 creatkeebs_thera/keymaps_json/haunt98/keymap.json diff --git a/Makefile b/Makefile index 8747860..6e104fc 100644 --- a/Makefile +++ b/Makefile @@ -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: - @echo Please read Makefile to understand!!! + $(MAKE) format + $(MAKE) draw format: 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 - 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-mp-15 -i creatkeebs_thera/keymaps/haunt98/*.c creatkeebs_thera/keymaps/haunt98/*.h - -clean: - rm -rf dztech_dz60rgb_wkl_v2_1_haunt98.bin + deno fmt dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json + deno fmt creatkeebs_thera/keymaps_json/haunt98/keymap.json # From changeloguru go: @@ -25,7 +24,14 @@ go: draw_qmkasciigen: $(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: go run ./cmd/qmkasciigen/*.go -print-out -allow-layers 0 -qmk-keyboard matthewdias/m3n3van diff --git a/creatkeebs_thera/asciiart/haunt98.txt b/creatkeebs_thera/asciiart/haunt98.txt new file mode 100644 index 0000000..9109660 --- /dev/null +++ b/creatkeebs_thera/asciiart/haunt98.txt @@ -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 | ++---------+---------+---------+-------------------------------------------------+-------+-------+-------+ +-------+-------+-------+ diff --git a/creatkeebs_thera/keymaps_json/haunt98/keymap.json b/creatkeebs_thera/keymaps_json/haunt98/keymap.json new file mode 100644 index 0000000..81b9bb2 --- /dev/null +++ b/creatkeebs_thera/keymaps_json/haunt98/keymap.json @@ -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" +}