summaryrefslogtreecommitdiff
path: root/keyboards/cluecard/cluecard.h
diff options
context:
space:
mode:
authorJoshua T <joshua@sonofone.net>2016-08-09 21:30:31 -0500
committerJoshua T <joshua@sonofone.net>2016-08-09 21:30:31 -0500
commitec67d32bd4a2249186f3b84a044ee3f9f9bbc394 (patch)
treee974e00dd1cd62f99e52bd1d518f9191113d4560 /keyboards/cluecard/cluecard.h
parentea8638b9440ca9e8cf99437b01c69c5f9e7693d5 (diff)
parent2a160bbbe3ad496dd688f4399ab2b8d127c0b8a7 (diff)
Merged branch master into master
Diffstat (limited to 'keyboards/cluecard/cluecard.h')
-rw-r--r--keyboards/cluecard/cluecard.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/cluecard/cluecard.h b/keyboards/cluecard/cluecard.h
new file mode 100644
index 0000000000..3342a08233
--- /dev/null
+++ b/keyboards/cluecard/cluecard.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