Skip to content

Commit

Permalink
Remove default and unused BACKLIGHT_LEVELS (qmk#19898)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Feb 22, 2023
1 parent 499fc3b commit 26854f5
Show file tree
Hide file tree
Showing 261 changed files with 4 additions and 462 deletions.
3 changes: 0 additions & 3 deletions keyboards/1upkeyboards/1up60hte/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B7
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#endif

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
2 changes: 0 additions & 2 deletions keyboards/1upkeyboards/sweet16/config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#pragma once

#define BACKLIGHT_LEVELS 10

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

Expand Down
3 changes: 0 additions & 3 deletions keyboards/40percentclub/gherkin/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B5
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#endif

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
1 change: 0 additions & 1 deletion keyboards/40percentclub/mf68/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define BACKLIGHT_PIN B5
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
1 change: 0 additions & 1 deletion keyboards/40percentclub/nori/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B5
#define BACKLIGHT_LEVELS 3

// enable RGB underglow
#define RGB_DI_PIN B4
Expand Down
1 change: 0 additions & 1 deletion keyboards/4pplet/aekiso60/rev_a/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#define RGB_DI_PIN D3
#define RGBLED_NUM 12
#define BACKLIGHT_LEVELS 5

#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
Expand Down
2 changes: 0 additions & 2 deletions keyboards/4pplet/aekiso60/rev_b/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE

#define BACKLIGHT_LEVELS 5
1 change: 0 additions & 1 deletion keyboards/4pplet/steezy60/rev_a/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#define RGB_DI_PIN D3
#define RGBLED_NUM 12
#define BACKLIGHT_LEVELS 5

#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
Expand Down
1 change: 0 additions & 1 deletion keyboards/4pplet/waffling60/rev_b/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define RGB_DI_PIN D3
#define RGBLED_NUM 1
#define BACKLIGHT_LEVELS 5

#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
Expand Down
1 change: 0 additions & 1 deletion keyboards/4pplet/waffling60/rev_c/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define RGB_DI_PIN D3
#define RGBLED_NUM 1
#define BACKLIGHT_LEVELS 5

#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
Expand Down
2 changes: 0 additions & 2 deletions keyboards/4pplet/waffling60/rev_d/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_EXTERNAL_PULLUP
#define RGB_DI_PIN A8

#define BACKLIGHT_LEVELS 5

#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
1 change: 0 additions & 1 deletion keyboards/acekeyboard/titan60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

#define RGB_DI_PIN D0
Expand Down
3 changes: 1 addition & 2 deletions keyboards/acheron/athena/alpha/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"device_version": "0.0.1"
},
"backlight": {
"on_state": 0,
"breathing_period": 5
"on_state": 0
},
"indicators": {
"caps_lock": "A10"
Expand Down
3 changes: 0 additions & 3 deletions keyboards/acheron/athena/beta/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"pid": "0x6585",
"device_version": "0.0.2"
},
"backlight": {
"breathing_period": 5
},
"indicators": {
"caps_lock": "C8"
},
Expand Down
3 changes: 0 additions & 3 deletions keyboards/acheron/shark/beta/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"pid": "0x5369",
"device_version": "0.0.2"
},
"backlight": {
"breathing_period": 5
},
"processor": "STM32F411",
"bootloader": "stm32-dfu",
"community_layouts": ["ortho_4x12"],
Expand Down
1 change: 0 additions & 1 deletion keyboards/adelheid/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN C6
#define BACKLIGHT_LEVELS 3

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
1 change: 0 additions & 1 deletion keyboards/ai03/orbit/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SPLIT_HAND_PIN D5

#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 3

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
1 change: 0 additions & 1 deletion keyboards/al1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SN74X154_E1_PIN D3

#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
Expand Down
1 change: 0 additions & 1 deletion keyboards/alf/x11/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3

#define RGB_DI_PIN F7
#ifdef RGB_DI_PIN
Expand Down
3 changes: 0 additions & 3 deletions keyboards/alf/x2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B6
#ifdef BACKLIGHT_PIN
# define BACKLIGHT_LEVELS 3
#endif

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
4 changes: 0 additions & 4 deletions keyboards/alpha/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#endif

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

Expand Down
1 change: 0 additions & 1 deletion keyboards/amjkeyboard/amj66/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
Expand Down
1 change: 0 additions & 1 deletion keyboards/amjkeyboard/amj84/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
Expand Down
1 change: 0 additions & 1 deletion keyboards/anavi/macropad8/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define BACKLIGHT_PIN D7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3
#define RGBLIGHT_SLEEP


Expand Down
1 change: 0 additions & 1 deletion keyboards/ares/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3

#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
Expand Down
2 changes: 0 additions & 2 deletions keyboards/atomic/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_LEVELS 3

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
2 changes: 0 additions & 2 deletions keyboards/avalanche/v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }

#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B0
2 changes: 0 additions & 2 deletions keyboards/bajjak/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
)

#define BACKLIGHT_LEVELS 3

#ifndef LED_BRIGHTNESS_LO
#define LED_BRIGHTNESS_LO 15
#endif
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bantam44/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_LEVELS 3

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
1 change: 0 additions & 1 deletion keyboards/bfake/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3

#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/ellipse/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
},
"backlight": {
"breathing": true,
"breathing_period": 5,
"levels": 15,
"pin": "A6"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/moment/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
},
"backlight": {
"breathing": true,
"breathing_period": 5,
"levels": 15,
"pin": "A6"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/ortho60v2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
},
"backlight": {
"breathing": true,
"breathing_period": 5,
"levels": 15,
"pin": "GP12"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/serenity/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
},
"backlight": {
"breathing": true,
"breathing_period": 5,
"levels": 15,
"pin": "A6"
},
Expand Down
3 changes: 0 additions & 3 deletions keyboards/cherrybstudio/cb87/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B6
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#endif

#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
Expand Down
3 changes: 0 additions & 3 deletions keyboards/cherrybstudio/cb87v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B6
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#endif

#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
Expand Down
1 change: 0 additions & 1 deletion keyboards/ckeys/obelus/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 3

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
1 change: 0 additions & 1 deletion keyboards/ckeys/washington/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define BACKLIGHT_PIN B6
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
22 changes: 0 additions & 22 deletions keyboards/clueboard/17/config.h

This file was deleted.

5 changes: 0 additions & 5 deletions keyboards/clueboard/66/rev4/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#pragma once


/* Backlight configuration
*/
#define BACKLIGHT_LEVELS 1

/* Underlight configuration
*/
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
Expand Down
4 changes: 0 additions & 4 deletions keyboards/clueboard/66_hotswap/gen1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

/* Backlight configuration
*/
#define BACKLIGHT_LEVELS 10

// This is a 7-bit address, that gets left-shifted and bit 0
// set to 0 for write, 1 for read (as per I2C protocol)
// The address will vary depending on your wiring:
Expand Down
1 change: 0 additions & 1 deletion keyboards/copenhagen_click/click_pad_v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define BACKLIGHT_PIN B5
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
1 change: 0 additions & 1 deletion keyboards/db/db63/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE

#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3
4 changes: 0 additions & 4 deletions keyboards/demiurge/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 1
#endif

#define RGB_DI_PIN F1
#ifdef RGB_DI_PIN
#define RGBLED_NUM 21
Expand Down
1 change: 0 additions & 1 deletion keyboards/donutcables/budget96/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 3

#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
Expand Down
Loading

0 comments on commit 26854f5

Please sign in to comment.