From ad625e7c06929092231e8f426cbe972681d91a03 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 23 Mar 2023 21:38:01 +1100 Subject: Remove `RGB_DI_PIN` ifdefs (#20218) --- keyboards/yushakobo/navpad/10/config.h | 2 -- keyboards/yushakobo/navpad/10/keymaps/default/config.h | 4 ---- keyboards/yushakobo/navpad/10/keymaps/via/config.h | 4 ---- keyboards/yushakobo/navpad/10/rev1/config.h | 2 -- keyboards/yushakobo/navpad/10_helix_r/config.h | 8 ++------ keyboards/yushakobo/navpad/10_helix_r/keymaps/default/config.h | 4 ---- 6 files changed, 2 insertions(+), 22 deletions(-) (limited to 'keyboards/yushakobo/navpad') diff --git a/keyboards/yushakobo/navpad/10/config.h b/keyboards/yushakobo/navpad/10/config.h index 4a567f22b1..3b3c9b14dc 100644 --- a/keyboards/yushakobo/navpad/10/config.h +++ b/keyboards/yushakobo/navpad/10/config.h @@ -18,7 +18,6 @@ along with this program. If not, see . #pragma once #define RGB_DI_PIN D3 -#ifdef RGB_DI_PIN # define RGBLED_NUM 9 # define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_SAT_STEP 8 @@ -34,7 +33,6 @@ along with this program. If not, see . //# define RGBLIGHT_EFFECT_STATIC_GRADIENT # define RGBLIGHT_EFFECT_RGB_TEST //# define RGBLIGHT_EFFECT_ALTERNATING -#endif /* disable action features */ //#define NO_ACTION_LAYER diff --git a/keyboards/yushakobo/navpad/10/keymaps/default/config.h b/keyboards/yushakobo/navpad/10/keymaps/default/config.h index b4d2122ab4..10ba897cce 100644 --- a/keyboards/yushakobo/navpad/10/keymaps/default/config.h +++ b/keyboards/yushakobo/navpad/10/keymaps/default/config.h @@ -17,9 +17,5 @@ along with this program. If not, see . #pragma once -#ifdef RGB_DI_PIN - #define RGBLIGHT_LAYERS #define RGBLIGHT_MAX_LAYERS 6 - -#endif diff --git a/keyboards/yushakobo/navpad/10/keymaps/via/config.h b/keyboards/yushakobo/navpad/10/keymaps/via/config.h index b4d2122ab4..10ba897cce 100644 --- a/keyboards/yushakobo/navpad/10/keymaps/via/config.h +++ b/keyboards/yushakobo/navpad/10/keymaps/via/config.h @@ -17,9 +17,5 @@ along with this program. If not, see . #pragma once -#ifdef RGB_DI_PIN - #define RGBLIGHT_LAYERS #define RGBLIGHT_MAX_LAYERS 6 - -#endif diff --git a/keyboards/yushakobo/navpad/10/rev1/config.h b/keyboards/yushakobo/navpad/10/rev1/config.h index 4c69a35dea..d4a4e48d77 100644 --- a/keyboards/yushakobo/navpad/10/rev1/config.h +++ b/keyboards/yushakobo/navpad/10/rev1/config.h @@ -17,6 +17,4 @@ along with this program. If not, see . #pragma once -#ifdef RGB_DI_PIN # define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 8, 7 } -#endif diff --git a/keyboards/yushakobo/navpad/10_helix_r/config.h b/keyboards/yushakobo/navpad/10_helix_r/config.h index ae49a16f3b..5b59cf5d5e 100644 --- a/keyboards/yushakobo/navpad/10_helix_r/config.h +++ b/keyboards/yushakobo/navpad/10_helix_r/config.h @@ -19,17 +19,14 @@ along with this program. If not, see . #define EE_HANDS -#ifdef RGB_DI_PIN -# define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 8, 7, \//navpad side - 9, 10, 11, 12, 13, 14, \//helix side +# define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 8, 7, \ + 9, 10, 11, 12, 13, 14, \ 20, 19, 18, 17, 16, 15, \ 21, 22, 23, 24, 25, 26, \ 33, 32, 31, 30, 29, 28, 27, \ 34, 35, 36, 37, 38, 39, 40 } -#endif #define RGB_DI_PIN D3 -#ifdef RGB_DI_PIN # define RGBLED_NUM 9+32 # define RGBLED_SPLIT { 9, 32 } # define RGBLIGHT_HUE_STEP 8 @@ -46,7 +43,6 @@ along with this program. If not, see . //# define RGBLIGHT_EFFECT_STATIC_GRADIENT # define RGBLIGHT_EFFECT_RGB_TEST //# define RGBLIGHT_EFFECT_ALTERNATING -#endif /* disable action features */ //#define NO_ACTION_LAYER diff --git a/keyboards/yushakobo/navpad/10_helix_r/keymaps/default/config.h b/keyboards/yushakobo/navpad/10_helix_r/keymaps/default/config.h index b4d2122ab4..10ba897cce 100644 --- a/keyboards/yushakobo/navpad/10_helix_r/keymaps/default/config.h +++ b/keyboards/yushakobo/navpad/10_helix_r/keymaps/default/config.h @@ -17,9 +17,5 @@ along with this program. If not, see . #pragma once -#ifdef RGB_DI_PIN - #define RGBLIGHT_LAYERS #define RGBLIGHT_MAX_LAYERS 6 - -#endif -- cgit v1.2.3