summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-09-23 23:34:59 -0700
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-09-23 23:34:59 -0700
commit37b6a2abbd96eaf3d6d724ac09c789d54a67d962 (patch)
treefcd68b3a01cf5e0f8bb113f9655463899a12bf76 /keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
parentefb7f3cc3a5844a8da40ce78c64f7da88e39766c (diff)
downloadqmk_firmware-37b6a2abbd96eaf3d6d724ac09c789d54a67d962.tar.gz
qmk_firmware-37b6a2abbd96eaf3d6d724ac09c789d54a67d962.zip
Refactor the KBD67 Mk.II RGB (#6799)
* move kbd67mkiirgb into kbd67 directory as mkiirgb * rename files * rename LAYOUT to LAYOUT_65_ansi_blocker * add support for default layout * update readme for new build target * update parent readme with the fourth variant
Diffstat (limited to 'keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h')
-rw-r--r--keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h b/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
new file mode 100644
index 0000000000..e61ff96839
--- /dev/null
+++ b/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
@@ -0,0 +1,16 @@
+#pragma once
+#define XXX KC_NO
+#include "quantum.h"
+#define LAYOUT_65_ansi_blocker( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, K2E, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \
+ K40, K41, K42, K45, K48, K4A, K4B, K4D, K4E \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, XXX, K2D, K2E }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D, K3E }, \
+ { K40, K41, K42, XXX, XXX, K45, XXX, XXX, K48, XXX, K4A, K4B, XXX, K4D, K4E } \
+}