qmk_firmware/keyboards/tg4x/tg4x.h
MechMerlin 44df08746a [Keyboard] Add TG4x (#7351)
* initial commit

* add pins and matrix

* add an appropriate keymap

* set bootloader to caterina

* add QMK Configurator support

* turn on RGB and link time optimization

* add rgb pin

* update readme on rgb underglow info

* Update keyboards/tg4x/readme.md

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/tg4x/readme.md

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/tg4x/readme.md

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* setting product id to 1 to match original code
2019-11-14 10:52:55 -08:00

22 lines
732 B
C

#pragma once
#include "quantum.h"
#define ___ KC_NO
#define LAYOUT( \
k00, k01, k02, k03, k04, k05, k06, k40, k41, k42, k43, k44, k45, \
k10, k11, k12, k13, k14, k15, k16, k50, k51, k52, k53, k54, \
k20, k21, k22, k23, k24, k25, k26, k60, k61, k62, k63, k64, \
k30, k31, k32, k34, k35, k71, k72, k73, k74 \
){ \
{ k00, k01, k02, k03, k04, k05, k06 }, \
{ k10, k11, k12, k13, k14, k15, k16 }, \
{ k20, k21, k22, k23, k24, k25, k26 }, \
{ k30, k31, k32, ___, k34, k35, ___ }, \
{ k40, k41, k42, k43, k44, k45, ___ }, \
{ k50, k51, k52, k53, k54, ___, ___ }, \
{ k60, k61, k62, k63, k64, ___, ___ }, \
{ ___, k71, k72, k73, k74, ___, ___ } \
}