From 9dbee3e23d28e5f61384bbb5650505a572022341 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 16 Mar 2023 20:18:33 +1100 Subject: Remove useless "ifdef KEYBOARD_*" (#20078) Co-authored-by: Nick Brassel --- keyboards/kinesis/alvicstep/alvicstep.c | 2 +- keyboards/kinesis/alvicstep/alvicstep.h | 9 ++++++++- keyboards/kinesis/kinesis.c | 1 - keyboards/kinesis/kinesis.h | 26 ------------------------- keyboards/kinesis/kint2pp/kint2pp.c | 1 - keyboards/kinesis/nguyenvietyen/nguyenvietyen.c | 1 - keyboards/kinesis/stapelberg/stapelberg.c | 1 - 7 files changed, 9 insertions(+), 32 deletions(-) delete mode 100644 keyboards/kinesis/kinesis.c delete mode 100644 keyboards/kinesis/kinesis.h delete mode 100644 keyboards/kinesis/kint2pp/kint2pp.c delete mode 100644 keyboards/kinesis/nguyenvietyen/nguyenvietyen.c delete mode 100644 keyboards/kinesis/stapelberg/stapelberg.c (limited to 'keyboards/kinesis') 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" -- cgit v1.2.3