From de2c81d5b29fc3b3b86f977b72ab3357a1d13a63 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Fri, 7 Oct 2022 02:07:56 -0600 Subject: Remove all `BACKLIGHT_LEVELS 0` (#18630) --- keyboards/bpiphany/four_banger/config.h | 6 ------ keyboards/contra/config.h | 6 ------ keyboards/creatkeebs/glacier/config.h | 6 ------ keyboards/creatkeebs/thera/config.h | 7 ------- keyboards/fractal/config.h | 6 ------ keyboards/gh80_3000/config.h | 6 ------ keyboards/handwired/2x5keypad/config.h | 6 ------ keyboards/handwired/cans12er/config.h | 6 ------ keyboards/handwired/hexon38/config.h | 6 ------ keyboards/handwired/jopr/config.h | 5 ----- keyboards/handwired/retro_refit/config.h | 3 --- keyboards/handwired/space_oddity/config.h | 6 ------ keyboards/idb/idb_60/config.h | 3 --- keyboards/illusion/rosa/config.h | 1 - keyboards/keebzdotnet/fme/config.h | 6 ------ keyboards/keyhive/southpole/config.h | 8 +------- keyboards/kingly_keys/romac/config.h | 4 ---- keyboards/kingly_keys/romac_plus/config.h | 3 --- keyboards/makrosu/config.h | 6 ------ keyboards/omnikeyish/config.h | 5 ----- keyboards/pkb65/config.h | 6 ------ keyboards/rart/rart67/config.h | 3 --- keyboards/sixkeyboard/config.h | 3 --- keyboards/skergo/config.h | 6 ------ keyboards/toad/config.h | 6 ------ keyboards/viktus/omnikey_bh/config.h | 5 ----- keyboards/wsk/houndstooth/config.h | 6 ------ keyboards/wsk/jerkin/config.h | 6 ------ keyboards/wsk/sl40/config.h | 6 ------ keyboards/xmmx/config.h | 6 ------ keyboards/zlant/config.h | 6 ------ 31 files changed, 1 insertion(+), 163 deletions(-) diff --git a/keyboards/bpiphany/four_banger/config.h b/keyboards/bpiphany/four_banger/config.h index 5408ee3350..9fe72d0788 100644 --- a/keyboards/bpiphany/four_banger/config.h +++ b/keyboards/bpiphany/four_banger/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/contra/config.h b/keyboards/contra/config.h index a6be554875..3f45e641f5 100755 --- a/keyboards/contra/config.h +++ b/keyboards/contra/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/creatkeebs/glacier/config.h b/keyboards/creatkeebs/glacier/config.h index 0af5d6f6b7..e48ac999db 100644 --- a/keyboards/creatkeebs/glacier/config.h +++ b/keyboards/creatkeebs/glacier/config.h @@ -29,12 +29,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/creatkeebs/thera/config.h b/keyboards/creatkeebs/thera/config.h index 68494a1cd6..4761d61a34 100644 --- a/keyboards/creatkeebs/thera/config.h +++ b/keyboards/creatkeebs/thera/config.h @@ -29,13 +29,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - - #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/fractal/config.h b/keyboards/fractal/config.h index 9db3d0abe5..8b40a62f42 100755 --- a/keyboards/fractal/config.h +++ b/keyboards/fractal/config.h @@ -14,12 +14,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/gh80_3000/config.h b/keyboards/gh80_3000/config.h index b3df0ae2f6..1717a7806d 100644 --- a/keyboards/gh80_3000/config.h +++ b/keyboards/gh80_3000/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/2x5keypad/config.h b/keyboards/handwired/2x5keypad/config.h index 00c4ac1ab4..d038b0534a 100644 --- a/keyboards/handwired/2x5keypad/config.h +++ b/keyboards/handwired/2x5keypad/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/cans12er/config.h b/keyboards/handwired/cans12er/config.h index 240a2a5da9..8e7ce92439 100644 --- a/keyboards/handwired/cans12er/config.h +++ b/keyboards/handwired/cans12er/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/hexon38/config.h b/keyboards/handwired/hexon38/config.h index b6529b3ddf..292e0c8410 100644 --- a/keyboards/handwired/hexon38/config.h +++ b/keyboards/handwired/hexon38/config.h @@ -15,12 +15,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/jopr/config.h b/keyboards/handwired/jopr/config.h index 5625f99521..bf7d94d5f6 100644 --- a/keyboards/handwired/jopr/config.h +++ b/keyboards/handwired/jopr/config.h @@ -13,11 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/retro_refit/config.h b/keyboards/handwired/retro_refit/config.h index 89e6fc9595..34a16b6c37 100644 --- a/keyboards/handwired/retro_refit/config.h +++ b/keyboards/handwired/retro_refit/config.h @@ -33,9 +33,6 @@ along with this program. If not, see . /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST -/* number of backlight levels */ -#define BACKLIGHT_LEVELS 0 - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/space_oddity/config.h b/keyboards/handwired/space_oddity/config.h index 0c8e86704e..ab0847e87a 100644 --- a/keyboards/handwired/space_oddity/config.h +++ b/keyboards/handwired/space_oddity/config.h @@ -19,12 +19,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/idb/idb_60/config.h b/keyboards/idb/idb_60/config.h index 24960dcbd5..9ea311578d 100644 --- a/keyboards/idb/idb_60/config.h +++ b/keyboards/idb/idb_60/config.h @@ -45,9 +45,6 @@ along with this program. If not, see . /* define if matrix has ghost (lacks anti-ghosting diodes) */ //#define MATRIX_HAS_GHOST -/* number of backlight levels */ -#define BACKLIGHT_LEVELS 0 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/illusion/rosa/config.h b/keyboards/illusion/rosa/config.h index 1bfc08c8c8..f4c80da14c 100644 --- a/keyboards/illusion/rosa/config.h +++ b/keyboards/illusion/rosa/config.h @@ -31,7 +31,6 @@ along with this program. If not, see . #define LED_CAPS_LOCK_PIN B3 #define LED_PIN_ON_STATE 0 -#define BACKLIGHT_LEVELS 0 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 diff --git a/keyboards/keebzdotnet/fme/config.h b/keyboards/keebzdotnet/fme/config.h index 1723e314ef..ccedbb4fd7 100644 --- a/keyboards/keebzdotnet/fme/config.h +++ b/keyboards/keebzdotnet/fme/config.h @@ -30,12 +30,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/keyhive/southpole/config.h b/keyboards/keyhive/southpole/config.h index d74682cea2..1fe3134cab 100644 --- a/keyboards/keyhive/southpole/config.h +++ b/keyboards/keyhive/southpole/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 @@ -34,4 +28,4 @@ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 -#endif \ No newline at end of file +#endif diff --git a/keyboards/kingly_keys/romac/config.h b/keyboards/kingly_keys/romac/config.h index a5478582b1..246ef019a4 100644 --- a/keyboards/kingly_keys/romac/config.h +++ b/keyboards/kingly_keys/romac/config.h @@ -13,10 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#define BACKLIGHT_LEVELS 0 - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/kingly_keys/romac_plus/config.h b/keyboards/kingly_keys/romac_plus/config.h index 441584a84e..0618521306 100644 --- a/keyboards/kingly_keys/romac_plus/config.h +++ b/keyboards/kingly_keys/romac_plus/config.h @@ -16,9 +16,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ -#define BACKLIGHT_LEVELS 0 - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/makrosu/config.h b/keyboards/makrosu/config.h index f441a16f7a..96fe08b87e 100644 --- a/keyboards/makrosu/config.h +++ b/keyboards/makrosu/config.h @@ -34,12 +34,6 @@ #define BOOTMAGIC_LITE_ROW 0 #define BOOTMAGIC_LITE_COLUMN 5 -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/omnikeyish/config.h b/keyboards/omnikeyish/config.h index 6d02623b21..4a969eb43f 100644 --- a/keyboards/omnikeyish/config.h +++ b/keyboards/omnikeyish/config.h @@ -23,11 +23,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* number of backlight levels */ -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/pkb65/config.h b/keyboards/pkb65/config.h index ab71d1633e..6805d14be1 100644 --- a/keyboards/pkb65/config.h +++ b/keyboards/pkb65/config.h @@ -34,12 +34,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/rart/rart67/config.h b/keyboards/rart/rart67/config.h index a303b42cd2..19011f347d 100644 --- a/keyboards/rart/rart67/config.h +++ b/keyboards/rart/rart67/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ -#define BACKLIGHT_LEVELS 0 - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/sixkeyboard/config.h b/keyboards/sixkeyboard/config.h index f9379f5720..ee70eadf1b 100644 --- a/keyboards/sixkeyboard/config.h +++ b/keyboards/sixkeyboard/config.h @@ -26,9 +26,6 @@ along with this program. If not, see . /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST -/* number of backlight levels */ -#define BACKLIGHT_LEVELS 0 - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/skergo/config.h b/keyboards/skergo/config.h index 54c83eb469..906246f5fa 100644 --- a/keyboards/skergo/config.h +++ b/keyboards/skergo/config.h @@ -29,12 +29,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -// #ifdef BACKLIGHT_PIN -// #define BACKLIGHT_LEVELS 0 -// #endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/toad/config.h b/keyboards/toad/config.h index 98669c3d99..92c2f06e59 100644 --- a/keyboards/toad/config.h +++ b/keyboards/toad/config.h @@ -17,12 +17,6 @@ #define LED_SCROLL_LOCK_PIN B5 #define LED_PIN_ON_STATE 0 -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/viktus/omnikey_bh/config.h b/keyboards/viktus/omnikey_bh/config.h index ab2e130da8..fd0872f69e 100644 --- a/keyboards/viktus/omnikey_bh/config.h +++ b/keyboards/viktus/omnikey_bh/config.h @@ -13,11 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/wsk/houndstooth/config.h b/keyboards/wsk/houndstooth/config.h index 5935d38845..bb66f98017 100644 --- a/keyboards/wsk/houndstooth/config.h +++ b/keyboards/wsk/houndstooth/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -//#ifdef BACKLIGHT_PIN -//#define BACKLIGHT_LEVELS 0 -//#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/wsk/jerkin/config.h b/keyboards/wsk/jerkin/config.h index 52f5f57dd2..03f1517d6e 100644 --- a/keyboards/wsk/jerkin/config.h +++ b/keyboards/wsk/jerkin/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/wsk/sl40/config.h b/keyboards/wsk/sl40/config.h index 6377ebb3f7..85edfa3455 100644 --- a/keyboards/wsk/sl40/config.h +++ b/keyboards/wsk/sl40/config.h @@ -29,12 +29,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/xmmx/config.h b/keyboards/xmmx/config.h index 1e9f2c9398..9a94680889 100644 --- a/keyboards/xmmx/config.h +++ b/keyboards/xmmx/config.h @@ -17,12 +17,6 @@ #define LED_SCROLL_LOCK_PIN B5 #define LED_PIN_ON_STATE 0 -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/zlant/config.h b/keyboards/zlant/config.h index 3d581266b9..31502e0ef6 100755 --- a/keyboards/zlant/config.h +++ b/keyboards/zlant/config.h @@ -13,12 +13,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 0 -#endif - /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 -- cgit v1.2.3