/qmk_keymaps

Custom QMK keymaps

Primary LanguageCMIT LicenseMIT

QMK custom keymaps

Go QMK Latest Version

V2.1: ATmega32U4 (AVR), takes .bin files Started shipping in June 2021 as a slightly modified version of v2.

Stock

Stock firmware is dztech_dz60rgb_wkl/stock/new dztech_dz60rgb_wkl_v3_via.bin. Can be flashed with QMK Toolbox.

Links:

Keymap

keymap_drawer

See Official/Original

128x32 OLED display module

Don’t connect or disconnect the TRRS cable when the keyboard is powered. It may short out. Always disconnect the USB cable first.

Bought from ergomech.store

Powered by the powerful RP2040 MCU, allowing users to use more macros and features from QMK. However, cannot be used with usb-c to usb-c cable

There is a button below the board, press twice to enter boot mode.

Flash notes

  • Make sure halves are not connected together with TRRS cable.
  • Connect one half to USB, flash the firmware. Use the reset button to reset the keyboard when you are asked to in console.
  • Connect the second half and flash it in the same way as the previous one.
  • Disconnect the USB cable. Connect both halves together with TRRS cable.
  • Connect USB cable to the left side.

There is a button below OLED/above encoder. Press 2 times to reset.

Keymap

keymap_drawer

Flash

Enter bootloader in many ways:

  • Bootmagic reset: Unplug cable, then hold key in row 0 col 0 and plug cable.
  • Keycode: Press QK_BOOT.
  • Physical reset button: Read manual of your PCB, likely will have a reset button

If use QMK Toolbox, locate firmware file after compile successfully or download from QMK action workflow

Maintain

Step by step:

  • Make changes to keymaps: *.c, *.h, *.mk
    • Format keymap.c with column -t
  • Apply changes to keymaps JSON: make qmk_all
  • Visualize keymap: make draw

Features

Basic:

More advance:

Do:

Don't:

Build/Optimize:

More:

qmkasciigen

Install:

go install github.com/haunt98/qmk_keymaps/cmd/qmkasciigen@latest

Usage:

# Generate from QMK repo
# Keymap must be JSON (exist keymap.json)
qmkasciigen -qmk-keyboard ymdk/id75 -qmk-keymap via -out ascii.txt

# Generate from local keymap.json
qmkasciigen -qmk-keyboard dztech/dz60rgb_wkl/v2_1 -qmk-keymap-file dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json -out ascii.txt

Thanks:

Copycat QMK features with software.

TODO

  • How to flash
  • Add stock firmware/docs
  • Add qmk lint
  • Visualize
  • qmkasciigen
    • Use flag
    • Add docs
    • Get data directly from qmk
    • Split transform keycodes to raw binding/transform (same as keymap-drawer)
    • Support Code page 437
    • Split draw func to multipls small func for easily maintenance
    • Move scaleX, scaleY to config flag