summaryrefslogtreecommitdiffstats
path: root/keyboards/roadkit/roadkit.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-02-28 21:48:34 +0100
committerGitHub <noreply@github.com>2017-02-28 21:48:34 +0100
commit4c4cf3ca4921ed94b6f51398a070293e9efc5e0b (patch)
treefa0d12b89644b091d60a5be6e3ce5ce8ca888150 /keyboards/roadkit/roadkit.h
parent72c5dd1c935cd04dadbe5ffe698beb5412335ff8 (diff)
parente12b1a237cd4e9ce4191efb13987871a91b5916e (diff)
downloadqmk_firmware-4c4cf3ca4921ed94b6f51398a070293e9efc5e0b.tar.gz
qmk_firmware-4c4cf3ca4921ed94b6f51398a070293e9efc5e0b.tar.xz
Merge pull request #1124 from jmdaly/roadkit_firmware
Add initial version of TheVan Keyboards Roadkit Firmware
Diffstat (limited to 'keyboards/roadkit/roadkit.h')
-rw-r--r--keyboards/roadkit/roadkit.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/roadkit/roadkit.h b/keyboards/roadkit/roadkit.h
new file mode 100644
index 000000000..b10e5740f
--- /dev/null
+++ b/keyboards/roadkit/roadkit.h
@@ -0,0 +1,33 @@
+#ifndef ROADKIT_H
+#define ROADKIT_H
+
+#include "quantum.h"
+
+// This is a shortcut to help you visually see your layout.
+#define KEYMAP( \
+ K00, K01, K02, K03, \
+ K10, K11, K12, \
+ K20, K21, K22, K23, \
+ K30, K32 \
+) \
+{ \
+ { K00, K01, K02, K03 }, \
+ { K10, K11, K12, KC_NO }, \
+ { K20, K21, K22, K23 }, \
+ { K30, KC_NO, K32, KC_NO } \
+}
+
+#define SINGLES_KEYMAP( \
+ K00, K01, K02, K03, \
+ K10, K11, K12, K13, \
+ K20, K21, K22, K23, \
+ K30, K31, K32, K33 \
+) \
+{ \
+ { K00, K01, K02, K03 }, \
+ { K10, K11, K12, K13 }, \
+ { K20, K21, K22, K23 }, \
+ { K30, K31, K32, K33 } \
+}
+
+#endif