Skip to content

Commit 26854f5

Browse files
authored
Remove default and unused BACKLIGHT_LEVELS (#19898)
1 parent 499fc3b commit 26854f5

File tree

261 files changed

+4
-462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+4
-462
lines changed

keyboards/1upkeyboards/1up60hte/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2727
#define DIODE_DIRECTION COL2ROW
2828

2929
#define BACKLIGHT_PIN B7
30-
#ifdef BACKLIGHT_PIN
31-
#define BACKLIGHT_LEVELS 3
32-
#endif
3330

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

keyboards/1upkeyboards/sweet16/config.h

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#pragma once
22

3-
#define BACKLIGHT_LEVELS 10
4-
53
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
64
#define LOCKING_SUPPORT_ENABLE
75

keyboards/40percentclub/gherkin/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
#define DIODE_DIRECTION COL2ROW
1010

1111
#define BACKLIGHT_PIN B5
12-
#ifdef BACKLIGHT_PIN
13-
#define BACKLIGHT_LEVELS 3
14-
#endif
1512

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

keyboards/40percentclub/mf68/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3636

3737
#define BACKLIGHT_PIN B5
3838
#define BACKLIGHT_BREATHING
39-
#define BACKLIGHT_LEVELS 3
4039

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

keyboards/40percentclub/nori/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#define DIODE_DIRECTION COL2ROW
3535

3636
#define BACKLIGHT_PIN B5
37-
#define BACKLIGHT_LEVELS 3
3837

3938
// enable RGB underglow
4039
#define RGB_DI_PIN B4

keyboards/4pplet/aekiso60/rev_a/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#define RGB_DI_PIN D3
1515
#define RGBLED_NUM 12
16-
#define BACKLIGHT_LEVELS 5
1716

1817
#define RGBLIGHT_HUE_STEP 8
1918
#define RGBLIGHT_SAT_STEP 8

keyboards/4pplet/aekiso60/rev_b/config.h

-2
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4444
#define RGBLIGHT_EFFECT_RGB_TEST
4545
#define RGBLIGHT_EFFECT_ALTERNATING
4646
#define RGBLIGHT_EFFECT_TWINKLE
47-
48-
#define BACKLIGHT_LEVELS 5

keyboards/4pplet/steezy60/rev_a/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#define RGB_DI_PIN D3
1515
#define RGBLED_NUM 12
16-
#define BACKLIGHT_LEVELS 5
1716

1817
#define RGBLIGHT_HUE_STEP 8
1918
#define RGBLIGHT_SAT_STEP 8

keyboards/4pplet/waffling60/rev_b/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3030

3131
#define RGB_DI_PIN D3
3232
#define RGBLED_NUM 1
33-
#define BACKLIGHT_LEVELS 5
3433

3534
#define RGBLIGHT_HUE_STEP 8
3635
#define RGBLIGHT_SAT_STEP 8

keyboards/4pplet/waffling60/rev_c/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3030

3131
#define RGB_DI_PIN D3
3232
#define RGBLED_NUM 1
33-
#define BACKLIGHT_LEVELS 5
3433

3534
#define RGBLIGHT_HUE_STEP 8
3635
#define RGBLIGHT_SAT_STEP 8

keyboards/4pplet/waffling60/rev_d/config.h

-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3232
#define WS2812_EXTERNAL_PULLUP
3333
#define RGB_DI_PIN A8
3434

35-
#define BACKLIGHT_LEVELS 5
36-
3735
#define RGBLIGHT_HUE_STEP 8
3836
#define RGBLIGHT_SAT_STEP 8
3937
#define RGBLIGHT_VAL_STEP 8

keyboards/acekeyboard/titan60/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3838
#define DIODE_DIRECTION COL2ROW
3939

4040
#define BACKLIGHT_PIN B7
41-
#define BACKLIGHT_LEVELS 3
4241
#define BACKLIGHT_BREATHING
4342

4443
#define RGB_DI_PIN D0

keyboards/acheron/athena/alpha/info.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"device_version": "0.0.1"
66
},
77
"backlight": {
8-
"on_state": 0,
9-
"breathing_period": 5
8+
"on_state": 0
109
},
1110
"indicators": {
1211
"caps_lock": "A10"

keyboards/acheron/athena/beta/info.json

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"pid": "0x6585",
55
"device_version": "0.0.2"
66
},
7-
"backlight": {
8-
"breathing_period": 5
9-
},
107
"indicators": {
118
"caps_lock": "C8"
129
},

