summaryrefslogtreecommitdiff
path: root/keyboards/cluecard/cluecard.h
diff options
context:
space:
mode:
authorCallum Oakley <c.oakley108@gmail.com>2016-08-09 12:39:59 +0100
committerCallum Oakley <c.oakley108@gmail.com>2016-08-09 12:39:59 +0100
commit49fbcb3e7cea2d47df6350918ff6e00960a78b15 (patch)
tree468105b030bd61b3c12c1b93784ff38334113355 /keyboards/cluecard/cluecard.h
parent725dd7328f9963959f72318af912ed66f5a5f513 (diff)
parentadad05c3fbd511e77a77484945fa2f675d6abf8b (diff)
downloadqmk_firmware-49fbcb3e7cea2d47df6350918ff6e00960a78b15.tar.gz
qmk_firmware-49fbcb3e7cea2d47df6350918ff6e00960a78b15.zip
Merge remote-tracking branch 'upstream/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