]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/orthodox/orthodox.h
Fix compiling json files. (#6340)
[qmk_firmware.git] / keyboards / orthodox / orthodox.h
index 970d3a117378c858b033c8ed3c61c40bc503be33..6f8dad60acb07b05768d25ff1a8c40dc8df7b06e 100644 (file)
@@ -1,15 +1,19 @@
-#ifndef ORTHODOX_H
-#define ORTHODOX_H
+#pragma once
+
+#include "quantum.h"
 
 #ifdef KEYBOARD_orthodox_rev1
     #include "rev1.h"
 #endif
 #ifdef KEYBOARD_orthodox_rev3
-    #include "rev3.h"
+#include "rev3.h"
+#endif
+#ifdef KEYBOARD_orthodox_rev3_teensy
+#include "rev3_teensy.h"
 #endif
 
 // Used to create a keymap using only KC_ prefixed keys
-#define KC_KEYMAP( \
+#define LAYOUT_kc( \
        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 \
@@ -22,7 +26,3 @@
                { 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