summaryrefslogtreecommitdiffstats
path: root/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
diff options
context:
space:
mode:
authordatafx <2432997+datafx@users.noreply.github.com>2021-08-08 00:45:43 -0400
committerGitHub <noreply@github.com>2021-08-07 21:45:43 -0700
commitac2090bf4e8f97d416cc10d73044af8585b51055 (patch)
tree82a38c155922991c051568afac0fd7c085124141 /keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
parentbfa7449041fe5f137f37199804cd4dd9e02d47a8 (diff)
[Keyboard] Add kbdfans kbd67 mkii rgb v3 (#13714)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h')
-rw-r--r--keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h38
1 files changed, 24 insertions, 14 deletions
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h b/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
index e61ff96839..c297a02e88 100644
--- a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
+++ b/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h
@@ -1,16 +1,26 @@
+/* Copyright 2021 DZTECH <moyi4681@live.cn>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#pragma once
-#define XXX KC_NO
+
+#if defined(KEYBOARD_kbdfans_kbd67_mkiirgb_v1)
+ #include "v1.h"
+#elif defined(KEYBOARD_kbdfans_kbd67_mkiirgb_v2)
+ #include "v2.h"
+#elif defined(KEYBOARD_kbdfans_kbd67_mkiirgb_v3)
+ #include "v3.h"
+#endif
#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 } \
-}