summaryrefslogtreecommitdiff
path: root/keyboards/kinesis/kinesis.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kinesis/kinesis.h')
-rw-r--r--keyboards/kinesis/kinesis.h37
1 files changed, 13 insertions, 24 deletions
diff --git a/keyboards/kinesis/kinesis.h b/keyboards/kinesis/kinesis.h
index 1635c34436..54cf6b81a7 100644
--- a/keyboards/kinesis/kinesis.h
+++ b/keyboards/kinesis/kinesis.h
@@ -1,35 +1,24 @@
-#ifndef KINESIS_H
-#define KINESIS_H
+#pragma once
-#ifdef KEYBOARD_kinesis_alvicstep
- #include "alvicstep.h"
-#endif
-#ifdef KEYBOARD_kinesis_stapelberg
- #include "stapelberg.h"
-#endif
-#ifdef KEYBOARD_kinesis_kint2pp
- #include "kint2pp.h"
-#endif
-#ifdef KEYBOARD_kinesis_nguyenvietyen
- #include "nguyenvietyen.h"
-#endif
-#ifdef KEYBOARD_kinesis_kint36
- #include "kint36.h"
-#endif
-#ifdef KEYBOARD_kinesis_kint41
- #include "kint41.h"
+#if defined(KEYBOARD_kinesis_alvicstep)
+# include "alvicstep.h"
+#elif defined(KEYBOARD_kinesis_stapelberg)
+# include "stapelberg.h"
+#elif defined(KEYBOARD_kinesis_kint2pp)
+# include "kint2pp.h"
+#elif defined(KEYBOARD_kinesis_nguyenvietyen)
+# include "nguyenvietyen.h"
+#elif defined(KEYBOARD_kinesis_kint36)
+# include "kint36.h"
+#elif defined(KEYBOARD_kinesis_kint41)
+# include "kint41.h"
#endif
#include "quantum.h"
-
void all_led_off(void);
void all_led_on(void);
void num_lock_led_on(void);
void caps_lock_led_on(void);
void scroll_lock_led_on(void);
void keypad_led_on(void);
-
-
-
-#endif