summaryrefslogtreecommitdiff
path: root/keyboards/doio/kb16/kb16.h
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-10-26 22:24:13 -0600
committerGitHub <noreply@github.com>2022-10-27 15:24:13 +1100
commitfb8cfe43a31f57f978b37579c1e7e0dbf43a3078 (patch)
treec41aee51789f4c37a671c4b1581b017fd672fcbb /keyboards/doio/kb16/kb16.h
parentdfef313587ef288b416f37515c2828bbb86fb96d (diff)
initial (#18859)
Diffstat (limited to 'keyboards/doio/kb16/kb16.h')
-rw-r--r--keyboards/doio/kb16/kb16.h29
1 files changed, 24 insertions, 5 deletions
diff --git a/keyboards/doio/kb16/kb16.h b/keyboards/doio/kb16/kb16.h
index 4d3a1e3a03..6e6ab2f7f4 100644
--- a/keyboards/doio/kb16/kb16.h
+++ b/keyboards/doio/kb16/kb16.h
@@ -19,8 +19,27 @@
#include "quantum.h"
-#if defined(KEYBOARD_doio_kb16_rev1)
- #include "rev1.h"
-#elif defined(KEYBOARD_doio_kb16_rev2)
- #include "rev2.h"
-#endif \ No newline at end of file
+#define XXX KC_NO
+
+/* ┌───┬───┬───┬───┐ ┌───┐ ┌───┐
+ * │00 │01 │02 │03 │ │04 │ │14 │
+ * ├───┼───┼───┼───┤ └───┘ └───┘
+ * │10 │11 │12 │13 │
+ * ├───┼───┼───┼───┤
+ * │20 │21 │22 │23 │ ┌───┐
+ * ├───┼───┼───┼───┤ │24 │
+ * │30 │31 │32 │33 │ └───┘
+ * └───┴───┴───┴───┘
+ */
+
+#define LAYOUT( \
+ K00, K01, K02, K03, K04, \
+ K10, K11, K12, K13, K14, \
+ K20, K21, K22, K23, K24, \
+ K30, K31, K32, K33 \
+) { \
+ { K00, K01, K02, K03, K04 }, \
+ { K10, K11, K12, K13, K14 }, \
+ { K20, K21, K22, K23, K24 }, \
+ { K30, K31, K32, K33, XXX } \
+}