summaryrefslogtreecommitdiff
path: root/keyboards/doio/kb16/kb16.h
diff options
context:
space:
mode:
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 } \
+}