summaryrefslogtreecommitdiffstats
path: root/keyboards/orthodox/orthodox.h
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2017-12-09 20:40:19 +0100
committerJack Humbert <jack.humb@gmail.com>2017-12-14 06:05:28 +0100
commit6cd001e337a31cb84ab87c6156613d9667d952f1 (patch)
treeea39f46ede3c0b5310f9c5c250979000f9bf8298 /keyboards/orthodox/orthodox.h
parente4f26a9fccdd521e1f8fd834b28893cb4395393d (diff)
downloadqmk_firmware-6cd001e337a31cb84ab87c6156613d9667d952f1.tar.gz
qmk_firmware-6cd001e337a31cb84ab87c6156613d9667d952f1.tar.xz
Fixed orthodox KEYMAP so no londer requires blanks in keymap.c, and added orthodox rev3
Diffstat (limited to 'keyboards/orthodox/orthodox.h')
-rw-r--r--keyboards/orthodox/orthodox.h28
1 files changed, 16 insertions, 12 deletions
diff --git a/keyboards/orthodox/orthodox.h b/keyboards/orthodox/orthodox.h
index 89707467a..970d3a117 100644
--- a/keyboards/orthodox/orthodox.h
+++ b/keyboards/orthodox/orthodox.h
@@ -4,21 +4,25 @@
#ifdef KEYBOARD_orthodox_rev1
#include "rev1.h"
#endif
+#ifdef KEYBOARD_orthodox_rev3
+ #include "rev3.h"
+#endif
// Used to create a keymap using only KC_ prefixed keys
#define KC_KEYMAP( \
- L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
- L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
- L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
- L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \
- ) \
- KEYMAP( \
- KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, \
- KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, \
- KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \
- KC_##L30, KC_##L31, KC_##L32, KC_##L33, KC_##L34, KC_##L35, KC_##R30, KC_##R31, KC_##R32, KC_##R33, KC_##R34, KC_##R35 \
- )
+ L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
+ L10, L11, L12, L13, L14, L15, L16, L18, R10, R12, R13, R14, R15, R16, R17, R18, \
+ L20, L21, L22, L23, L24, L25, L26, L27, L28, R20, R21, R22, R23, R24, R25, R26, R27, R28 \
+ ) \
+ { \
+ { KC_##LL00, KC_##LL01, KC_##LL02, KC_##LL03, KC_##LL04, KC_##LL05 }, \
+ { KC_##LL10, KC_##LL11, KC_##LL12, KC_##LL13, KC_##LL14, KC_##LL15, KC_##LL16, KC_NO, KC_##LL18}, \
+ { KC_##LL20, KC_##LL21, KC_##LL22, KC_##LL23, KC_##LL24, KC_##LL25, KC_##LL26, KC_##LL27, KC_##LL28 }, \
+ { KC_##LR05, KC_##LR04, KC_##LR03, KC_##LR02, KC_##LR01, KC_##LR00 }, \
+ { KC_##LR18, KC_##LR17, KC_##LR16, KC_##LR15, KC_##LR14, KC_##LR13, KC_##LR12, KC_NO, KC_##LR10 }, \
+ { KC_##LR28, KC_##LR27, KC_##LR26, KC_##LR25, KC_##LR24, KC_##LR23, KC_##LR22, KC_##LR21, KC_##LR20 } \
+ }
#include "quantum.h"
-#endif \ No newline at end of file
+#endif