diff --git a/keyboards/40percentclub/4pack/config.h b/keyboards/40percentclub/4pack/config.h index 2fc00cdc892..b0cf6b6f6ae 100644 --- a/keyboards/40percentclub/4pack/config.h +++ b/keyboards/40percentclub/4pack/config.h @@ -17,10 +17,6 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_LED_COUNT 2 -#undef BACKLIGHT_PIN -#define BACKLIGHT_PINS { F6, F7 } - /* 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/40percentclub/4pack/info.json b/keyboards/40percentclub/4pack/info.json index 9cdb584b0c7..12ede4172c1 100644 --- a/keyboards/40percentclub/4pack/info.json +++ b/keyboards/40percentclub/4pack/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pins": ["F6", "F7"] + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { diff --git a/keyboards/40percentclub/sixpack/config.h b/keyboards/40percentclub/sixpack/config.h index 071eecddd46..acf61f0017f 100644 --- a/keyboards/40percentclub/sixpack/config.h +++ b/keyboards/40percentclub/sixpack/config.h @@ -20,4 +20,3 @@ along with this program. If not, see . /* Backlight */ #define BACKLIGHT_BREATHING #define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_PINS { F4, F5 } // Top Row, Bottom Row diff --git a/keyboards/40percentclub/sixpack/info.json b/keyboards/40percentclub/sixpack/info.json index 4e7f39c9c68..65f16021dde 100644 --- a/keyboards/40percentclub/sixpack/info.json +++ b/keyboards/40percentclub/sixpack/info.json @@ -8,6 +8,9 @@ "pid": "0x5350", "device_version": "10.0.1" }, + "backlight": { + "pins": ["F4", "F5"] + }, "indicators": { "caps_lock": "B0", "num_lock": "D5", diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h index a10e1255ecd..ac93743ec64 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h @@ -25,7 +25,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_DRIVER PWMD2 #define BACKLIGHT_PWM_CHANNEL 4 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_ON_STATE 1 #define BACKLIGHT_LEVELS 10 #define BACKLIGHT_BREATHING TRUE diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h index 8c3bb820a42..5e1d995a68d 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h @@ -27,8 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 -#define BACKLIGHT_ON_STATE 1 /* Underglow */ #define RGBLED_NUM 16 diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h index a9564f1bcfe..5be5e673748 100644 --- a/keyboards/8pack/config.h +++ b/keyboards/8pack/config.h @@ -6,9 +6,6 @@ /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_LED_COUNT 8 -#undef BACKLIGHT_PIN -#define BACKLIGHT_PINS { D1, D0, D4, C6, D7, E6, B4, B5 } #define BACKLIGHT_LEVELS 8 // ws2812 options diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json index 63cc0e23deb..2c7a34d4874 100644 --- a/keyboards/8pack/info.json +++ b/keyboards/8pack/info.json @@ -7,6 +7,9 @@ "vid": "0xFEED", "pid": "0x2171" }, + "backlight": { + "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h index 08526ea9439..fd6f74bf35d 100644 --- a/keyboards/acheron/athena/alpha/config.h +++ b/keyboards/acheron/athena/alpha/config.h @@ -32,8 +32,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_LEVELS 20 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 -#define BACKLIGHT_ON_STATE 0 #define RGB_DI_PIN B15 #define RGBLED_NUM 34 diff --git a/keyboards/acheron/athena/alpha/info.json b/keyboards/acheron/athena/alpha/info.json index cc2a5249d01..f9d74fae2ff 100644 --- a/keyboards/acheron/athena/alpha/info.json +++ b/keyboards/acheron/athena/alpha/info.json @@ -4,6 +4,10 @@ "pid": "0x6584", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0, + "breathing_period": 5 + }, "indicators": { "caps_lock": "A10" }, diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h index 8be04b3fa1e..a3a1a3b25c5 100644 --- a/keyboards/acheron/athena/beta/config.h +++ b/keyboards/acheron/athena/beta/config.h @@ -32,7 +32,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_LEVELS 20 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 #define RGB_DI_PIN B15 #define RGBLED_NUM 34 diff --git a/keyboards/acheron/athena/beta/info.json b/keyboards/acheron/athena/beta/info.json index 51c335a850f..aae8d02b41b 100644 --- a/keyboards/acheron/athena/beta/info.json +++ b/keyboards/acheron/athena/beta/info.json @@ -4,6 +4,9 @@ "pid": "0x6585", "device_version": "0.0.2" }, + "backlight": { + "breathing_period": 5 + }, "indicators": { "caps_lock": "C8" }, diff --git a/keyboards/acheron/austin/config.h b/keyboards/acheron/austin/config.h index 323d7b3c837..210e4182a57 100644 --- a/keyboards/acheron/austin/config.h +++ b/keyboards/acheron/austin/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/acheron/elongate/delta/config.h b/keyboards/acheron/elongate/delta/config.h index 2be4dba3e33..6766f62ef57 100755 --- a/keyboards/acheron/elongate/delta/config.h +++ b/keyboards/acheron/elongate/delta/config.h @@ -30,7 +30,6 @@ along with this program. If not, see . #define BACKLIGHT_BREATHING #define BACKLIGHT_LEVELS 20 #define BACKLIGHT_DEFAULT_LEVEL 10 -#define BREATHING_PERIOD 3 #define RGB_DI_PIN B15 #define RGBLED_NUM 16 diff --git a/keyboards/acheron/elongate/delta/info.json b/keyboards/acheron/elongate/delta/info.json index d7630239267..6a5318b777b 100644 --- a/keyboards/acheron/elongate/delta/info.json +++ b/keyboards/acheron/elongate/delta/info.json @@ -8,6 +8,9 @@ "pid": "0x454D", "device_version": "0.0.2" }, + "backlight": { + "breathing_period": 3 + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/acheron/shark/beta/config.h b/keyboards/acheron/shark/beta/config.h index aab3c78077e..633f76289ff 100644 --- a/keyboards/acheron/shark/beta/config.h +++ b/keyboards/acheron/shark/beta/config.h @@ -31,8 +31,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_LEVELS 20 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 -#define BACKLIGHT_ON_STATE 1 #define RGB_DI_PIN B15 #define RGBLED_NUM 24 diff --git a/keyboards/acheron/shark/beta/info.json b/keyboards/acheron/shark/beta/info.json index 615e9a91b99..dc4579b4450 100644 --- a/keyboards/acheron/shark/beta/info.json +++ b/keyboards/acheron/shark/beta/info.json @@ -4,6 +4,9 @@ "pid": "0x5369", "device_version": "0.0.2" }, + "backlight": { + "breathing_period": 5 + }, "processor": "STM32F411", "bootloader": "stm32-dfu", "community_layouts": ["ortho_4x12"], diff --git a/keyboards/aeboards/ext65/rev2/config.h b/keyboards/aeboards/ext65/rev2/config.h index d4f6fd4f7ff..364b9191799 100644 --- a/keyboards/aeboards/ext65/rev2/config.h +++ b/keyboards/aeboards/ext65/rev2/config.h @@ -57,6 +57,5 @@ #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 #define SLEEP_LED_GPT_DRIVER GPTD1 diff --git a/keyboards/amjkeyboard/amj66/config.h b/keyboards/amjkeyboard/amj66/config.h index a0dd902c65c..df2afabeba9 100644 --- a/keyboards/amjkeyboard/amj66/config.h +++ b/keyboards/amjkeyboard/amj66/config.h @@ -28,7 +28,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN D4 #define BACKLIGHT_LEVELS 3 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/b_sides/rev41lp/config.h b/keyboards/b_sides/rev41lp/config.h index f5905efdd41..c843c89eefa 100644 --- a/keyboards/b_sides/rev41lp/config.h +++ b/keyboards/b_sides/rev41lp/config.h @@ -24,6 +24,4 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW #define BACKLIGHT_PIN B6 -#define BACKLIGHT_ON_STATE 1 #define BACKLIGHT_LEVELS 7 -#define BACKLIGHT_LIMIT_VAL 150 diff --git a/keyboards/b_sides/rev41lp/info.json b/keyboards/b_sides/rev41lp/info.json index a587172d041..9b1a1c9e9c7 100644 --- a/keyboards/b_sides/rev41lp/info.json +++ b/keyboards/b_sides/rev41lp/info.json @@ -8,6 +8,9 @@ "pid": "0x5F10", "device_version": "0.0.1" }, + "backlight": { + "max_brightness": 150 + }, "processor": "atmega32u4", "bootloader": "caterina", "layout_aliases": { diff --git a/keyboards/boston/config.h b/keyboards/boston/config.h index f73bb45d3de..7b3249e8810 100644 --- a/keyboards/boston/config.h +++ b/keyboards/boston/config.h @@ -28,7 +28,6 @@ #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/bt66tech/bt66tech60/config.h b/keyboards/bt66tech/bt66tech60/config.h index e3337ccd33e..982e69a32b6 100644 --- a/keyboards/bt66tech/bt66tech60/config.h +++ b/keyboards/bt66tech/bt66tech60/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/an_c/config.h b/keyboards/cannonkeys/an_c/config.h index 29a5bac1730..de54b4ddebc 100644 --- a/keyboards/cannonkeys/an_c/config.h +++ b/keyboards/cannonkeys/an_c/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/chimera65/config.h b/keyboards/cannonkeys/chimera65/config.h index 7aeb5ba9de5..b3037d93782 100644 --- a/keyboards/cannonkeys/chimera65/config.h +++ b/keyboards/cannonkeys/chimera65/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/cloudline/config.h b/keyboards/cannonkeys/cloudline/config.h index ae709af94e1..5442ee192f7 100644 --- a/keyboards/cannonkeys/cloudline/config.h +++ b/keyboards/cannonkeys/cloudline/config.h @@ -13,7 +13,6 @@ #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/crin/config.h b/keyboards/cannonkeys/crin/config.h index 25ca5972545..5cd5613378d 100644 --- a/keyboards/cannonkeys/crin/config.h +++ b/keyboards/cannonkeys/crin/config.h @@ -28,7 +28,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/db60/config.h b/keyboards/cannonkeys/db60/config.h index 4389cf070c5..ff2dcf70f27 100644 --- a/keyboards/cannonkeys/db60/config.h +++ b/keyboards/cannonkeys/db60/config.h @@ -28,7 +28,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/devastatingtkl/config.h b/keyboards/cannonkeys/devastatingtkl/config.h index c607ecceee8..2865ecebb95 100644 --- a/keyboards/cannonkeys/devastatingtkl/config.h +++ b/keyboards/cannonkeys/devastatingtkl/config.h @@ -28,7 +28,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/instant60/config.h b/keyboards/cannonkeys/instant60/config.h index ad872dd3563..8f726386047 100644 --- a/keyboards/cannonkeys/instant60/config.h +++ b/keyboards/cannonkeys/instant60/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/instant65/config.h b/keyboards/cannonkeys/instant65/config.h index 2e309fd556d..efa1e26fbbf 100644 --- a/keyboards/cannonkeys/instant65/config.h +++ b/keyboards/cannonkeys/instant65/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/iron165/config.h b/keyboards/cannonkeys/iron165/config.h index 596e0af2b6b..773aa16496f 100644 --- a/keyboards/cannonkeys/iron165/config.h +++ b/keyboards/cannonkeys/iron165/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/malicious_ergo/config.h b/keyboards/cannonkeys/malicious_ergo/config.h index af16d099934..a3ab4d6e0d0 100644 --- a/keyboards/cannonkeys/malicious_ergo/config.h +++ b/keyboards/cannonkeys/malicious_ergo/config.h @@ -29,7 +29,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/obliterated75/config.h b/keyboards/cannonkeys/obliterated75/config.h index 8d91b9bf93d..d590606d287 100644 --- a/keyboards/cannonkeys/obliterated75/config.h +++ b/keyboards/cannonkeys/obliterated75/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/onyx/config.h b/keyboards/cannonkeys/onyx/config.h index 8c6da90c9bf..4ff492449b0 100644 --- a/keyboards/cannonkeys/onyx/config.h +++ b/keyboards/cannonkeys/onyx/config.h @@ -28,7 +28,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/ortho48/config.h b/keyboards/cannonkeys/ortho48/config.h index 1046847cc2e..87000ef0b9a 100644 --- a/keyboards/cannonkeys/ortho48/config.h +++ b/keyboards/cannonkeys/ortho48/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/ortho60/config.h b/keyboards/cannonkeys/ortho60/config.h index 7a7d5c2ed6e..0e86aa68514 100644 --- a/keyboards/cannonkeys/ortho60/config.h +++ b/keyboards/cannonkeys/ortho60/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/ortho75/config.h b/keyboards/cannonkeys/ortho75/config.h index 8216cd99d26..a69a445b159 100644 --- a/keyboards/cannonkeys/ortho75/config.h +++ b/keyboards/cannonkeys/ortho75/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 #define ENCODERS_PAD_A { B9 } #define ENCODERS_PAD_B { B8 } diff --git a/keyboards/cannonkeys/practice60/config.h b/keyboards/cannonkeys/practice60/config.h index a383b614db5..fb301ef701e 100644 --- a/keyboards/cannonkeys/practice60/config.h +++ b/keyboards/cannonkeys/practice60/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/practice65/config.h b/keyboards/cannonkeys/practice65/config.h index 7fe680e483a..b38638add4b 100644 --- a/keyboards/cannonkeys/practice65/config.h +++ b/keyboards/cannonkeys/practice65/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/rekt1800/config.h b/keyboards/cannonkeys/rekt1800/config.h index 617989fc481..7c0745ceb8f 100644 --- a/keyboards/cannonkeys/rekt1800/config.h +++ b/keyboards/cannonkeys/rekt1800/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/sagittarius/config.h b/keyboards/cannonkeys/sagittarius/config.h index 3ba3ddc64f4..9aed1f45bde 100644 --- a/keyboards/cannonkeys/sagittarius/config.h +++ b/keyboards/cannonkeys/sagittarius/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/satisfaction75/config.h b/keyboards/cannonkeys/satisfaction75/config.h index 8c2446682a3..55dd8386dce 100644 --- a/keyboards/cannonkeys/satisfaction75/config.h +++ b/keyboards/cannonkeys/satisfaction75/config.h @@ -35,7 +35,6 @@ along with this program. If not, see . //LEDS A6, RGB B15 #define BACKLIGHT_LEVELS 24 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 // I2C config #define I2C_DRIVER I2CD1 diff --git a/keyboards/cannonkeys/savage65/config.h b/keyboards/cannonkeys/savage65/config.h index b5b655cb4d0..416929afc71 100644 --- a/keyboards/cannonkeys/savage65/config.h +++ b/keyboards/cannonkeys/savage65/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/tmov2/config.h b/keyboards/cannonkeys/tmov2/config.h index 7a12ac5844c..9cdd3834fc1 100644 --- a/keyboards/cannonkeys/tmov2/config.h +++ b/keyboards/cannonkeys/tmov2/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/tsukuyomi/config.h b/keyboards/cannonkeys/tsukuyomi/config.h index 97d2ac6c022..2c07e1d5047 100644 --- a/keyboards/cannonkeys/tsukuyomi/config.h +++ b/keyboards/cannonkeys/tsukuyomi/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/vicious40/config.h b/keyboards/cannonkeys/vicious40/config.h index f937ce7c674..87a002728e0 100644 --- a/keyboards/cannonkeys/vicious40/config.h +++ b/keyboards/cannonkeys/vicious40/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/checkerboards/nop60/config.h b/keyboards/checkerboards/nop60/config.h index 88440d4a375..23ef41da4c6 100644 --- a/keyboards/checkerboards/nop60/config.h +++ b/keyboards/checkerboards/nop60/config.h @@ -30,7 +30,6 @@ Copyright 2021 Nathan Spears #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 // ws2812 options #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to diff --git a/keyboards/checkerboards/quark_plus/config.h b/keyboards/checkerboards/quark_plus/config.h index 5e0e46df3e6..004fc8a1776 100644 --- a/keyboards/checkerboards/quark_plus/config.h +++ b/keyboards/checkerboards/quark_plus/config.h @@ -34,7 +34,6 @@ #define BACKLIGHT_PIN C4 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 // ws2812 options #define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to diff --git a/keyboards/checkerboards/snop60/config.h b/keyboards/checkerboards/snop60/config.h index 82bb59d838d..d9b5194a0b3 100644 --- a/keyboards/checkerboards/snop60/config.h +++ b/keyboards/checkerboards/snop60/config.h @@ -29,7 +29,6 @@ Copyright 2022 Nathan Spears #define BACKLIGHT_PIN D1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 // ws2812 options #define RGB_DI_PIN B1 // pin the DI on the ws2812 is hooked-up to diff --git a/keyboards/ck60i/config.h b/keyboards/ck60i/config.h index 3a515f0e8e7..f298022e359 100644 --- a/keyboards/ck60i/config.h +++ b/keyboards/ck60i/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/coarse/cordillera/config.h b/keyboards/coarse/cordillera/config.h index fe9c5f76df0..ff96ef5a2a8 100644 --- a/keyboards/coarse/cordillera/config.h +++ b/keyboards/coarse/cordillera/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/custommk/evo70/config.h b/keyboards/custommk/evo70/config.h index 2d7a7f24ef8..9f27a458b74 100644 --- a/keyboards/custommk/evo70/config.h +++ b/keyboards/custommk/evo70/config.h @@ -20,11 +20,8 @@ #define OLED_UPDATE_INTERVAL 33 #define BACKLIGHT_PIN B5 -#define BACKLIGHT_LIMIT_VAL 255 -#define BACKLIGHT_ON_STATE 0 #define BACKLIGHT_LEVELS 17 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 #define OLED_DISABLE_TIMEOUT diff --git a/keyboards/custommk/evo70/info.json b/keyboards/custommk/evo70/info.json index 7c7eb1c5ff8..e5d23275186 100644 --- a/keyboards/custommk/evo70/info.json +++ b/keyboards/custommk/evo70/info.json @@ -9,6 +9,9 @@ "pid": "0xFAB5", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "diode_direction": "COL2ROW", diff --git a/keyboards/deng/thirty/config.h b/keyboards/deng/thirty/config.h index ff51cade098..a3462809c19 100644 --- a/keyboards/deng/thirty/config.h +++ b/keyboards/deng/thirty/config.h @@ -25,7 +25,6 @@ #ifdef BACKLIGHT_ENABLE #define BACKLIGHT_PIN B11 #define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_ON_STATE 0 #endif /* RGB Matrix */ diff --git a/keyboards/deng/thirty/info.json b/keyboards/deng/thirty/info.json index 26dcc5f0b8e..d17b1d41ddf 100644 --- a/keyboards/deng/thirty/info.json +++ b/keyboards/deng/thirty/info.json @@ -8,6 +8,9 @@ "pid": "0x7342", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "processor": "STM32F103", "bootloader": "stm32duino", "layouts": { diff --git a/keyboards/duck/orion/v3/config.h b/keyboards/duck/orion/v3/config.h index 908bad5bdeb..6dde204a3b7 100644 --- a/keyboards/duck/orion/v3/config.h +++ b/keyboards/duck/orion/v3/config.h @@ -24,9 +24,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#undef BACKLIGHT_PIN -#define BACKLIGHT_PINS { B1, B2, B3, E6 } -#define BACKLIGHT_LED_COUNT 4 #define BACKLIGHT_LEVELS 10 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/duck/orion/v3/info.json b/keyboards/duck/orion/v3/info.json index f96e5b9ca59..7c4c34281c1 100644 --- a/keyboards/duck/orion/v3/info.json +++ b/keyboards/duck/orion/v3/info.json @@ -8,6 +8,9 @@ "pid": "0x4F52", "device_version": "0.0.2" }, + "backlight": { + "pins": ["B1", "B2", "B3", "E6"] + }, "bootmagic": { "matrix": [4, 10] }, diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 511e2339869..42cbedbd015 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -31,7 +31,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_ON_STATE 1 #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. /* Underglow */ diff --git a/keyboards/exclusive/e6v2/le/config.h b/keyboards/exclusive/e6v2/le/config.h index 771877fbca0..c560e06a75b 100644 --- a/keyboards/exclusive/e6v2/le/config.h +++ b/keyboards/exclusive/e6v2/le/config.h @@ -44,7 +44,6 @@ along with this program. If not, see . #ifdef BACKLIGHT_PIN #define BACKLIGHT_LEVELS 2 #define BACKLIGHT_BREAHTING -#define BREATHING_PERIOD 3 #endif #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/exclusive/e6v2/le/info.json b/keyboards/exclusive/e6v2/le/info.json index a427b9de1b5..ac3a613736b 100644 --- a/keyboards/exclusive/e6v2/le/info.json +++ b/keyboards/exclusive/e6v2/le/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.2" }, + "backlight": { + "breathing_period": 3 + }, "indicators": { "caps_lock": "B7", "on_state": 0 diff --git a/keyboards/exclusive/e6v2/oe/config.h b/keyboards/exclusive/e6v2/oe/config.h index 0eb97d1c78c..b43acd5a935 100644 --- a/keyboards/exclusive/e6v2/oe/config.h +++ b/keyboards/exclusive/e6v2/oe/config.h @@ -44,7 +44,6 @@ along with this program. If not, see . #ifdef BACKLIGHT_PIN #define BACKLIGHT_LEVELS 5 #define BACKLIGHT_BREAHTING -#define BREATHING_PERIOD 3 #endif #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/exclusive/e6v2/oe/info.json b/keyboards/exclusive/e6v2/oe/info.json index e93376b8673..70e57d36786 100644 --- a/keyboards/exclusive/e6v2/oe/info.json +++ b/keyboards/exclusive/e6v2/oe/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.2" }, + "backlight": { + "breathing_period": 3 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi"], diff --git a/keyboards/gray_studio/cod67/config.h b/keyboards/gray_studio/cod67/config.h index a1ae3cf3a22..6bb36a7bff1 100644 --- a/keyboards/gray_studio/cod67/config.h +++ b/keyboards/gray_studio/cod67/config.h @@ -38,7 +38,6 @@ along with this program. If not, see . * https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation */ #define BACKLIGHT_PIN D4 -#define BACKLIGHT_ON_STATE 0 #define RGB_DI_PIN B2 #ifdef RGB_DI_PIN diff --git a/keyboards/gray_studio/cod67/info.json b/keyboards/gray_studio/cod67/info.json index 8c5c4bd7dba..d9d50c9d278 100644 --- a/keyboards/gray_studio/cod67/info.json +++ b/keyboards/gray_studio/cod67/info.json @@ -8,6 +8,9 @@ "pid": "0x1000", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "lufa-ms", "layouts": { diff --git a/keyboards/handwired/jot50/config.h b/keyboards/handwired/jot50/config.h index e1359e093e2..b21b1c627f4 100644 --- a/keyboards/handwired/jot50/config.h +++ b/keyboards/handwired/jot50/config.h @@ -9,7 +9,6 @@ #define BACKLIGHT_LEVELS 3 #define BACKLIGHT_PIN B5 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/handwired/jot50/info.json b/keyboards/handwired/jot50/info.json index db08eef195e..4cc8b88fd4c 100644 --- a/keyboards/handwired/jot50/info.json +++ b/keyboards/handwired/jot50/info.json @@ -8,6 +8,9 @@ "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 87ba736bb98..4020d7021fc 100644 --- a/keyboards/handwired/lovelive9/config.h +++ b/keyboards/handwired/lovelive9/config.h @@ -26,7 +26,6 @@ #define RGBLIGHT_EFFECT_TWINKLE #define BACKLIGHT_LEVELS 5 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 -#define BREATHING_PERIOD 2 #define RGBLIGHT_LIMIT_VAL 255 #define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_SAT_STEP 17 diff --git a/keyboards/handwired/lovelive9/info.json b/keyboards/handwired/lovelive9/info.json index 13931f8f450..be3541c4fd8 100644 --- a/keyboards/handwired/lovelive9/info.json +++ b/keyboards/handwired/lovelive9/info.json @@ -8,6 +8,9 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "backlight": { + "breathing_period": 2 + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/handwired/oem_iso_fullsize/config.h b/keyboards/handwired/oem_iso_fullsize/config.h index 21b3556bb37..af6146110d5 100644 --- a/keyboards/handwired/oem_iso_fullsize/config.h +++ b/keyboards/handwired/oem_iso_fullsize/config.h @@ -30,15 +30,6 @@ #define MATRIX_ROW_PINS { C0, B4, F3, F4, F5, F6 } #define MATRIX_COL_PINS { C2, C1, E0, D4, D5, A4, A0, B2, B0, E7, E6, D6, B1, B3, D3, D2, B6, F7, F0, F1, F2 } -/*Row 0, resistor R132, Pin A1 -*Row 1, R131, Pin B5 -*Row 2, R130, Pin E4 -*Row 3, R129, Pin A2 -*Row 4, R128, Pin E5 -*Row 5, R127, Pin A7 -#define BACKLIGHT_PINS { B5, E5, E4, A7, A1, A2 } -#define BACKLIGHT_LEVELS 1*/ - #define DIODE_DIRECTION ROW2COL diff --git a/keyboards/handwired/pill60/config.h b/keyboards/handwired/pill60/config.h index 8b671a9e03c..1544eb0e198 100644 --- a/keyboards/handwired/pill60/config.h +++ b/keyboards/handwired/pill60/config.h @@ -23,7 +23,6 @@ #define BACKLIGHT_PWM_DRIVER PWMD5 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_LEVELS 5 -#define BREATHING_PERIOD 6 /* Encoder */ #define ENCODERS_PAD_A \ diff --git a/keyboards/iron180/config.h b/keyboards/iron180/config.h index 33686df9a04..2e57ae8470d 100644 --- a/keyboards/iron180/config.h +++ b/keyboards/iron180/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 20 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/iron180/info.json b/keyboards/iron180/info.json index 3092b2021f2..36fab515969 100644 --- a/keyboards/iron180/info.json +++ b/keyboards/iron180/info.json @@ -8,6 +8,9 @@ "pid": "0x1180", "device_version": "0.0.1" }, + "backlight": { + "breathing_period": 5 + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h index a4545f48450..1e2a238f69c 100644 --- a/keyboards/jian/nsrev2/config.h +++ b/keyboards/jian/nsrev2/config.h @@ -34,7 +34,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN C6 #define BACKLIGHT_LEVELS 5 #define BACKLIGHT_BREATHING //not working with splits right now -#define BREATHING_PERIOD 6 #endif /* ws2812 RGB LED */ diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h index a4e4e60eb8e..4b32d8fc0b8 100644 --- a/keyboards/jian/rev1/config.h +++ b/keyboards/jian/rev1/config.h @@ -81,7 +81,6 @@ along with this program. If not, see . #ifdef BACKLIGHT_ENABLE #define BACKLIGHT_PIN B6 #define BACKLIGHT_LEVELS 5 -#define BREATHING_PERIOD 6 #endif /* ws2812 RGB LED */ diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index 52329f9d959..3e5b61863ee 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h @@ -36,7 +36,6 @@ along with this program. If not, see . #ifdef BACKLIGHT_ENABLE #define BACKLIGHT_PIN C6 #define BACKLIGHT_LEVELS 5 -#define BREATHING_PERIOD 6 #endif /* ws2812 RGB LED */ diff --git a/keyboards/kb_elmo/twelvekey/config.h b/keyboards/kb_elmo/twelvekey/config.h index cb468c0c7a1..aae47646bdf 100644 --- a/keyboards/kb_elmo/twelvekey/config.h +++ b/keyboards/kb_elmo/twelvekey/config.h @@ -28,4 +28,3 @@ along with this program. If not, see . /* Backlight */ #define BACKLIGHT_PIN B1 #define BACKLIGHT_LEVELS 8 -#define BACKLIGHT_ON_STATE 0 diff --git a/keyboards/kb_elmo/twelvekey/info.json b/keyboards/kb_elmo/twelvekey/info.json index 4c3764f4d07..3155d03b89b 100644 --- a/keyboards/kb_elmo/twelvekey/info.json +++ b/keyboards/kb_elmo/twelvekey/info.json @@ -8,6 +8,9 @@ "pid": "0x9879", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "processor": "atmega328p", "bootloader": "usbasploader", "layouts": { diff --git a/keyboards/kbdfans/kbd66/config.h b/keyboards/kbdfans/kbd66/config.h index f8b54b0c48e..3d5ea9e967e 100644 --- a/keyboards/kbdfans/kbd66/config.h +++ b/keyboards/kbdfans/kbd66/config.h @@ -37,7 +37,6 @@ along with this program. If not, see . #ifdef BACKLIGHT_PIN #define BACKLIGHT_LEVELS 3 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 #endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/keebsforall/coarse60/config.h b/keyboards/keebsforall/coarse60/config.h index 7de0e8c1e70..cd4fb39ae23 100644 --- a/keyboards/keebsforall/coarse60/config.h +++ b/keyboards/keebsforall/coarse60/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/kprepublic/cospad/config.h b/keyboards/kprepublic/cospad/config.h index c0ccd15f17c..5463f8fb16d 100644 --- a/keyboards/kprepublic/cospad/config.h +++ b/keyboards/kprepublic/cospad/config.h @@ -36,7 +36,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN F7 #define BACKLIGHT_LEVELS 3 -#define BACKLIGHT_ON_STATE 0 #define RGB_DI_PIN F6 #ifdef RGB_DI_PIN diff --git a/keyboards/kprepublic/cospad/info.json b/keyboards/kprepublic/cospad/info.json index 805f6977435..e4cf27945fb 100644 --- a/keyboards/kprepublic/cospad/info.json +++ b/keyboards/kprepublic/cospad/info.json @@ -8,6 +8,9 @@ "pid": "0xB1E5", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "indicators": { "num_lock": "B2", "on_state": 0 diff --git a/keyboards/ktec/staryu/backlight_staryu.h b/keyboards/ktec/staryu/backlight_staryu.h index b90350e28ba..34511da5c19 100644 --- a/keyboards/ktec/staryu/backlight_staryu.h +++ b/keyboards/ktec/staryu/backlight_staryu.h @@ -18,7 +18,7 @@ along with this program. If not, see . // Add backwards compatibility for existing keymaps static inline void backlight_set_value(uint8_t index, uint8_t level) { - static const uint8_t backlight_pins[BACKLIGHT_LED_COUNT] = BACKLIGHT_PINS; + static const uint8_t backlight_pins[] = BACKLIGHT_PINS; if (level) { setPinOutput(backlight_pins[index]); } else { diff --git a/keyboards/ktec/staryu/config.h b/keyboards/ktec/staryu/config.h index e8e726364c8..1a1b7372e6f 100755 --- a/keyboards/ktec/staryu/config.h +++ b/keyboards/ktec/staryu/config.h @@ -30,8 +30,4 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_LIMIT_VAL 200 - -#undef BACKLIGHT_PIN -#define BACKLIGHT_PINS { C2, C7, D5, D6, B0 } -#define BACKLIGHT_LED_COUNT 5 #define BACKLIGHT_LEVELS 10 diff --git a/keyboards/ktec/staryu/info.json b/keyboards/ktec/staryu/info.json index 0463c08ccc5..21c4e04dd79 100644 --- a/keyboards/ktec/staryu/info.json +++ b/keyboards/ktec/staryu/info.json @@ -8,6 +8,9 @@ "pid": "0x2328", "device_version": "2.0.5" }, + "backlight": { + "pins": ["C2", "C7", "D5", "D6", "B0"] + }, "bootmagic": { "matrix": [0, 1] }, diff --git a/keyboards/linworks/dolice/config.h b/keyboards/linworks/dolice/config.h index 306826a6fb6..97f80299554 100644 --- a/keyboards/linworks/dolice/config.h +++ b/keyboards/linworks/dolice/config.h @@ -27,4 +27,3 @@ along with this program. If not, see . /* Backlight */ #define BACKLIGHT_PIN B5 // Timer 1 on mega32u4 #define BACKLIGHT_BREATHING -#define BACKLIGHT_ON_STATE 1 diff --git a/keyboards/linworks/fave104/config.h b/keyboards/linworks/fave104/config.h index fab533980cf..d064d7cea44 100644 --- a/keyboards/linworks/fave104/config.h +++ b/keyboards/linworks/fave104/config.h @@ -31,5 +31,4 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_ON_STATE 1 #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. diff --git a/keyboards/linworks/fave87/config.h b/keyboards/linworks/fave87/config.h index 69292928ea0..6b553e26a23 100644 --- a/keyboards/linworks/fave87/config.h +++ b/keyboards/linworks/fave87/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . /* Backlight */ #define BACKLIGHT_PIN B7 // Timer 1 on mega32u4 #define BACKLIGHT_BREATHING -#define BACKLIGHT_ON_STATE 1 /* Underglow */ #define RGB_DI_PIN E2 diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h index 9b0b2e21aa2..b2da9c02459 100644 --- a/keyboards/linworks/whale75/config.h +++ b/keyboards/linworks/whale75/config.h @@ -31,7 +31,6 @@ along with this program. If not, see . #define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PAL_MODE 6 #define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_ON_STATE 1 #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. /* Underglow */ diff --git a/keyboards/melgeek/mj6xy/rev3/config.h b/keyboards/melgeek/mj6xy/rev3/config.h index 0b613a156b2..aa0e0e6097c 100755 --- a/keyboards/melgeek/mj6xy/rev3/config.h +++ b/keyboards/melgeek/mj6xy/rev3/config.h @@ -28,8 +28,6 @@ #ifdef BACKLIGHT_PIN # define BACKLIGHT_LEVELS 10 -# define BACKLIGHT_ON_STATE 1 -# define BACKLIGHT_LIMIT_VAL 255 #endif #ifdef RGB_DI_PIN diff --git a/keyboards/mntre/config.h b/keyboards/mntre/config.h index 4a2ca0dcf1d..123d66fcdf4 100644 --- a/keyboards/mntre/config.h +++ b/keyboards/mntre/config.h @@ -22,7 +22,6 @@ #define BACKLIGHT_PIN B7 #define BACKLIGHT_CUSTOM_RESOLUTION 0x400 -#define BACKLIGHT_LIMIT_VAL 84 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/mntre/info.json b/keyboards/mntre/info.json index c5949adcb11..dd26827624d 100644 --- a/keyboards/mntre/info.json +++ b/keyboards/mntre/info.json @@ -8,6 +8,9 @@ "pid": "0x1302", "device_version": "0.0.2" }, + "backlight": { + "max_brightness": 84 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/mokey/ginkgo65hot/config.h b/keyboards/mokey/ginkgo65hot/config.h index e876a618888..148a1ce5c2b 100644 --- a/keyboards/mokey/ginkgo65hot/config.h +++ b/keyboards/mokey/ginkgo65hot/config.h @@ -22,4 +22,3 @@ along with this program. If not, see . #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_CAPS_LOCK #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 diff --git a/keyboards/mokey/ginkgo65hot/info.json b/keyboards/mokey/ginkgo65hot/info.json index 9083672c7de..1f1ae6d8f2f 100644 --- a/keyboards/mokey/ginkgo65hot/info.json +++ b/keyboards/mokey/ginkgo65hot/info.json @@ -8,6 +8,9 @@ "pid": "0x3366", "device_version": "0.0.1" }, + "backlight": { + "breathing_period": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/monarch/config.h b/keyboards/monarch/config.h index 77b6ea76d4b..7708f0fc168 100644 --- a/keyboards/monarch/config.h +++ b/keyboards/monarch/config.h @@ -33,7 +33,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 24 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 #define SLEEP_LED_GPT_DRIVER GPTD1 diff --git a/keyboards/ncc1701kb/config.h b/keyboards/ncc1701kb/config.h index 50424c2a7e8..c0406b910ec 100644 --- a/keyboards/ncc1701kb/config.h +++ b/keyboards/ncc1701kb/config.h @@ -26,7 +26,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN B7 #define BACKLIGHT_LEVELS 3 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /*Encoders */ #define ENCODERS_PAD_A { D0 } diff --git a/keyboards/neito/config.h b/keyboards/neito/config.h index 34486ec6099..1aa349df4c4 100644 --- a/keyboards/neito/config.h +++ b/keyboards/neito/config.h @@ -23,8 +23,6 @@ #define ENCODERS_PAD_B { B0 } #define ENCODER_RESOLUTION 4 -#define BACKLIGHT_ON_STATE 0 - #define BACKLIGHT_PIN B5 #define BACKLIGHT_LEVELS 5 diff --git a/keyboards/neito/info.json b/keyboards/neito/info.json index 999c42b0edb..36b8e0ba229 100644 --- a/keyboards/neito/info.json +++ b/keyboards/neito/info.json @@ -8,6 +8,9 @@ "pid": "0xB44C", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "indicators": { "caps_lock": "B6" }, diff --git a/keyboards/nopunin10did/jabberwocky/v2/config.h b/keyboards/nopunin10did/jabberwocky/v2/config.h index 9e3df3181f6..367603694c8 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/config.h +++ b/keyboards/nopunin10did/jabberwocky/v2/config.h @@ -21,9 +21,6 @@ #define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 } #define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 } -/* LED Configuration */ -#define BACKLIGHT_PINS {D6} - #define BACKLIGHT_LEVELS 6 /* COL2ROW or ROW2COL */ diff --git a/keyboards/nopunin10did/jabberwocky/v2/info.json b/keyboards/nopunin10did/jabberwocky/v2/info.json index f577c96ddbf..ea7f59ed8d0 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/info.json +++ b/keyboards/nopunin10did/jabberwocky/v2/info.json @@ -8,6 +8,9 @@ "pid": "0x4A58", "device_version": "0.2.0" }, + "backlight": { + "pins": ["D6"] + }, "indicators": { "caps_lock": "B7", "num_lock": "C6" diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h index 71f3f5b690b..ade5f8f27c8 100644 --- a/keyboards/projectkb/alice/rev1/config.h +++ b/keyboards/projectkb/alice/rev1/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/projectkb/alice/rev2/config.h b/keyboards/projectkb/alice/rev2/config.h index 79f4eb391ba..a63f0b85a52 100644 --- a/keyboards/projectkb/alice/rev2/config.h +++ b/keyboards/projectkb/alice/rev2/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/rmi_kb/wete/v1/config.h b/keyboards/rmi_kb/wete/v1/config.h index 4af5b86be6e..e576982cf11 100644 --- a/keyboards/rmi_kb/wete/v1/config.h +++ b/keyboards/rmi_kb/wete/v1/config.h @@ -28,7 +28,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 24 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 // RGB B4 #define RGB_DI_PIN B4 diff --git a/keyboards/smithrune/iron165r2/f072/config.h b/keyboards/smithrune/iron165r2/f072/config.h index 502f5d6add2..28ab38b25e3 100644 --- a/keyboards/smithrune/iron165r2/f072/config.h +++ b/keyboards/smithrune/iron165r2/f072/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 20 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 -#define BACKLIGHT_ON_STATE 1 #define RGB_DI_PIN B15 #define RGBLED_NUM 22 diff --git a/keyboards/smithrune/iron165r2/f072/info.json b/keyboards/smithrune/iron165r2/f072/info.json index 8bba6f5d5da..46539afa5c4 100644 --- a/keyboards/smithrune/iron165r2/f072/info.json +++ b/keyboards/smithrune/iron165r2/f072/info.json @@ -1,4 +1,7 @@ { + "backlight": { + "breathing_period": 5 + }, "processor": "STM32F072", "bootloader": "stm32-dfu" } diff --git a/keyboards/smithrune/iron165r2/f411/config.h b/keyboards/smithrune/iron165r2/f411/config.h index af8b46531cb..832c40e1cce 100644 --- a/keyboards/smithrune/iron165r2/f411/config.h +++ b/keyboards/smithrune/iron165r2/f411/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_LEVELS 20 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 5 -#define BACKLIGHT_ON_STATE 1 #define RGB_DI_PIN B15 #define RGBLED_NUM 22 diff --git a/keyboards/smithrune/iron165r2/f411/info.json b/keyboards/smithrune/iron165r2/f411/info.json index 8610c8de5f1..3a925741236 100644 --- a/keyboards/smithrune/iron165r2/f411/info.json +++ b/keyboards/smithrune/iron165r2/f411/info.json @@ -1,4 +1,7 @@ { + "backlight": { + "breathing_period": 5 + }, "processor": "STM32F411", "bootloader": "stm32-dfu" } diff --git a/keyboards/smithrune/iron180/config.h b/keyboards/smithrune/iron180/config.h index 67763babbad..bec408edc83 100644 --- a/keyboards/smithrune/iron180/config.h +++ b/keyboards/smithrune/iron180/config.h @@ -27,7 +27,6 @@ along with this program. If not, see . #define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/tzarc/djinn/rev1/config.h b/keyboards/tzarc/djinn/rev1/config.h index cf6dda0a8a9..5ced7003233 100644 --- a/keyboards/tzarc/djinn/rev1/config.h +++ b/keyboards/tzarc/djinn/rev1/config.h @@ -2,11 +2,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later #pragma once -// Limit the backlight brightness -#ifndef BACKLIGHT_LIMIT_VAL -# define BACKLIGHT_LIMIT_VAL 144 -#endif // BACKLIGHT_LIMIT_VAL - // Split configuration #define SPLIT_HAND_PIN B11 #ifdef USE_PLUG_DETECT_PIN diff --git a/keyboards/tzarc/djinn/rev1/info.json b/keyboards/tzarc/djinn/rev1/info.json index 3062267d4e1..65b9eb2eabf 100644 --- a/keyboards/tzarc/djinn/rev1/info.json +++ b/keyboards/tzarc/djinn/rev1/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "1.0.0" }, + "backlight": { + "max_brightness": 144 + }, "split": { "soft_serial_pin": "B9", "usb_detect": { diff --git a/keyboards/tzarc/djinn/rev2/config.h b/keyboards/tzarc/djinn/rev2/config.h index b0deb6d991d..02224e4fc61 100644 --- a/keyboards/tzarc/djinn/rev2/config.h +++ b/keyboards/tzarc/djinn/rev2/config.h @@ -2,11 +2,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later #pragma once -// Limit the backlight brightness -#ifndef BACKLIGHT_LIMIT_VAL -# define BACKLIGHT_LIMIT_VAL 144 -#endif // BACKLIGHT_LIMIT_VAL - // Split configuration #define SPLIT_HAND_PIN B9 #define USB_VBUS_PIN B12 diff --git a/keyboards/tzarc/djinn/rev2/info.json b/keyboards/tzarc/djinn/rev2/info.json index e9b151cb932..22cafa74ae9 100644 --- a/keyboards/tzarc/djinn/rev2/info.json +++ b/keyboards/tzarc/djinn/rev2/info.json @@ -2,6 +2,9 @@ "usb": { "device_version": "2.0.0" }, + "backlight": { + "max_brightness": 144 + }, "split": { "usb_detect": { "enabled": false diff --git a/keyboards/v60_type_r/config.h b/keyboards/v60_type_r/config.h index a45a3a7d13c..b1d44e58d4f 100644 --- a/keyboards/v60_type_r/config.h +++ b/keyboards/v60_type_r/config.h @@ -36,7 +36,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN F7 #define BACKLIGHT_LEVELS 3 -#define BACKLIGHT_ON_STATE 0 #define RGBLED_NUM 1 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/v60_type_r/info.json b/keyboards/v60_type_r/info.json index f150360d18e..f107f27aa4e 100644 --- a/keyboards/v60_type_r/info.json +++ b/keyboards/v60_type_r/info.json @@ -8,6 +8,9 @@ "pid": "0x0658", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_iso"], diff --git a/keyboards/xiudi/xd60/rev2/config.h b/keyboards/xiudi/xd60/rev2/config.h index b591893634e..86411136909 100644 --- a/keyboards/xiudi/xd60/rev2/config.h +++ b/keyboards/xiudi/xd60/rev2/config.h @@ -34,7 +34,6 @@ along with this program. If not, see . /* Backlight Setup */ #define BACKLIGHT_PIN F5 #define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_ON_STATE 0 /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/xiudi/xd60/rev2/info.json b/keyboards/xiudi/xd60/rev2/info.json index 29e6891948f..6d6d288d0ca 100644 --- a/keyboards/xiudi/xd60/rev2/info.json +++ b/keyboards/xiudi/xd60/rev2/info.json @@ -3,6 +3,9 @@ "usb": { "pid": "0x6060" }, + "backlight": { + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu" } diff --git a/keyboards/xiudi/xd60/rev3/config.h b/keyboards/xiudi/xd60/rev3/config.h index 30004147eb7..05acd6cba21 100644 --- a/keyboards/xiudi/xd60/rev3/config.h +++ b/keyboards/xiudi/xd60/rev3/config.h @@ -34,7 +34,6 @@ along with this program. If not, see . /* Backlight Setup */ #define BACKLIGHT_PIN F5 #define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_ON_STATE 0 /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/xiudi/xd60/rev3/info.json b/keyboards/xiudi/xd60/rev3/info.json index 76273bbc3bb..85e6a5d3f4a 100644 --- a/keyboards/xiudi/xd60/rev3/info.json +++ b/keyboards/xiudi/xd60/rev3/info.json @@ -3,6 +3,9 @@ "usb": { "pid": "0x6363" }, + "backlight": { + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu" } diff --git a/keyboards/xiudi/xd68/config.h b/keyboards/xiudi/xd68/config.h index 920ceb356fa..d1e69102e16 100644 --- a/keyboards/xiudi/xd68/config.h +++ b/keyboards/xiudi/xd68/config.h @@ -37,8 +37,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN F5 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 6 -#define BACKLIGHT_ON_STATE 0 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/xiudi/xd68/info.json b/keyboards/xiudi/xd68/info.json index 4f1977ae124..5163e03127a 100644 --- a/keyboards/xiudi/xd68/info.json +++ b/keyboards/xiudi/xd68/info.json @@ -8,6 +8,9 @@ "pid": "0x6868", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/xiudi/xd75/config.h b/keyboards/xiudi/xd75/config.h index 79f020082a6..b44c70e2c1e 100644 --- a/keyboards/xiudi/xd75/config.h +++ b/keyboards/xiudi/xd75/config.h @@ -36,7 +36,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN F5 #define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_ON_STATE 0 #define RGB_DI_PIN F6 #ifdef RGB_DI_PIN diff --git a/keyboards/xiudi/xd75/info.json b/keyboards/xiudi/xd75/info.json index c3b751f474f..0c453160802 100644 --- a/keyboards/xiudi/xd75/info.json +++ b/keyboards/xiudi/xd75/info.json @@ -8,6 +8,9 @@ "pid": "0x7575", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x15"], diff --git a/keyboards/xiudi/xd84/config.h b/keyboards/xiudi/xd84/config.h index 2c9eaf1b37b..6d1024d7483 100644 --- a/keyboards/xiudi/xd84/config.h +++ b/keyboards/xiudi/xd84/config.h @@ -39,7 +39,6 @@ #define BACKLIGHT_PIN B5 #define BACKLIGHT_LEVELS 10 -#define BACKLIGHT_ON_STATE 0 #define RGB_DI_PIN C7 #define RGBLED_NUM 7 diff --git a/keyboards/xiudi/xd84/info.json b/keyboards/xiudi/xd84/info.json index c2fc8fc5d63..a4d40e4fcd9 100644 --- a/keyboards/xiudi/xd84/info.json +++ b/keyboards/xiudi/xd84/info.json @@ -8,6 +8,9 @@ "pid": "0x8484", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "indicators": { "caps_lock": "B6", "on_state": 0 diff --git a/keyboards/xiudi/xd84pro/config.h b/keyboards/xiudi/xd84pro/config.h index 3349dd7be23..f9b059ef566 100644 --- a/keyboards/xiudi/xd84pro/config.h +++ b/keyboards/xiudi/xd84pro/config.h @@ -44,7 +44,6 @@ #define BACKLIGHT_PIN F5 #define BACKLIGHT_LEVELS 10 -#define BACKLIGHT_ON_STATE 0 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/xiudi/xd84pro/info.json b/keyboards/xiudi/xd84pro/info.json index 315515dbde3..87f1549c574 100644 --- a/keyboards/xiudi/xd84pro/info.json +++ b/keyboards/xiudi/xd84pro/info.json @@ -8,6 +8,9 @@ "pid": "0x8450", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/xiudi/xd87/config.h b/keyboards/xiudi/xd87/config.h index fd927ba6d8a..082512fcdf5 100644 --- a/keyboards/xiudi/xd87/config.h +++ b/keyboards/xiudi/xd87/config.h @@ -38,7 +38,6 @@ along with this program. If not, see . #define BACKLIGHT_PIN D0 #define BACKLIGHT_LEVELS 3 -#define BACKLIGHT_ON_STATE 0 #define RGB_DI_PIN B7 #ifdef RGB_DI_PIN diff --git a/keyboards/xiudi/xd87/info.json b/keyboards/xiudi/xd87/info.json index bf6a9d206e9..6503d55bba7 100644 --- a/keyboards/xiudi/xd87/info.json +++ b/keyboards/xiudi/xd87/info.json @@ -8,6 +8,9 @@ "pid": "0x8787", "device_version": "0.0.1" }, + "backlight": { + "on_state": 0 + }, "indicators": { "caps_lock": "E2", "on_state": 0