keyboards/acheron/shark/beta/info.json

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"pid": "0x5369",
55
"device_version": "0.0.2"
66
},
7-
"backlight": {
8-
"breathing_period": 5
9-
},
107
"processor": "STM32F411",
118
"bootloader": "stm32-dfu",
129
"community_layouts": ["ortho_4x12"],

keyboards/adelheid/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3535
#define DIODE_DIRECTION COL2ROW
3636

3737
#define BACKLIGHT_PIN C6
38-
#define BACKLIGHT_LEVELS 3
3938

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

keyboards/ai03/orbit/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4444
#define SPLIT_HAND_PIN D5
4545

4646
#define BACKLIGHT_PIN B7
47-
#define BACKLIGHT_LEVELS 3
4847

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

keyboards/al1/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2828
#define SN74X154_E1_PIN D3
2929

3030
#define BACKLIGHT_PIN B6
31-
#define BACKLIGHT_LEVELS 3
3231
#define BACKLIGHT_BREATHING
3332

3433
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */

keyboards/alf/x11/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3636

3737
#define BACKLIGHT_PIN B7
3838
#define BACKLIGHT_BREATHING
39-
#define BACKLIGHT_LEVELS 3
4039

4140
#define RGB_DI_PIN F7
4241
#ifdef RGB_DI_PIN

keyboards/alf/x2/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
#define DIODE_DIRECTION COL2ROW
2828

2929
#define BACKLIGHT_PIN B6
30-
#ifdef BACKLIGHT_PIN
31-
# define BACKLIGHT_LEVELS 3
32-
#endif
3330

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

keyboards/alpha/config.h

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
/* COL2ROW or ROW2COL */
99
#define DIODE_DIRECTION COL2ROW
1010

11-
#ifdef BACKLIGHT_PIN
12-
#define BACKLIGHT_LEVELS 3
13-
#endif
14-
1511
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
1612
#define LOCKING_SUPPORT_ENABLE
1713

keyboards/amjkeyboard/amj66/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2626
#define DIODE_DIRECTION COL2ROW
2727

2828
#define BACKLIGHT_PIN D4
29-
#define BACKLIGHT_LEVELS 3
3029
#define BACKLIGHT_BREATHING
3130

3231
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */

keyboards/amjkeyboard/amj84/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#define DIODE_DIRECTION COL2ROW
2222

2323
#define BACKLIGHT_PIN B6
24-
#define BACKLIGHT_LEVELS 3
2524
#define BACKLIGHT_BREATHING
2625

2726
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */

keyboards/anavi/macropad8/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
1919

2020
#define BACKLIGHT_PIN D7
2121
#define BACKLIGHT_BREATHING
22-
#define BACKLIGHT_LEVELS 3
2322
#define RGBLIGHT_SLEEP
2423

2524

keyboards/ares/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2626
#define DIODE_DIRECTION COL2ROW
2727

2828
#define BACKLIGHT_PIN D4
29-
#define BACKLIGHT_LEVELS 3
3029

3130
#define RGBLIGHT_EFFECT_BREATHING
3231
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

keyboards/atomic/config.h

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3636
/* COL2ROW or ROW2COL */
3737
#define DIODE_DIRECTION COL2ROW
3838

39-
#define BACKLIGHT_LEVELS 3
40-
4139
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
4240
#define LOCKING_SUPPORT_ENABLE
4341
/* Locking resynchronize hack */

keyboards/avalanche/v1/config.h

-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@
77
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
88

99
#define DIODE_DIRECTION COL2ROW
10-
11-
#define BACKLIGHT_PIN B0

keyboards/bajjak/config.h

-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
5959
get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
6060
)
6161

62-
#define BACKLIGHT_LEVELS 3
63-
6462
#ifndef LED_BRIGHTNESS_LO
6563
#define LED_BRIGHTNESS_LO 15
6664
#endif

keyboards/bantam44/config.h

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2727
/* COL2ROW or ROW2COL */
2828
#define DIODE_DIRECTION COL2ROW
2929

30-
#define BACKLIGHT_LEVELS 3
31-
3230
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
3331
#define LOCKING_SUPPORT_ENABLE
3432
/* Locking resynchronize hack */

keyboards/bfake/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2626
#define DIODE_DIRECTION COL2ROW
2727

