From 26854f59402f3f4b7ca5cfe0f3dd665a680715f5 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 22 Feb 2023 12:12:42 +1100 Subject: Remove default and unused `BACKLIGHT_LEVELS` (#19898) --- keyboards/handwired/arrow_pad/config.h | 2 -- keyboards/handwired/co60/rev1/config.h | 1 - keyboards/handwired/frenchdev/config.h | 2 -- keyboards/handwired/hacked_motospeed/config.h | 1 - keyboards/handwired/jot50/config.h | 1 - keyboards/handwired/jot50/info.json | 3 --- keyboards/handwired/lovelive9/config.h | 1 - keyboards/handwired/minorca/config.h | 2 -- keyboards/handwired/nozbe_macro/config.h | 3 --- 9 files changed, 16 deletions(-) (limited to 'keyboards/handwired') diff --git a/keyboards/handwired/arrow_pad/config.h b/keyboards/handwired/arrow_pad/config.h index 556a96795c..9506696646 100644 --- a/keyboards/handwired/arrow_pad/config.h +++ b/keyboards/handwired/arrow_pad/config.h @@ -36,8 +36,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_LEVELS 3 - #define FORCE_NKRO /* diff --git a/keyboards/handwired/co60/rev1/config.h b/keyboards/handwired/co60/rev1/config.h index f4b6aa0a45..4d58091ef8 100644 --- a/keyboards/handwired/co60/rev1/config.h +++ b/keyboards/handwired/co60/rev1/config.h @@ -38,7 +38,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN B7 #define BACKLIGHT_BREATHING #endif -#define BACKLIGHT_LEVELS 3 /* * Feature disable options diff --git a/keyboards/handwired/frenchdev/config.h b/keyboards/handwired/frenchdev/config.h index f09dea94d3..b9ebeee96b 100644 --- a/keyboards/handwired/frenchdev/config.h +++ b/keyboards/handwired/frenchdev/config.h @@ -22,8 +22,6 @@ along with this program. If not, see . #define MATRIX_ROWS 16 #define MATRIX_COLS 6 -#define BACKLIGHT_LEVELS 3 - #define LED_BRIGHTNESS_LO 15 #define LED_BRIGHTNESS_HI 255 diff --git a/keyboards/handwired/hacked_motospeed/config.h b/keyboards/handwired/hacked_motospeed/config.h index 35c1ea212d..e5c60800af 100644 --- a/keyboards/handwired/hacked_motospeed/config.h +++ b/keyboards/handwired/hacked_motospeed/config.h @@ -39,7 +39,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW #define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 3 /* define if matrix has ghost (lacks anti-ghosting diodes) */ #define MATRIX_HAS_GHOST diff --git a/keyboards/handwired/jot50/config.h b/keyboards/handwired/jot50/config.h index b21b1c627f..7f9a8c5ab6 100644 --- a/keyboards/handwired/jot50/config.h +++ b/keyboards/handwired/jot50/config.h @@ -6,7 +6,6 @@ #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 } /* leds */ -#define BACKLIGHT_LEVELS 3 #define BACKLIGHT_PIN B5 #define BACKLIGHT_BREATHING diff --git a/keyboards/handwired/jot50/info.json b/keyboards/handwired/jot50/info.json index 4cc8b88fd4..db08eef195 100644 --- a/keyboards/handwired/jot50/info.json +++ b/keyboards/handwired/jot50/info.json @@ -8,9 +8,6 @@ "pid": "0x6060", "device_version": "0.0.1" }, - "backlight": { - "breathing_period": 5 - }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_5x12"], diff --git a/keyboards/handwired/lovelive9/config.h b/keyboards/handwired/lovelive9/config.h index 4020d7021f..f99c65303c 100644 --- a/keyboards/handwired/lovelive9/config.h +++ b/keyboards/handwired/lovelive9/config.h @@ -24,7 +24,6 @@ #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define BACKLIGHT_LEVELS 5 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 #define RGBLIGHT_LIMIT_VAL 255 #define RGBLIGHT_HUE_STEP 10 diff --git a/keyboards/handwired/minorca/config.h b/keyboards/handwired/minorca/config.h index 1ba390acf9..2bfa506264 100644 --- a/keyboards/handwired/minorca/config.h +++ b/keyboards/handwired/minorca/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . /* 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 */ diff --git a/keyboards/handwired/nozbe_macro/config.h b/keyboards/handwired/nozbe_macro/config.h index cdcb6d8732..7e54b2636f 100644 --- a/keyboards/handwired/nozbe_macro/config.h +++ b/keyboards/handwired/nozbe_macro/config.h @@ -28,9 +28,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 -- cgit v1.2.3