Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default and unused BACKLIGHT_LEVELS #19898

Merged
merged 2 commits into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove default and unused BACKLIGHT_LEVELS
  • Loading branch information
fauxpark committed Feb 21, 2023
commit 7731c9d2d14e29528289e840e821998b9cd5c093
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:https://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:https://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:https://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:https://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:https://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:https://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:https://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
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:https://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:https://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:https://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:https://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:https://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:https://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:https://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:https://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:https://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:https://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:https://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
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:https://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:https://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:https://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:https://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:https://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:https://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:https://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:https://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/dtisaac/dtisaac01/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.
#define DIODE_DIRECTION ROW2COL

#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING
2 changes: 0 additions & 2 deletions keyboards/duck/eagle_viper/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.

#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_LEVELS 3

#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
Expand Down
1 change: 0 additions & 1 deletion keyboards/efreet/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:https://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_PIN D0
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

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

#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#endif

#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
Expand Down
2 changes: 0 additions & 2 deletions keyboards/ergodox_ez/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ along with this program. If not, see <http:https://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/esca/getawayvan/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A9, A8, A3, A5 }
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_LEVELS 6

#define GRAVE_ESC_CTRL_OVERRIDE

#define RGBLIGHT_EFFECT_BREATHING
Expand Down
2 changes: 0 additions & 2 deletions keyboards/esca/getawayvan_f042/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A9, A8, A3, A5 }
#define DIODE_DIRECTION COL2ROW

#define BACKLIGHT_LEVELS 6

#define GRAVE_ESC_CTRL_OVERRIDE

#define RGBLIGHT_EFFECT_BREATHING
Expand Down
Loading