2828
#define BACKLIGHT_PIN D4
29-
#define BACKLIGHT_LEVELS 3
3029

3130
#define RGBLIGHT_EFFECT_BREATHING
3231
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

keyboards/cannonkeys/ellipse/info.json

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
},
2020
"backlight": {
2121
"breathing": true,
22-
"breathing_period": 5,
2322
"levels": 15,
2423
"pin": "A6"
2524
},

keyboards/cannonkeys/moment/info.json

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
},
2020
"backlight": {
2121
"breathing": true,
22-
"breathing_period": 5,
2322
"levels": 15,
2423
"pin": "A6"
2524
},

keyboards/cannonkeys/ortho60v2/info.json

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
},
3333
"backlight": {
3434
"breathing": true,
35-
"breathing_period": 5,
3635
"levels": 15,
3736
"pin": "GP12"
3837
},

keyboards/cannonkeys/serenity/info.json

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
},
2828
"backlight": {
2929
"breathing": true,
30-
"breathing_period": 5,
3130
"levels": 15,
3231
"pin": "A6"
3332
},

keyboards/cherrybstudio/cb87/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3131
/* COL2ROW, ROW2COL*/
3232
#define DIODE_DIRECTION COL2ROW
3333
#define BACKLIGHT_PIN B6
34-
#ifdef BACKLIGHT_PIN
35-
#define BACKLIGHT_LEVELS 3
36-
#endif
3734

3835
#define RGB_DI_PIN E6
3936
#ifdef RGB_DI_PIN

keyboards/cherrybstudio/cb87v2/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3232
#define DIODE_DIRECTION COL2ROW
3333

3434
#define BACKLIGHT_PIN B6
35-
#ifdef BACKLIGHT_PIN
36-
#define BACKLIGHT_LEVELS 3
37-
#endif
3835

3936
#define RGB_DI_PIN E6
4037
#ifdef RGB_DI_PIN

keyboards/ckeys/obelus/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3535
#define DIODE_DIRECTION COL2ROW
3636

3737
#define BACKLIGHT_PIN B7
38-
#define BACKLIGHT_LEVELS 3
3938

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

keyboards/ckeys/washington/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3737

3838
#define BACKLIGHT_PIN B6
3939
#define BACKLIGHT_BREATHING
40-
#define BACKLIGHT_LEVELS 3
4140

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

keyboards/clueboard/17/config.h

-22
This file was deleted.

keyboards/clueboard/66/rev4/config.h

-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
#pragma once
22

3-
4-
/* Backlight configuration
5-
*/
6-
#define BACKLIGHT_LEVELS 1
7-
83
/* Underlight configuration
94
*/
105
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1

keyboards/clueboard/66_hotswap/gen1/config.h

-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
//#define NO_ACTION_TAPPING
3434
//#define NO_ACTION_ONESHOT
3535

36-
/* Backlight configuration
37-
*/
38-
#define BACKLIGHT_LEVELS 10
39-
4036
// This is a 7-bit address, that gets left-shifted and bit 0
4137
// set to 0 for write, 1 for read (as per I2C protocol)
4238
// The address will vary depending on your wiring:

keyboards/copenhagen_click/click_pad_v1/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3636

3737
#define BACKLIGHT_PIN B5
3838
#define BACKLIGHT_BREATHING
39-
#define BACKLIGHT_LEVELS 3
4039

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

keyboards/db/db63/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3535
#define RGBLIGHT_EFFECT_TWINKLE
3636

3737
#define BACKLIGHT_PIN D4
38-
#define BACKLIGHT_LEVELS 3

keyboards/demiurge/config.h

-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2525
/* COL2ROW or ROW2COL */
2626
#define DIODE_DIRECTION COL2ROW
2727

28-
#ifdef BACKLIGHT_PIN
29-
#define BACKLIGHT_LEVELS 1
30-
#endif
31-
3228
#define RGB_DI_PIN F1
3329
#ifdef RGB_DI_PIN
3430
#define RGBLED_NUM 21

keyboards/donutcables/budget96/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2626
#define DIODE_DIRECTION COL2ROW
2727

2828
#define BACKLIGHT_PIN D4
29-
#define BACKLIGHT_LEVELS 3
3029

3130
#define RGBLIGHT_EFFECT_BREATHING
3231
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

0 commit comments

Comments
 (0)