diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-16 20:18:33 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 20:18:33 +1100 |
commit | 9dbee3e23d28e5f61384bbb5650505a572022341 (patch) | |
tree | bfa5fae549305e780fb81ce7275ced1f808a7e36 /keyboards/kinesis | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/kinesis')
-rw-r--r-- | keyboards/kinesis/alvicstep/alvicstep.c | 2 | ||||
-rw-r--r-- | keyboards/kinesis/alvicstep/alvicstep.h | 9 | ||||
-rw-r--r-- | keyboards/kinesis/kinesis.c | 1 | ||||
-rw-r--r-- | keyboards/kinesis/kinesis.h | 26 | ||||
-rw-r--r-- | keyboards/kinesis/kint2pp/kint2pp.c | 1 | ||||
-rw-r--r-- | keyboards/kinesis/nguyenvietyen/nguyenvietyen.c | 1 | ||||
-rw-r--r-- | keyboards/kinesis/stapelberg/stapelberg.c | 1 |
7 files changed, 9 insertions, 32 deletions
diff --git a/keyboards/kinesis/alvicstep/alvicstep.c b/keyboards/kinesis/alvicstep/alvicstep.c index a2a62df36a..274ac083c5 100644 --- a/keyboards/kinesis/alvicstep/alvicstep.c +++ b/keyboards/kinesis/alvicstep/alvicstep.c @@ -1,4 +1,4 @@ -#include "kinesis.h" +#include "alvicstep.h" // begin section origin https://github.com/alvicstep/tmk_keyboard diff --git a/keyboards/kinesis/alvicstep/alvicstep.h b/keyboards/kinesis/alvicstep/alvicstep.h index 053698770a..3b71e51678 100644 --- a/keyboards/kinesis/alvicstep/alvicstep.h +++ b/keyboards/kinesis/alvicstep/alvicstep.h @@ -1,6 +1,13 @@ #pragma once -#include "../kinesis.h" +#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); #define ___ KC_NO diff --git a/keyboards/kinesis/kinesis.c b/keyboards/kinesis/kinesis.c deleted file mode 100644 index 7a6a1be544..0000000000 --- a/keyboards/kinesis/kinesis.c +++ /dev/null @@ -1 +0,0 @@ -#include "kinesis.h" diff --git a/keyboards/kinesis/kinesis.h b/keyboards/kinesis/kinesis.h deleted file mode 100644 index e3345ee27f..0000000000 --- a/keyboards/kinesis/kinesis.h +++ /dev/null @@ -1,26 +0,0 @@ -#pragma once - -#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" -#elif defined(KEYBOARD_kinesis_kintlc) -# include "kintlc.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); diff --git a/keyboards/kinesis/kint2pp/kint2pp.c b/keyboards/kinesis/kint2pp/kint2pp.c deleted file mode 100644 index 856e29c31e..0000000000 --- a/keyboards/kinesis/kint2pp/kint2pp.c +++ /dev/null @@ -1 +0,0 @@ -#include "kint2pp.h" diff --git a/keyboards/kinesis/nguyenvietyen/nguyenvietyen.c b/keyboards/kinesis/nguyenvietyen/nguyenvietyen.c deleted file mode 100644 index 3f01479389..0000000000 --- a/keyboards/kinesis/nguyenvietyen/nguyenvietyen.c +++ /dev/null @@ -1 +0,0 @@ -#include "nguyenvietyen.h" diff --git a/keyboards/kinesis/stapelberg/stapelberg.c b/keyboards/kinesis/stapelberg/stapelberg.c deleted file mode 100644 index a69679eef9..0000000000 --- a/keyboards/kinesis/stapelberg/stapelberg.c +++ /dev/null @@ -1 +0,0 @@ -#include "stapelberg.h" |