From 9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 21 Feb 2023 12:05:40 +1100 Subject: [PATCH] Move backlight config to data driven, part 1 (#19887) --- keyboards/40percentclub/4pack/config.h | 4 ---- keyboards/40percentclub/4pack/info.json | 3 +++ keyboards/40percentclub/sixpack/config.h | 1 - keyboards/40percentclub/sixpack/info.json | 3 +++ keyboards/4pplet/eagle_viper_rep/rev_a/config.h | 1 - keyboards/4pplet/eagle_viper_rep/rev_b/config.h | 2 -- keyboards/8pack/config.h | 3 --- keyboards/8pack/info.json | 3 +++ keyboards/acheron/athena/alpha/config.h | 2 -- keyboards/acheron/athena/alpha/info.json | 4 ++++ keyboards/acheron/athena/beta/config.h | 1 - keyboards/acheron/athena/beta/info.json | 3 +++ keyboards/acheron/austin/config.h | 1 - keyboards/acheron/elongate/delta/config.h | 1 - keyboards/acheron/elongate/delta/info.json | 3 +++ keyboards/acheron/shark/beta/config.h | 2 -- keyboards/acheron/shark/beta/info.json | 3 +++ keyboards/aeboards/ext65/rev2/config.h | 1 - keyboards/amjkeyboard/amj66/config.h | 1 - keyboards/b_sides/rev41lp/config.h | 2 -- keyboards/b_sides/rev41lp/info.json | 3 +++ keyboards/boston/config.h | 1 - keyboards/bt66tech/bt66tech60/config.h | 1 - keyboards/cannonkeys/an_c/config.h | 1 - keyboards/cannonkeys/chimera65/config.h | 1 - keyboards/cannonkeys/cloudline/config.h | 1 - keyboards/cannonkeys/crin/config.h | 1 - keyboards/cannonkeys/db60/config.h | 1 - keyboards/cannonkeys/devastatingtkl/config.h | 1 - keyboards/cannonkeys/instant60/config.h | 1 - keyboards/cannonkeys/instant65/config.h | 1 - keyboards/cannonkeys/iron165/config.h | 1 - keyboards/cannonkeys/malicious_ergo/config.h | 1 - keyboards/cannonkeys/obliterated75/config.h | 1 - keyboards/cannonkeys/onyx/config.h | 1 - keyboards/cannonkeys/ortho48/config.h | 1 - keyboards/cannonkeys/ortho60/config.h | 1 - keyboards/cannonkeys/ortho75/config.h | 1 - keyboards/cannonkeys/practice60/config.h | 1 - keyboards/cannonkeys/practice65/config.h | 1 - keyboards/cannonkeys/rekt1800/config.h | 1 - keyboards/cannonkeys/sagittarius/config.h | 1 - keyboards/cannonkeys/satisfaction75/config.h | 1 - keyboards/cannonkeys/savage65/config.h | 1 - keyboards/cannonkeys/tmov2/config.h | 1 - keyboards/cannonkeys/tsukuyomi/config.h | 1 - keyboards/cannonkeys/vicious40/config.h | 1 - keyboards/checkerboards/nop60/config.h | 1 - keyboards/checkerboards/quark_plus/config.h | 1 - keyboards/checkerboards/snop60/config.h | 1 - keyboards/ck60i/config.h | 1 - keyboards/coarse/cordillera/config.h | 1 - keyboards/custommk/evo70/config.h | 3 --- keyboards/custommk/evo70/info.json | 3 +++ keyboards/deng/thirty/config.h | 1 - keyboards/deng/thirty/info.json | 3 +++ keyboards/duck/orion/v3/config.h | 3 --- keyboards/duck/orion/v3/info.json | 3 +++ keyboards/ebastler/isometria_75/rev1/config.h | 1 - keyboards/exclusive/e6v2/le/config.h | 1 - keyboards/exclusive/e6v2/le/info.json | 3 +++ keyboards/exclusive/e6v2/oe/config.h | 1 - keyboards/exclusive/e6v2/oe/info.json | 3 +++ keyboards/gray_studio/cod67/config.h | 1 - keyboards/gray_studio/cod67/info.json | 3 +++ keyboards/handwired/jot50/config.h | 1 - keyboards/handwired/jot50/info.json | 3 +++ keyboards/handwired/lovelive9/config.h | 1 - keyboards/handwired/lovelive9/info.json | 3 +++ keyboards/handwired/oem_iso_fullsize/config.h | 9 --------- keyboards/handwired/pill60/config.h | 1 - keyboards/iron180/config.h | 1 - keyboards/iron180/info.json | 3 +++ keyboards/jian/nsrev2/config.h | 1 - keyboards/jian/rev1/config.h | 1 - keyboards/jian/rev2/config.h | 1 - keyboards/kb_elmo/twelvekey/config.h | 1 - keyboards/kb_elmo/twelvekey/info.json | 3 +++ keyboards/kbdfans/kbd66/config.h | 1 - keyboards/keebsforall/coarse60/config.h | 1 - keyboards/kprepublic/cospad/config.h | 1 - keyboards/kprepublic/cospad/info.json | 3 +++ keyboards/ktec/staryu/backlight_staryu.h | 2 +- keyboards/ktec/staryu/config.h | 4 ---- keyboards/ktec/staryu/info.json | 3 +++ keyboards/linworks/dolice/config.h | 1 - keyboards/linworks/fave104/config.h | 1 - keyboards/linworks/fave87/config.h | 1 - keyboards/linworks/whale75/config.h | 1 - keyboards/melgeek/mj6xy/rev3/config.h | 2 -- keyboards/mntre/config.h | 1 - keyboards/mntre/info.json | 3 +++ keyboards/mokey/ginkgo65hot/config.h | 1 - keyboards/mokey/ginkgo65hot/info.json | 3 +++ keyboards/monarch/config.h | 1 - keyboards/ncc1701kb/config.h | 1 - keyboards/neito/config.h | 2 -- keyboards/neito/info.json | 3 +++ keyboards/nopunin10did/jabberwocky/v2/config.h | 3 --- keyboards/nopunin10did/jabberwocky/v2/info.json | 3 +++ keyboards/projectkb/alice/rev1/config.h | 1 - keyboards/projectkb/alice/rev2/config.h | 1 - keyboards/rmi_kb/wete/v1/config.h | 1 - keyboards/smithrune/iron165r2/f072/config.h | 2 -- keyboards/smithrune/iron165r2/f072/info.json | 3 +++ keyboards/smithrune/iron165r2/f411/config.h | 2 -- keyboards/smithrune/iron165r2/f411/info.json | 3 +++ keyboards/smithrune/iron180/config.h | 1 - keyboards/tzarc/djinn/rev1/config.h | 5 ----- keyboards/tzarc/djinn/rev1/info.json | 3 +++ keyboards/tzarc/djinn/rev2/config.h | 5 ----- keyboards/tzarc/djinn/rev2/info.json | 3 +++ keyboards/v60_type_r/config.h | 1 - keyboards/v60_type_r/info.json | 3 +++ keyboards/xiudi/xd60/rev2/config.h | 1 - keyboards/xiudi/xd60/rev2/info.json | 3 +++ keyboards/xiudi/xd60/rev3/config.h | 1 - keyboards/xiudi/xd60/rev3/info.json | 3 +++ keyboards/xiudi/xd68/config.h | 2 -- keyboards/xiudi/xd68/info.json | 3 +++ keyboards/xiudi/xd75/config.h | 1 - keyboards/xiudi/xd75/info.json | 3 +++ keyboards/xiudi/xd84/config.h | 1 - keyboards/xiudi/xd84/info.json | 3 +++ keyboards/xiudi/xd84pro/config.h | 1 - keyboards/xiudi/xd84pro/info.json | 3 +++ keyboards/xiudi/xd87/config.h | 1 - keyboards/xiudi/xd87/info.json | 3 +++ 128 files changed, 110 insertions(+), 131 deletions(-) diff --git a/keyboards/40percentclub/4pack/config.h b/keyboards/40percentclub/4pack/config.h index 2fc00cdc89..b0cf6b6f6a 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 9cdb584b0c..12ede4172c 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 071eecddd4..acf61f0017 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 4e7f39c9c6..65f16021dd 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 a10e1255ec..ac93743ec6 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 8c3bb820a4..5e1d995a68 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 a9564f1bcf..5be5e67374 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 63cc0e23de..2c7a34d487 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 08526ea943..fd6f74bf35 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 cc2a5249d0..f9d74fae2f 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 8be04b3fa1..a3a1a3b25c 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 51c335a850..aae8d02b41 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 323d7b3c83..210e4182a5 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 2be4dba3e3..6766f62ef5 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 d763023926..6a5318b777 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 aab3c78077..633f76289f 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 615e9a91b9..dc4579b445 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 d4f6fd4f7f..364b919179 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 a0dd902c65..df2afabeba 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 f5905efdd4..c843c89eef 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 a587172d04..9b1a1c9e9c 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 f73bb45d3d..7b3249e881 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 e3337ccd33..982e69a32b 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 29a5bac173..de54b4ddeb 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 7aeb5ba9de..b3037d9378 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 ae709af94e..5442ee192f 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 25ca597254..5cd5613378 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 4389cf070c..ff2dcf70f2 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 c607ecceee..2865ecebb9 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 ad872dd356..8f72638604 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 2e309fd556..efa1e26fbb 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 596e0af2b6..773aa16496 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 af16d09993..a3ab4d6e0d 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 8d91b9bf93..d590606d28 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 8c6da90c9b..4ff492449b 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 1046847cc2..87000ef0b9 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 7a7d5c2ed6..0e86aa6851 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 8216cd99d2..a69a445b15 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 a383b614db..fb301ef701 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 7fe680e483..b38638add4 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 617989fc48..7c0745ceb8 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 3ba3ddc64f..9aed1f45bd 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 8c2446682a..55dd8386dc 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 b5b655cb4d..416929afc7 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 7a12ac5844..9cdd3834fc 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 97d2ac6c02..2c07e1d504 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 f937ce7c67..87a002728e 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 88440d4a37..23ef41da4c 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 5e0e46df3e..004fc8a177 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 82bb59d838..d9b5194a0b 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 3a515f0e8e..f298022e35 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 fe9c5f76df..ff96ef5a2a 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 2d7a7f24ef..9f27a458b7 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 7c7eb1c5ff..e5d2327518 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 ff51cade09..a3462809c1 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 26dcc5f0b8..d17b1d41dd 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 908bad5bde..6dde204a3b 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 f96e5b9ca5..7c4c34281c 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 511e233986..42cbedbd01 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 771877fbca..c560e06a75 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 a427b9de1b..ac3a613736 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 0eb97d1c78..b43acd5a93 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 e93376b867..70e57d3678 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 a1ae3cf3a2..6bb36a7bff 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 8c5c4bd7db..d9d50c9d27 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 e1359e093e..b21b1c627f 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 db08eef195..4cc8b88fd4 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 87ba736bb9..4020d7021f 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 13931f8f45..be3541c4fd 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 21b3556bb3..af6146110d 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 8b671a9e03..1544eb0e19 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 33686df9a0..2e57ae8470 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 3092b2021f..36fab51596 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 a4545f4845..1e2a238f69 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 a4e4e60eb8..4b32d8fc0b 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 52329f9d95..3e5b61863e 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 cb468c0c7a..aae47646bd 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 4c3764f4d0..3155d03b89 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 f8b54b0c48..3d5ea9e967 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 7de0e8c1e7..cd4fb39ae2 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 c0ccd15f17..5463f8fb16 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 805f697743..e4cf27945f 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 b90350e28b..34511da5c1 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 e8e726364c..1a1b7372e6 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 0463c08ccc..21c4e04dd7 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 306826a6fb..97f8029955 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 fab533980c..d064d7cea4 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 69292928ea..6b553e26a2 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 9b0b2e21aa..b2da9c0245 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 0b613a156b..aa0e0e6097 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 4a2ca0dcf1..123d66fcdf 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 c5949adcb1..dd26827624 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 e876a61888..148a1ce5c2 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 9083672c7d..1f1ae6d8f2 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 77b6ea76d4..7708f0fc16 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 50424c2a7e..c0406b910e 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 34486ec609..1aa349df4c 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 999c42b0ed..36b8e0ba22 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 9e3df3181f..367603694c 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 f577c96ddb..ea7f59ed8d 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 71f3f5b690..ade5f8f27c 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 79f4eb391b..a63f0b85a5 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 4af5b86be6..e576982cf1 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 502f5d6add..28ab38b25e 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 8bba6f5d5d..46539afa5c 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 af8b46531c..832c40e1cc 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 8610c8de5f..3a92574123 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 67763babba..bec408edc8 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 cf6dda0a8a..5ced700323 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 3062267d4e..65b9eb2eab 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 b0deb6d991..02224e4fc6 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 e9b151cb93..22cafa74ae 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 a45a3a7d13..b1d44e58d4 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 f150360d18..f107f27aa4 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 b591893634..8641113690 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 29e6891948..6d6d288d0c 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 30004147eb..05acd6cba2 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 76273bbc3b..85e6a5d3f4 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 920ceb356f..d1e69102e1 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 4f1977ae12..5163e03127 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 79f020082a..b44c70e2c1 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 c3b751f474..0c45316080 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 2c9eaf1b37..6d1024d748 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 c2fc8fc5d6..a4d40e4fcd 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 3349dd7be2..f9b059ef56 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 315515dbde..87f1549c57 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 fd927ba6d8..082512fcdf 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 bf6a9d206e..6503d55bba 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