summaryrefslogtreecommitdiff
path: root/keyboards/orthodox
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-01-29 09:09:10 -0800
committerskullydazed <skullydazed@users.noreply.github.com>2019-04-05 14:58:42 -0700
commitc9a2d9d1aa8bb5f257954ea0569f707c0ae758b0 (patch)
treebbe262381470bc1269692e93fada800160ecc9aa /keyboards/orthodox
parenta615a2ae93107c5f4ddcb447a562af1a721a00d9 (diff)
downloadqmk_firmware-c9a2d9d1aa8bb5f257954ea0569f707c0ae758b0.tar.gz
qmk_firmware-c9a2d9d1aa8bb5f257954ea0569f707c0ae758b0.zip
Additional cleanup of orthodox files and keymaps
Diffstat (limited to 'keyboards/orthodox')
-rw-r--r--keyboards/orthodox/keymaps/oscillope/config.h6
-rw-r--r--keyboards/orthodox/keymaps/rfvizarra/config.h6
-rw-r--r--keyboards/orthodox/keymaps/xyverz/config.h7
-rw-r--r--keyboards/orthodox/orthodox.h9
-rw-r--r--keyboards/orthodox/rev1/rev1.h7
-rw-r--r--keyboards/orthodox/rev3/rev3.h6
-rw-r--r--keyboards/orthodox/rev3_teensy/rev3_teensy.h6
7 files changed, 9 insertions, 38 deletions
diff --git a/keyboards/orthodox/keymaps/oscillope/config.h b/keyboards/orthodox/keymaps/oscillope/config.h
index 3b1fd50007..edd5d74b77 100644
--- a/keyboards/orthodox/keymaps/oscillope/config.h
+++ b/keyboards/orthodox/keymaps/oscillope/config.h
@@ -19,10 +19,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
+#pragma once
-#include "config_common.h"
/* Use I2C or Serial, not both */
@@ -37,5 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TERM 200
#define TAPPING_TOGGLE 3
-
-#endif
diff --git a/keyboards/orthodox/keymaps/rfvizarra/config.h b/keyboards/orthodox/keymaps/rfvizarra/config.h
index 7ac207f0d3..7254621808 100644
--- a/keyboards/orthodox/keymaps/rfvizarra/config.h
+++ b/keyboards/orthodox/keymaps/rfvizarra/config.h
@@ -19,10 +19,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-#include "config_common.h"
+#pragma once
#ifdef AUDIO_ENABLE
#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
@@ -41,5 +39,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define MASTER_LEFT
// #define MASTER_RIGHT
#define EE_HANDS
-
-#endif
diff --git a/keyboards/orthodox/keymaps/xyverz/config.h b/keyboards/orthodox/keymaps/xyverz/config.h
index fc6d5d23b5..80d5dfd2ec 100644
--- a/keyboards/orthodox/keymaps/xyverz/config.h
+++ b/keyboards/orthodox/keymaps/xyverz/config.h
@@ -19,10 +19,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "../../config.h"
+#pragma once
/* Use I2C or Serial, not both */
@@ -34,5 +31,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MASTER_LEFT
// #define _MASTER_RIGHT
// #define EE_HANDS
-
-#endif
diff --git a/keyboards/orthodox/orthodox.h b/keyboards/orthodox/orthodox.h
index 51c5245527..6f8dad60ac 100644
--- a/keyboards/orthodox/orthodox.h
+++ b/keyboards/orthodox/orthodox.h
@@ -1,5 +1,6 @@
-#ifndef ORTHODOX_H
-#define ORTHODOX_H
+#pragma once
+
+#include "quantum.h"
#ifdef KEYBOARD_orthodox_rev1
#include "rev1.h"
@@ -25,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
diff --git a/keyboards/orthodox/rev1/rev1.h b/keyboards/orthodox/rev1/rev1.h
index e73263fb68..783dfb34b9 100644
--- a/keyboards/orthodox/rev1/rev1.h
+++ b/keyboards/orthodox/rev1/rev1.h
@@ -19,8 +19,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef REV1_H
-#define REV1_H
+#pragma once
#include "orthodox.h"
@@ -42,7 +41,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ R18, R17, R16, R15, R14, R13, R12, KC_NO, R10 }, \
{ R28, R27, R26, R25, R24, R23, R22, R21, R20 } \
}
-
-#endif
-
-
diff --git a/keyboards/orthodox/rev3/rev3.h b/keyboards/orthodox/rev3/rev3.h
index 2be9b9605c..783dfb34b9 100644
--- a/keyboards/orthodox/rev3/rev3.h
+++ b/keyboards/orthodox/rev3/rev3.h
@@ -19,8 +19,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef REV3_H
-#define REV3_H
+#pragma once
#include "orthodox.h"
@@ -42,6 +41,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ R18, R17, R16, R15, R14, R13, R12, KC_NO, R10 }, \
{ R28, R27, R26, R25, R24, R23, R22, R21, R20 } \
}
-
-#endif
-
diff --git a/keyboards/orthodox/rev3_teensy/rev3_teensy.h b/keyboards/orthodox/rev3_teensy/rev3_teensy.h
index 0081a0df01..783dfb34b9 100644
--- a/keyboards/orthodox/rev3_teensy/rev3_teensy.h
+++ b/keyboards/orthodox/rev3_teensy/rev3_teensy.h
@@ -19,8 +19,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef REV3_TEENSY_H
-#define REV3_TEENSY_H
+#pragma once
#include "orthodox.h"
@@ -42,6 +41,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ R18, R17, R16, R15, R14, R13, R12, KC_NO, R10 }, \
{ R28, R27, R26, R25, R24, R23, R22, R21, R20 } \
}
-
-#endif
-