keyboard/keyboards/zmk-config/config/boards/shields/tg4x
2020-12-31 04:26:13 +00:00
..
boards Update notes ; prep tg4x bring up 2020-12-26 21:33:37 +00:00
keymap Add tg4x keymap images (not quite final) 2020-12-27 15:14:15 -05:00
CMakeLists.txt Basic setup of dongle's for pockettype and tg4x 2020-12-27 21:17:52 +00:00
Kconfig.defconfig Update notes ; prep tg4x bring up 2020-12-26 21:33:37 +00:00
Kconfig.shield Update notes ; prep tg4x bring up 2020-12-26 21:33:37 +00:00
mdk_pwr_led.c Basic setup of dongle's for pockettype and tg4x 2020-12-27 21:17:52 +00:00
README.md Basic setup of dongle's for pockettype and tg4x 2020-12-27 21:17:52 +00:00
tg4x.conf Update notes ; prep tg4x bring up 2020-12-26 21:33:37 +00:00
tg4x.dtsi updates for latest zmk main branch 2020-12-28 17:01:37 +00:00
tg4x.keymap Tweak tg4x keymap 2020-12-27 20:06:30 +00:00
tg4x.overlay Fixup tg4x dongle setup 2020-12-27 21:23:38 +00:00

TG4X

Standard setup for the TG4X 40% keyboard.

The keymap directory contains the keyboard layout and were created by Keyboard Layout Editor. Please note: the zmk keymap is slightly adjusted from the default shown on the main TG4X pages and QMK.

Alternate Builds

The tg4x_mdk shield is setup to use the MakerDiary MDK board as a dongle for the TG4X. This will setup the TG4X as a split ZMK keyboard. The "peripheral half" will be the TG4X and the "controller half" will be the MDK.

Build Commands

Below are the three commands that can be used to build ZMK for the TG4X as a stand alone board or with a MakerDiary MDK as a dongle.


# Stand alone build
west build --board nice_nano -d build/tg4x/default -- -DSHIELD=tg4x -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config

# MDK Dongle build
west build --board nrf52840_mdk -d build/tg4x/mdk -- -DSHIELD=tg4x_mdk -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config

# TG4X as a peripheral to the MDK
west build --board nice_nano -d build/tg4x/peripheral -- -DSHIELD=tg4x_peripheral -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config