From 44df08746a97d7177a9ad918e4d5da3a5cf437d3 Mon Sep 17 00:00:00 2001 From: MechMerlin <30334081+mechmerlin@users.noreply.github.com> Date: Thu, 14 Nov 2019 10:52:55 -0800 Subject: [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 * Update keyboards/tg4x/readme.md Co-Authored-By: fauxpark * Update keyboards/tg4x/readme.md Co-Authored-By: fauxpark * setting product id to 1 to match original code --- keyboards/tg4x/tg4x.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 keyboards/tg4x/tg4x.h (limited to 'keyboards/tg4x/tg4x.h') diff --git a/keyboards/tg4x/tg4x.h b/keyboards/tg4x/tg4x.h new file mode 100644 index 0000000000..80dc40238f --- /dev/null +++ b/keyboards/tg4x/tg4x.h @@ -0,0 +1,21 @@ +#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, ___, ___ } \ +} -- cgit v1.2.3