summaryrefslogtreecommitdiffstats
path: root/keyboards/clueboard/card/card.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/clueboard/card/card.h')
-rw-r--r--keyboards/clueboard/card/card.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/clueboard/card/card.h b/keyboards/clueboard/card/card.h
new file mode 100644
index 0000000000..3342a08233
--- /dev/null
+++ b/keyboards/clueboard/card/card.h
@@ -0,0 +1,22 @@
+#ifndef CLUECARD_H
+#define CLUECARD_H
+
+#include "quantum.h"
+
+// This a shortcut to help you visually see your layout.
+// The first section contains all of the arguements
+// The second converts the arguments into a two-dimensional array
+#define KEYMAP( \
+ k00, k01, k02, \
+ k10, k12, \
+ k20, k21, k22, \
+ k11, \
+ k30, k31, k32 \
+) { \
+ { k00, k01, k02, }, \
+ { k10, k11, k12, }, \
+ { k20, k21, k22, }, \
+ { k30, k31, k32, } \
+}
+
+#endif