diff options
| author | Ryan <fauxpark@gmail.com> | 2023-02-21 12:05:40 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-21 12:05:40 +1100 |
| commit | 9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (patch) | |
| tree | 9882c99ab628ff49e60eb43b42ec3bf6ebefe8bd | |
| parent | 4b69225c225b76f6631977912c5197c834206b27 (diff) | |
Move backlight config to data driven, part 1 (#19887)
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 <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define BACKLIGHT_LED_COUNT 2 | ||
| 21 | #undef BACKLIGHT_PIN | ||
| 22 | #define BACKLIGHT_PINS { F6, F7 } | ||
| 23 | |||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 25 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 26 | /* Locking resynchronize hack */ | 22 | /* 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 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pins": ["F6", "F7"] | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
| 13 | "matrix_pins": { | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 20 | /* Backlight */ | 20 | /* Backlight */ |
| 21 | #define BACKLIGHT_BREATHING | 21 | #define BACKLIGHT_BREATHING |
| 22 | #define BACKLIGHT_LEVELS 6 | 22 | #define BACKLIGHT_LEVELS 6 |
| 23 | #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 @@ | |||
| 8 | "pid": "0x5350", | 8 | "pid": "0x5350", |
| 9 | "device_version": "10.0.1" | 9 | "device_version": "10.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pins": ["F4", "F5"] | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B0", | 15 | "caps_lock": "B0", |
| 13 | "num_lock": "D5", | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD2 | 25 | #define BACKLIGHT_PWM_DRIVER PWMD2 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 4 | 26 | #define BACKLIGHT_PWM_CHANNEL 4 |
| 27 | #define BACKLIGHT_PAL_MODE 2 | 27 | #define BACKLIGHT_PAL_MODE 2 |
| 28 | #define BACKLIGHT_ON_STATE 1 | ||
| 29 | #define BACKLIGHT_LEVELS 10 | 28 | #define BACKLIGHT_LEVELS 10 |
| 30 | #define BACKLIGHT_BREATHING TRUE | 29 | #define BACKLIGHT_BREATHING TRUE |
| 31 | 30 | ||
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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | #define BACKLIGHT_ON_STATE 1 | ||
| 32 | 30 | ||
| 33 | /* Underglow */ | 31 | /* Underglow */ |
| 34 | #define RGBLED_NUM 16 | 32 | #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 @@ | |||
| 6 | /* Locking resynchronize hack */ | 6 | /* Locking resynchronize hack */ |
| 7 | #define LOCKING_RESYNC_ENABLE | 7 | #define LOCKING_RESYNC_ENABLE |
| 8 | 8 | ||
| 9 | #define BACKLIGHT_LED_COUNT 8 | ||
| 10 | #undef BACKLIGHT_PIN | ||
| 11 | #define BACKLIGHT_PINS { D1, D0, D4, C6, D7, E6, B4, B5 } | ||
| 12 | #define BACKLIGHT_LEVELS 8 | 9 | #define BACKLIGHT_LEVELS 8 |
| 13 | 10 | ||
| 14 | // ws2812 options | 11 | // 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 @@ | |||
| 7 | "vid": "0xFEED", | 7 | "vid": "0xFEED", |
| 8 | "pid": "0x2171" | 8 | "pid": "0x2171" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] | ||
| 12 | }, | ||
| 10 | "processor": "atmega32u4", | 13 | "processor": "atmega32u4", |
| 11 | "bootloader": "caterina", | 14 | "bootloader": "caterina", |
| 12 | "matrix_pins": { | 15 | "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 <http://www.gnu.org/licenses/>. | |||
| 32 | #define BACKLIGHT_PAL_MODE 2 | 32 | #define BACKLIGHT_PAL_MODE 2 |
| 33 | #define BACKLIGHT_LEVELS 20 | 33 | #define BACKLIGHT_LEVELS 20 |
| 34 | #define BACKLIGHT_BREATHING | 34 | #define BACKLIGHT_BREATHING |
| 35 | #define BREATHING_PERIOD 5 | ||
| 36 | #define BACKLIGHT_ON_STATE 0 | ||
| 37 | 35 | ||
| 38 | #define RGB_DI_PIN B15 | 36 | #define RGB_DI_PIN B15 |
| 39 | #define RGBLED_NUM 34 | 37 | #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 @@ | |||
| 4 | "pid": "0x6584", | 4 | "pid": "0x6584", |
| 5 | "device_version": "0.0.1" | 5 | "device_version": "0.0.1" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "on_state": 0, | ||
| 9 | "breathing_period": 5 | ||
| 10 | }, | ||
| 7 | "indicators": { | 11 | "indicators": { |
| 8 | "caps_lock": "A10" | 12 | "caps_lock": "A10" |
| 9 | }, | 13 | }, |
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 <http://www.gnu.org/licenses/>. | |||
| 32 | #define BACKLIGHT_PAL_MODE 2 | 32 | #define BACKLIGHT_PAL_MODE 2 |
| 33 | #define BACKLIGHT_LEVELS 20 | 33 | #define BACKLIGHT_LEVELS 20 |
| 34 | #define BACKLIGHT_BREATHING | 34 | #define BACKLIGHT_BREATHING |
| 35 | #define BREATHING_PERIOD 5 | ||
| 36 | 35 | ||
| 37 | #define RGB_DI_PIN B15 | 36 | #define RGB_DI_PIN B15 |
| 38 | #define RGBLED_NUM 34 | 37 | #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 @@ | |||
| 4 | "pid": "0x6585", | 4 | "pid": "0x6585", |
| 5 | "device_version": "0.0.2" | 5 | "device_version": "0.0.2" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "breathing_period": 5 | ||
| 9 | }, | ||
| 7 | "indicators": { | 10 | "indicators": { |
| 8 | "caps_lock": "C8" | 11 | "caps_lock": "C8" |
| 9 | }, | 12 | }, |
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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 30 | #define BACKLIGHT_BREATHING | 30 | #define BACKLIGHT_BREATHING |
| 31 | #define BACKLIGHT_LEVELS 20 | 31 | #define BACKLIGHT_LEVELS 20 |
| 32 | #define BACKLIGHT_DEFAULT_LEVEL 10 | 32 | #define BACKLIGHT_DEFAULT_LEVEL 10 |
| 33 | #define BREATHING_PERIOD 3 | ||
| 34 | 33 | ||
| 35 | #define RGB_DI_PIN B15 | 34 | #define RGB_DI_PIN B15 |
| 36 | #define RGBLED_NUM 16 | 35 | #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 @@ | |||
| 8 | "pid": "0x454D", | 8 | "pid": "0x454D", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "breathing_period": 3 | ||
| 13 | }, | ||
| 11 | "processor": "STM32F072", | 14 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 15 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 31 | #define BACKLIGHT_PAL_MODE 2 | 31 | #define BACKLIGHT_PAL_MODE 2 |
| 32 | #define BACKLIGHT_LEVELS 20 | 32 | #define BACKLIGHT_LEVELS 20 |
| 33 | #define BACKLIGHT_BREATHING | 33 | #define BACKLIGHT_BREATHING |
| 34 | #define BREATHING_PERIOD 5 | ||
| 35 | #define BACKLIGHT_ON_STATE 1 | ||
| 36 | 34 | ||
| 37 | #define RGB_DI_PIN B15 | 35 | #define RGB_DI_PIN B15 |
| 38 | #define RGBLED_NUM 24 | 36 | #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 @@ | |||
| 4 | "pid": "0x5369", | 4 | "pid": "0x5369", |
| 5 | "device_version": "0.0.2" | 5 | "device_version": "0.0.2" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "breathing_period": 5 | ||
| 9 | }, | ||
| 7 | "processor": "STM32F411", | 10 | "processor": "STM32F411", |
| 8 | "bootloader": "stm32-dfu", | 11 | "bootloader": "stm32-dfu", |
| 9 | "community_layouts": ["ortho_4x12"], | 12 | "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 @@ | |||
| 57 | 57 | ||
| 58 | #define BACKLIGHT_LEVELS 6 | 58 | #define BACKLIGHT_LEVELS 6 |
| 59 | #define BACKLIGHT_BREATHING | 59 | #define BACKLIGHT_BREATHING |
| 60 | #define BREATHING_PERIOD 6 | ||
| 61 | 60 | ||
| 62 | #define SLEEP_LED_GPT_DRIVER GPTD1 | 61 | #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 <http://www.gnu.org/licenses/>. | |||
| 28 | #define BACKLIGHT_PIN D4 | 28 | #define BACKLIGHT_PIN D4 |
| 29 | #define BACKLIGHT_LEVELS 3 | 29 | #define BACKLIGHT_LEVELS 3 |
| 30 | #define BACKLIGHT_BREATHING | 30 | #define BACKLIGHT_BREATHING |
| 31 | #define BREATHING_PERIOD 6 | ||
| 32 | 31 | ||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 33 | #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 <http://www.gnu.org/licenses/>. | |||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B6 | 26 | #define BACKLIGHT_PIN B6 |
| 27 | #define BACKLIGHT_ON_STATE 1 | ||
| 28 | #define BACKLIGHT_LEVELS 7 | 27 | #define BACKLIGHT_LEVELS 7 |
| 29 | #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 @@ | |||
| 8 | "pid": "0x5F10", | 8 | "pid": "0x5F10", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "max_brightness": 150 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
| 13 | "layout_aliases": { | 16 | "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 @@ | |||
| 28 | #define BACKLIGHT_PAL_MODE 1 | 28 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | 29 | #define BACKLIGHT_LEVELS 6 |
| 30 | #define BACKLIGHT_BREATHING | 30 | #define BACKLIGHT_BREATHING |
| 31 | #define BREATHING_PERIOD 6 | ||
| 32 | 31 | ||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 33 | #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 <http://www.gnu.org/licenses/>. | |||
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | 27 | #define BACKLIGHT_LEVELS 6 |
| 28 | #define BACKLIGHT_BREATHING | 28 | #define BACKLIGHT_BREATHING |
| 29 | #define BREATHING_PERIOD 6 | ||
| 30 | 29 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 31 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 @@ | |||
| 13 | #define BACKLIGHT_PAL_MODE 1 | 13 | #define BACKLIGHT_PAL_MODE 1 |
| 14 | #define BACKLIGHT_LEVELS 6 | 14 | #define BACKLIGHT_LEVELS 6 |
| 15 | #define BACKLIGHT_BREATHING | 15 | #define BACKLIGHT_BREATHING |
| 16 | #define BREATHING_PERIOD 6 | ||
| 17 | 16 | ||
| 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 17 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 19 | #define LOCKING_SUPPORT_ENABLE | 18 | #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 <http://www.gnu.org/licenses/>. | |||
| 28 | #define BACKLIGHT_PAL_MODE 1 | 28 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | 29 | #define BACKLIGHT_LEVELS 6 |
| 30 | #define BACKLIGHT_BREATHING | 30 | #define BACKLIGHT_BREATHING |
| 31 | #define BREATHING_PERIOD 6 | ||
| 32 | 31 | ||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 33 | #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 <http://www.gnu.org/licenses/>. | |||
| 28 | #define BACKLIGHT_PAL_MODE 1 | 28 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | 29 | #define BACKLIGHT_LEVELS 6 |
| 30 | #define BACKLIGHT_BREATHING | 30 | #define BACKLIGHT_BREATHING |
| 31 | #define BREATHING_PERIOD 6 | ||
| 32 | 31 | ||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 33 | #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 <http://www.gnu.org/licenses/>. | |||
| 28 | #define BACKLIGHT_PAL_MODE 1 | 28 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | 29 | #define BACKLIGHT_LEVELS 6 |
| 30 | #define BACKLIGHT_BREATHING | 30 | #define BACKLIGHT_BREATHING |
| 31 | #define BREATHING_PERIOD 6 | ||
| 32 | 31 | ||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 33 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 29 | #define BACKLIGHT_PAL_MODE 1 | 29 | #define BACKLIGHT_PAL_MODE 1 |
| 30 | #define BACKLIGHT_LEVELS 6 | 30 | #define BACKLIGHT_LEVELS 6 |
| 31 | #define BACKLIGHT_BREATHING | 31 | #define BACKLIGHT_BREATHING |
| 32 | #define BREATHING_PERIOD 6 | ||
| 33 | 32 | ||
| 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 35 | #define LOCKING_SUPPORT_ENABLE | 34 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 28 | #define BACKLIGHT_PAL_MODE 1 | 28 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | 29 | #define BACKLIGHT_LEVELS 6 |
| 30 | #define BACKLIGHT_BREATHING | 30 | #define BACKLIGHT_BREATHING |
| 31 | #define BREATHING_PERIOD 6 | ||
| 32 | 31 | ||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 33 | #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 <http://www.gnu.org/licenses/>. | |||
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | 27 | #define BACKLIGHT_LEVELS 6 |
| 28 | #define BACKLIGHT_BREATHING | 28 | #define BACKLIGHT_BREATHING |
| 29 | #define BREATHING_PERIOD 6 | ||
| 30 | 29 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 31 | #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 <http://www.gnu.org/licenses/>. | |||
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | 27 | #define BACKLIGHT_LEVELS 6 |
| 28 | #define BACKLIGHT_BREATHING | 28 | #define BACKLIGHT_BREATHING |
| 29 | #define BREATHING_PERIOD 6 | ||
| 30 | 29 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 31 | #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 <http://www.gnu.org/licenses/>. | |||
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | 27 | #define BACKLIGHT_LEVELS 6 |
| 28 | #define BACKLIGHT_BREATHING | 28 | #define BACKLIGHT_BREATHING |
| 29 | #define BREATHING_PERIOD 6 | ||
| 30 | 29 | ||
| 31 | #define ENCODERS_PAD_A { B9 } | 30 | #define ENCODERS_PAD_A { B9 } |
| 32 | #define ENCODERS_PAD_B { B8 } | 31 | #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 <http://www.gnu.org/licenses/>. | |||
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | 27 | #define BACKLIGHT_LEVELS 6 |
| 28 | #define BACKLIGHT_BREATHING | 28 | #define BACKLIGHT_BREATHING |
| 29 | #define BREATHING_PERIOD 6 | ||
| 30 | 29 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 31 | #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 <http://www.gnu.org/licenses/>. | |||
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | 27 | #define BACKLIGHT_LEVELS 6 |
| 28 | #define BACKLIGHT_BREATHING | 28 | #define BACKLIGHT_BREATHING |
| 29 | #define BREATHING_PERIOD 6 | ||
| 30 | 29 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 31 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 35 | //LEDS A6, RGB B15 | 35 | //LEDS A6, RGB B15 |
| 36 | #define BACKLIGHT_LEVELS 24 | 36 | #define BACKLIGHT_LEVELS 24 |
| 37 | #define BACKLIGHT_BREATHING | 37 | #define BACKLIGHT_BREATHING |
| 38 | #define BREATHING_PERIOD 6 | ||
| 39 | 38 | ||
| 40 | // I2C config | 39 | // I2C config |
| 41 | #define I2C_DRIVER I2CD1 | 40 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 | |||
| 30 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 30 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 31 | #define BACKLIGHT_LEVELS 6 | 31 | #define BACKLIGHT_LEVELS 6 |
| 32 | #define BACKLIGHT_BREATHING | 32 | #define BACKLIGHT_BREATHING |
| 33 | #define BREATHING_PERIOD 6 | ||
| 34 | 33 | ||
| 35 | // ws2812 options | 34 | // ws2812 options |
| 36 | #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to | 35 | #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 @@ | |||
| 34 | #define BACKLIGHT_PIN C4 | 34 | #define BACKLIGHT_PIN C4 |
| 35 | #define BACKLIGHT_LEVELS 6 | 35 | #define BACKLIGHT_LEVELS 6 |
| 36 | #define BACKLIGHT_BREATHING | 36 | #define BACKLIGHT_BREATHING |
| 37 | #define BREATHING_PERIOD 6 | ||
| 38 | 37 | ||
| 39 | // ws2812 options | 38 | // ws2812 options |
| 40 | #define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to | 39 | #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 | |||
| 29 | #define BACKLIGHT_PIN D1 | 29 | #define BACKLIGHT_PIN D1 |
| 30 | #define BACKLIGHT_LEVELS 6 | 30 | #define BACKLIGHT_LEVELS 6 |
| 31 | #define BACKLIGHT_BREATHING | 31 | #define BACKLIGHT_BREATHING |
| 32 | #define BREATHING_PERIOD 6 | ||
| 33 | 32 | ||
| 34 | // ws2812 options | 33 | // ws2812 options |
| 35 | #define RGB_DI_PIN B1 // pin the DI on the ws2812 is hooked-up to | 34 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 @@ | |||
| 20 | #define OLED_UPDATE_INTERVAL 33 | 20 | #define OLED_UPDATE_INTERVAL 33 |
| 21 | 21 | ||
| 22 | #define BACKLIGHT_PIN B5 | 22 | #define BACKLIGHT_PIN B5 |
| 23 | #define BACKLIGHT_LIMIT_VAL 255 | ||
| 24 | #define BACKLIGHT_ON_STATE 0 | ||
| 25 | #define BACKLIGHT_LEVELS 17 | 23 | #define BACKLIGHT_LEVELS 17 |
| 26 | #define BACKLIGHT_BREATHING | 24 | #define BACKLIGHT_BREATHING |
| 27 | #define BREATHING_PERIOD 6 | ||
| 28 | 25 | ||
| 29 | #define OLED_DISABLE_TIMEOUT | 26 | #define OLED_DISABLE_TIMEOUT |
| 30 | 27 | ||
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 @@ | |||
| 9 | "pid": "0xFAB5", | 9 | "pid": "0xFAB5", |
| 10 | "device_version": "0.0.1" | 10 | "device_version": "0.0.1" |
| 11 | }, | 11 | }, |
| 12 | "backlight": { | ||
| 13 | "on_state": 0 | ||
| 14 | }, | ||
| 12 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 13 | "bootloader": "qmk-dfu", | 16 | "bootloader": "qmk-dfu", |
| 14 | "diode_direction": "COL2ROW", | 17 | "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 @@ | |||
| 25 | #ifdef BACKLIGHT_ENABLE | 25 | #ifdef BACKLIGHT_ENABLE |
| 26 | #define BACKLIGHT_PIN B11 | 26 | #define BACKLIGHT_PIN B11 |
| 27 | #define BACKLIGHT_LEVELS 5 | 27 | #define BACKLIGHT_LEVELS 5 |
| 28 | #define BACKLIGHT_ON_STATE 0 | ||
| 29 | #endif | 28 | #endif |
| 30 | 29 | ||
| 31 | /* RGB Matrix */ | 30 | /* 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 @@ | |||
| 8 | "pid": "0x7342", | 8 | "pid": "0x7342", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "processor": "STM32F103", | 14 | "processor": "STM32F103", |
| 12 | "bootloader": "stm32duino", | 15 | "bootloader": "stm32duino", |
| 13 | "layouts": { | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 24 | 24 | ||
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #undef BACKLIGHT_PIN | ||
| 28 | #define BACKLIGHT_PINS { B1, B2, B3, E6 } | ||
| 29 | #define BACKLIGHT_LED_COUNT 4 | ||
| 30 | #define BACKLIGHT_LEVELS 10 | 27 | #define BACKLIGHT_LEVELS 10 |
| 31 | 28 | ||
| 32 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #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 @@ | |||
| 8 | "pid": "0x4F52", | 8 | "pid": "0x4F52", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pins": ["B1", "B2", "B3", "E6"] | ||
| 13 | }, | ||
| 11 | "bootmagic": { | 14 | "bootmagic": { |
| 12 | "matrix": [4, 10] | 15 | "matrix": [4, 10] |
| 13 | }, | 16 | }, |
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 <http://www.gnu.org/licenses/>. | |||
| 31 | #define BACKLIGHT_PWM_CHANNEL 2 | 31 | #define BACKLIGHT_PWM_CHANNEL 2 |
| 32 | #define BACKLIGHT_PAL_MODE 2 | 32 | #define BACKLIGHT_PAL_MODE 2 |
| 33 | #define BACKLIGHT_LEVELS 5 | 33 | #define BACKLIGHT_LEVELS 5 |
| 34 | #define BACKLIGHT_ON_STATE 1 | ||
| 35 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. | 34 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. |
| 36 | 35 | ||
| 37 | /* Underglow */ | 36 | /* 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 <http://www.gnu.org/licenses/>. | |||
| 44 | #ifdef BACKLIGHT_PIN | 44 | #ifdef BACKLIGHT_PIN |
| 45 | #define BACKLIGHT_LEVELS 2 | 45 | #define BACKLIGHT_LEVELS 2 |
| 46 | #define BACKLIGHT_BREAHTING | 46 | #define BACKLIGHT_BREAHTING |
| 47 | #define BREATHING_PERIOD 3 | ||
| 48 | #endif | 47 | #endif |
| 49 | 48 | ||
| 50 | #define DIODE_DIRECTION COL2ROW | 49 | #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 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "breathing_period": 3 | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B7", | 15 | "caps_lock": "B7", |
| 13 | "on_state": 0 | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 44 | #ifdef BACKLIGHT_PIN | 44 | #ifdef BACKLIGHT_PIN |
| 45 | #define BACKLIGHT_LEVELS 5 | 45 | #define BACKLIGHT_LEVELS 5 |
| 46 | #define BACKLIGHT_BREAHTING | 46 | #define BACKLIGHT_BREAHTING |
| 47 | #define BREATHING_PERIOD 3 | ||
| 48 | #endif | 47 | #endif |
| 49 | 48 | ||
| 50 | #define DIODE_DIRECTION COL2ROW | 49 | #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 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "breathing_period": 3 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi"], | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 38 | * https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation | 38 | * https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation |
| 39 | */ | 39 | */ |
| 40 | #define BACKLIGHT_PIN D4 | 40 | #define BACKLIGHT_PIN D4 |
| 41 | #define BACKLIGHT_ON_STATE 0 | ||
| 42 | 41 | ||
| 43 | #define RGB_DI_PIN B2 | 42 | #define RGB_DI_PIN B2 |
| 44 | #ifdef RGB_DI_PIN | 43 | #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 @@ | |||
| 8 | "pid": "0x1000", | 8 | "pid": "0x1000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "lufa-ms", | 15 | "bootloader": "lufa-ms", |
| 13 | "layouts": { | 16 | "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 @@ | |||
| 9 | #define BACKLIGHT_LEVELS 3 | 9 | #define BACKLIGHT_LEVELS 3 |
| 10 | #define BACKLIGHT_PIN B5 | 10 | #define BACKLIGHT_PIN B5 |
| 11 | #define BACKLIGHT_BREATHING | 11 | #define BACKLIGHT_BREATHING |
| 12 | #define BREATHING_PERIOD 5 | ||
| 13 | 12 | ||
| 14 | /* COL2ROW or ROW2COL */ | 13 | /* COL2ROW or ROW2COL */ |
| 15 | #define DIODE_DIRECTION COL2ROW | 14 | #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 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "breathing_period": 5 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
| 13 | "community_layouts": ["ortho_5x12"], | 16 | "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 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_TWINKLE | 26 | #define RGBLIGHT_EFFECT_TWINKLE |
| 27 | #define BACKLIGHT_LEVELS 5 | 27 | #define BACKLIGHT_LEVELS 5 |
| 28 | #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 | 28 | #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 |
| 29 | #define BREATHING_PERIOD 2 | ||
| 30 | #define RGBLIGHT_LIMIT_VAL 255 | 29 | #define RGBLIGHT_LIMIT_VAL 255 |
| 31 | #define RGBLIGHT_HUE_STEP 10 | 30 | #define RGBLIGHT_HUE_STEP 10 |
| 32 | #define RGBLIGHT_SAT_STEP 17 | 31 | #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 @@ | |||
| 8 | "pid": "0x0007", | 8 | "pid": "0x0007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "breathing_period": 2 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
| 13 | "layouts": { | 16 | "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 @@ | |||
| 30 | #define MATRIX_ROW_PINS { C0, B4, F3, F4, F5, F6 } | 30 | #define MATRIX_ROW_PINS { C0, B4, F3, F4, F5, F6 } |
| 31 | #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 } | 31 | #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 } |
| 32 | 32 | ||
| 33 | /*Row 0, resistor R132, Pin A1 | ||
| 34 | *Row 1, R131, Pin B5 | ||
| 35 | *Row 2, R130, Pin E4 | ||
| 36 | *Row 3, R129, Pin A2 | ||
| 37 | *Row 4, R128, Pin E5 | ||
| 38 | *Row 5, R127, Pin A7 | ||
| 39 | #define BACKLIGHT_PINS { B5, E5, E4, A7, A1, A2 } | ||
| 40 | #define BACKLIGHT_LEVELS 1*/ | ||
| 41 | |||
| 42 | #define DIODE_DIRECTION ROW2COL | 33 | #define DIODE_DIRECTION ROW2COL |
| 43 | 34 | ||
| 44 | 35 | ||
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 @@ | |||
| 23 | #define BACKLIGHT_PWM_DRIVER PWMD5 | 23 | #define BACKLIGHT_PWM_DRIVER PWMD5 |
| 24 | #define BACKLIGHT_PWM_CHANNEL 1 | 24 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 25 | #define BACKLIGHT_LEVELS 5 | 25 | #define BACKLIGHT_LEVELS 5 |
| 26 | #define BREATHING_PERIOD 6 | ||
| 27 | 26 | ||
| 28 | /* Encoder */ | 27 | /* Encoder */ |
| 29 | #define ENCODERS_PAD_A \ | 28 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 20 | 28 | #define BACKLIGHT_LEVELS 20 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 5 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 @@ | |||
| 8 | "pid": "0x1180", | 8 | "pid": "0x1180", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "breathing_period": 5 | ||
| 13 | }, | ||
| 11 | "processor": "STM32F072", | 14 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 15 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 34 | #define BACKLIGHT_PIN C6 | 34 | #define BACKLIGHT_PIN C6 |
| 35 | #define BACKLIGHT_LEVELS 5 | 35 | #define BACKLIGHT_LEVELS 5 |
| 36 | #define BACKLIGHT_BREATHING //not working with splits right now | 36 | #define BACKLIGHT_BREATHING //not working with splits right now |
| 37 | #define BREATHING_PERIOD 6 | ||
| 38 | #endif | 37 | #endif |
| 39 | 38 | ||
| 40 | /* ws2812 RGB LED */ | 39 | /* 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 <http://www.gnu.org/licenses/>. | |||
| 81 | #ifdef BACKLIGHT_ENABLE | 81 | #ifdef BACKLIGHT_ENABLE |
| 82 | #define BACKLIGHT_PIN B6 | 82 | #define BACKLIGHT_PIN B6 |
| 83 | #define BACKLIGHT_LEVELS 5 | 83 | #define BACKLIGHT_LEVELS 5 |
| 84 | #define BREATHING_PERIOD 6 | ||
| 85 | #endif | 84 | #endif |
| 86 | 85 | ||
| 87 | /* ws2812 RGB LED */ | 86 | /* 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 <http://www.gnu.org/licenses/>. | |||
| 36 | #ifdef BACKLIGHT_ENABLE | 36 | #ifdef BACKLIGHT_ENABLE |
| 37 | #define BACKLIGHT_PIN C6 | 37 | #define BACKLIGHT_PIN C6 |
| 38 | #define BACKLIGHT_LEVELS 5 | 38 | #define BACKLIGHT_LEVELS 5 |
| 39 | #define BREATHING_PERIOD 6 | ||
| 40 | #endif | 39 | #endif |
| 41 | 40 | ||
| 42 | /* ws2812 RGB LED */ | 41 | /* 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 <http://www.gnu.org/licenses/>. | |||
| 28 | /* Backlight */ | 28 | /* Backlight */ |
| 29 | #define BACKLIGHT_PIN B1 | 29 | #define BACKLIGHT_PIN B1 |
| 30 | #define BACKLIGHT_LEVELS 8 | 30 | #define BACKLIGHT_LEVELS 8 |
| 31 | #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 @@ | |||
| 8 | "pid": "0x9879", | 8 | "pid": "0x9879", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "processor": "atmega328p", | 14 | "processor": "atmega328p", |
| 12 | "bootloader": "usbasploader", | 15 | "bootloader": "usbasploader", |
| 13 | "layouts": { | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 37 | #ifdef BACKLIGHT_PIN | 37 | #ifdef BACKLIGHT_PIN |
| 38 | #define BACKLIGHT_LEVELS 3 | 38 | #define BACKLIGHT_LEVELS 3 |
| 39 | #define BACKLIGHT_BREATHING | 39 | #define BACKLIGHT_BREATHING |
| 40 | #define BREATHING_PERIOD 6 | ||
| 41 | #endif | 40 | #endif |
| 42 | 41 | ||
| 43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 42 | /* 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 <http://www.gnu.org/licenses/>. | |||
| 26 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | 27 | #define BACKLIGHT_LEVELS 6 |
| 28 | #define BACKLIGHT_BREATHING | 28 | #define BACKLIGHT_BREATHING |
| 29 | #define BREATHING_PERIOD 6 | ||
| 30 | 29 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 31 | #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 <http://www.gnu.org/licenses/>. | |||
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN F7 | 37 | #define BACKLIGHT_PIN F7 |
| 38 | #define BACKLIGHT_LEVELS 3 | 38 | #define BACKLIGHT_LEVELS 3 |
| 39 | #define BACKLIGHT_ON_STATE 0 | ||
| 40 | 39 | ||
| 41 | #define RGB_DI_PIN F6 | 40 | #define RGB_DI_PIN F6 |
| 42 | #ifdef RGB_DI_PIN | 41 | #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 @@ | |||
| 8 | "pid": "0xB1E5", | 8 | "pid": "0xB1E5", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "num_lock": "B2", | 15 | "num_lock": "B2", |
| 13 | "on_state": 0 | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | // Add backwards compatibility for existing keymaps | 19 | // Add backwards compatibility for existing keymaps |
| 20 | static inline void backlight_set_value(uint8_t index, uint8_t level) { | 20 | static inline void backlight_set_value(uint8_t index, uint8_t level) { |
| 21 | static const uint8_t backlight_pins[BACKLIGHT_LED_COUNT] = BACKLIGHT_PINS; | 21 | static const uint8_t backlight_pins[] = BACKLIGHT_PINS; |
| 22 | if (level) { | 22 | if (level) { |
| 23 | setPinOutput(backlight_pins[index]); | 23 | setPinOutput(backlight_pins[index]); |
| 24 | } else { | 24 | } 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 <http://www.gnu.org/licenses/>. | |||
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLIGHT_LIMIT_VAL 200 | 31 | #define RGBLIGHT_LIMIT_VAL 200 |
| 32 | 32 | ||
| 33 | |||
| 34 | #undef BACKLIGHT_PIN | ||
| 35 | #define BACKLIGHT_PINS { C2, C7, D5, D6, B0 } | ||
| 36 | #define BACKLIGHT_LED_COUNT 5 | ||
| 37 | #define BACKLIGHT_LEVELS 10 | 33 | #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 @@ | |||
| 8 | "pid": "0x2328", | 8 | "pid": "0x2328", |
| 9 | "device_version": "2.0.5" | 9 | "device_version": "2.0.5" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pins": ["C2", "C7", "D5", "D6", "B0"] | ||
| 13 | }, | ||
| 11 | "bootmagic": { | 14 | "bootmagic": { |
| 12 | "matrix": [0, 1] | 15 | "matrix": [0, 1] |
| 13 | }, | 16 | }, |
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 <http://www.gnu.org/licenses/>. | |||
| 27 | /* Backlight */ | 27 | /* Backlight */ |
| 28 | #define BACKLIGHT_PIN B5 // Timer 1 on mega32u4 | 28 | #define BACKLIGHT_PIN B5 // Timer 1 on mega32u4 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #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 <http://www.gnu.org/licenses/>. | |||
| 31 | #define BACKLIGHT_PWM_CHANNEL 2 | 31 | #define BACKLIGHT_PWM_CHANNEL 2 |
| 32 | #define BACKLIGHT_PAL_MODE 2 | 32 | #define BACKLIGHT_PAL_MODE 2 |
| 33 | #define BACKLIGHT_LEVELS 5 | 33 | #define BACKLIGHT_LEVELS 5 |
| 34 | #define BACKLIGHT_ON_STATE 1 | ||
| 35 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. | 34 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | /* Backlight */ | 27 | /* Backlight */ |
| 28 | #define BACKLIGHT_PIN B7 // Timer 1 on mega32u4 | 28 | #define BACKLIGHT_PIN B7 // Timer 1 on mega32u4 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BACKLIGHT_ON_STATE 1 | ||
| 31 | 30 | ||
| 32 | /* Underglow */ | 31 | /* Underglow */ |
| 33 | #define RGB_DI_PIN E2 | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 31 | #define BACKLIGHT_PWM_CHANNEL 3 | 31 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 32 | #define BACKLIGHT_PAL_MODE 6 | 32 | #define BACKLIGHT_PAL_MODE 6 |
| 33 | #define BACKLIGHT_LEVELS 5 | 33 | #define BACKLIGHT_LEVELS 5 |
| 34 | #define BACKLIGHT_ON_STATE 1 | ||
| 35 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. | 34 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. |
| 36 | 35 | ||
| 37 | /* Underglow */ | 36 | /* 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 @@ | |||
| 28 | 28 | ||
| 29 | #ifdef BACKLIGHT_PIN | 29 | #ifdef BACKLIGHT_PIN |
| 30 | # define BACKLIGHT_LEVELS 10 | 30 | # define BACKLIGHT_LEVELS 10 |
| 31 | # define BACKLIGHT_ON_STATE 1 | ||
| 32 | # define BACKLIGHT_LIMIT_VAL 255 | ||
| 33 | #endif | 31 | #endif |
| 34 | 32 | ||
| 35 | #ifdef RGB_DI_PIN | 33 | #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 @@ | |||
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN B7 | 23 | #define BACKLIGHT_PIN B7 |
| 24 | #define BACKLIGHT_CUSTOM_RESOLUTION 0x400 | 24 | #define BACKLIGHT_CUSTOM_RESOLUTION 0x400 |
| 25 | #define BACKLIGHT_LIMIT_VAL 84 | ||
| 26 | 25 | ||
| 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 26 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 28 | #define LOCKING_SUPPORT_ENABLE | 27 | #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 @@ | |||
| 8 | "pid": "0x1302", | 8 | "pid": "0x1302", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "max_brightness": 84 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 22 | #define BACKLIGHT_LEVELS 6 | 22 | #define BACKLIGHT_LEVELS 6 |
| 23 | #define BACKLIGHT_CAPS_LOCK | 23 | #define BACKLIGHT_CAPS_LOCK |
| 24 | #define BACKLIGHT_BREATHING | 24 | #define BACKLIGHT_BREATHING |
| 25 | #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 @@ | |||
| 8 | "pid": "0x3366", | 8 | "pid": "0x3366", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "breathing_period": 5 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layout_aliases": { | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 33 | #define BACKLIGHT_PAL_MODE 1 | 33 | #define BACKLIGHT_PAL_MODE 1 |
| 34 | #define BACKLIGHT_LEVELS 24 | 34 | #define BACKLIGHT_LEVELS 24 |
| 35 | #define BACKLIGHT_BREATHING | 35 | #define BACKLIGHT_BREATHING |
| 36 | #define BREATHING_PERIOD 6 | ||
| 37 | 36 | ||
| 38 | #define SLEEP_LED_GPT_DRIVER GPTD1 | 37 | #define SLEEP_LED_GPT_DRIVER GPTD1 |
| 39 | 38 | ||
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 <http://www.gnu.org/licenses/>. | |||
| 26 | #define BACKLIGHT_PIN B7 | 26 | #define BACKLIGHT_PIN B7 |
| 27 | #define BACKLIGHT_LEVELS 3 | 27 | #define BACKLIGHT_LEVELS 3 |
| 28 | #define BACKLIGHT_BREATHING | 28 | #define BACKLIGHT_BREATHING |
| 29 | #define BREATHING_PERIOD 6 | ||
| 30 | 29 | ||
| 31 | /*Encoders */ | 30 | /*Encoders */ |
| 32 | #define ENCODERS_PAD_A { D0 } | 31 | #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 @@ | |||
| 23 | #define ENCODERS_PAD_B { B0 } | 23 | #define ENCODERS_PAD_B { B0 } |
| 24 | #define ENCODER_RESOLUTION 4 | 24 | #define ENCODER_RESOLUTION 4 |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_ON_STATE 0 | ||
| 27 | |||
| 28 | #define BACKLIGHT_PIN B5 | 26 | #define BACKLIGHT_PIN B5 |
| 29 | #define BACKLIGHT_LEVELS 5 | 27 | #define BACKLIGHT_LEVELS 5 |
| 30 | 28 | ||
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 @@ | |||
| 8 | "pid": "0xB44C", | 8 | "pid": "0xB44C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B6" | 15 | "caps_lock": "B6" |
| 13 | }, | 16 | }, |
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 @@ | |||
| 21 | #define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 } | 21 | #define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 } |
| 22 | #define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 } | 22 | #define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 } |
| 23 | 23 | ||
| 24 | /* LED Configuration */ | ||
| 25 | #define BACKLIGHT_PINS {D6} | ||
| 26 | |||
| 27 | #define BACKLIGHT_LEVELS 6 | 24 | #define BACKLIGHT_LEVELS 6 |
| 28 | 25 | ||
| 29 | /* COL2ROW or ROW2COL */ | 26 | /* 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 @@ | |||
| 8 | "pid": "0x4A58", | 8 | "pid": "0x4A58", |
| 9 | "device_version": "0.2.0" | 9 | "device_version": "0.2.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pins": ["D6"] | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B7", | 15 | "caps_lock": "B7", |
| 13 | "num_lock": "C6" | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 <http://www.gnu.org/licenses/>. | |||
| 28 | #define BACKLIGHT_PAL_MODE 1 | 28 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 24 | 29 | #define BACKLIGHT_LEVELS 24 |
| 30 | #define BACKLIGHT_BREATHING | 30 | #define BACKLIGHT_BREATHING |
| 31 | #define BREATHING_PERIOD 6 | ||
| 32 | 31 | ||
| 33 | // RGB B4 | 32 | // RGB B4 |
| 34 | #define RGB_DI_PIN B4 | 33 | #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 <http://www.gnu.org/licenses/>. | |||
| 23 | #define BACKLIGHT_PAL_MODE 1 | 23 | #define BACKLIGHT_PAL_MODE 1 |
| 24 | #define BACKLIGHT_LEVELS 20 | 24 | #define BACKLIGHT_LEVELS 20 |
| 25 | #define BACKLIGHT_BREATHING | 25 | #define BACKLIGHT_BREATHING |
| 26 | #define BREATHING_PERIOD 5 | ||
| 27 | #define BACKLIGHT_ON_STATE 1 | ||
| 28 | 26 | ||
| 29 | #define RGB_DI_PIN B15 | 27 | #define RGB_DI_PIN B15 |
| 30 | #define RGBLED_NUM 22 | 28 | #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 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "breathing_period": 5 | ||
| 4 | }, | ||
| 2 | "processor": "STM32F072", | 5 | "processor": "STM32F072", |
| 3 | "bootloader": "stm32-dfu" | 6 | "bootloader": "stm32-dfu" |
| 4 | } | 7 | } |
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 <http://www.gnu.org/licenses/>. | |||
| 23 | #define BACKLIGHT_PAL_MODE 2 | 23 | #define BACKLIGHT_PAL_MODE 2 |
| 24 | #define BACKLIGHT_LEVELS 20 | 24 | #define BACKLIGHT_LEVELS 20 |
| 25 | #define BACKLIGHT_BREATHING | 25 | #define BACKLIGHT_BREATHING |
| 26 | #define BREATHING_PERIOD 5 | ||
| 27 | #define BACKLIGHT_ON_STATE 1 | ||
| 28 | 26 | ||
| 29 | #define RGB_DI_PIN B15 | 27 | #define RGB_DI_PIN B15 |
| 30 | #define RGBLED_NUM 22 | 28 | #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 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "breathing_period": 5 | ||
| 4 | }, | ||
| 2 | "processor": "STM32F411", | 5 | "processor": "STM32F411", |
| 3 | "bootloader": "stm32-dfu" | 6 | "bootloader": "stm32-dfu" |
| 4 | } | 7 | } |
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 <http://www.gnu.org/licenses/>. | |||
| 27 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | 28 | #define BACKLIGHT_LEVELS 6 |
| 29 | #define BACKLIGHT_BREATHING | 29 | #define BACKLIGHT_BREATHING |
| 30 | #define BREATHING_PERIOD 6 | ||
| 31 | 30 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 32 | #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 @@ | |||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | #pragma once | 3 | #pragma once |
| 4 | 4 | ||
| 5 | // Limit the backlight brightness | ||
| 6 | #ifndef BACKLIGHT_LIMIT_VAL | ||
| 7 | # define BACKLIGHT_LIMIT_VAL 144 | ||
| 8 | #endif // BACKLIGHT_LIMIT_VAL | ||
| 9 | |||
| 10 | // Split configuration | 5 | // Split configuration |
| 11 | #define SPLIT_HAND_PIN B11 | 6 | #define SPLIT_HAND_PIN B11 |
| 12 | #ifdef USE_PLUG_DETECT_PIN | 7 | #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 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "1.0.0" | 3 | "device_version": "1.0.0" |
| 4 | }, | 4 | }, |
| 5 | "backlight": { | ||
| 6 | "max_brightness": 144 | ||
| 7 | }, | ||
| 5 | "split": { | 8 | "split": { |
| 6 | "soft_serial_pin": "B9", | 9 | "soft_serial_pin": "B9", |
| 7 | "usb_detect": { | 10 | "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 @@ | |||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | #pragma once | 3 | #pragma once |
| 4 | 4 | ||
| 5 | // Limit the backlight brightness | ||
| 6 | #ifndef BACKLIGHT_LIMIT_VAL | ||
| 7 | # define BACKLIGHT_LIMIT_VAL 144 | ||
| 8 | #endif // BACKLIGHT_LIMIT_VAL | ||
| 9 | |||
| 10 | // Split configuration | 5 | // Split configuration |
| 11 | #define SPLIT_HAND_PIN B9 | 6 | #define SPLIT_HAND_PIN B9 |
| 12 | #define USB_VBUS_PIN B12 | 7 | #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 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "2.0.0" | 3 | "device_version": "2.0.0" |
| 4 | }, | 4 | }, |
| 5 | "backlight": { | ||
| 6 | "max_brightness": 144 | ||
| 7 | }, | ||
| 5 | "split": { | 8 | "split": { |
| 6 | "usb_detect": { | 9 | "usb_detect": { |
| 7 | "enabled": false | 10 | "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 <http://www.gnu.org/licenses/>. | |||
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN F7 | 37 | #define BACKLIGHT_PIN F7 |
| 38 | #define BACKLIGHT_LEVELS 3 | 38 | #define BACKLIGHT_LEVELS 3 |
| 39 | #define BACKLIGHT_ON_STATE 0 | ||
| 40 | 39 | ||
| 41 | #define RGBLED_NUM 1 | 40 | #define RGBLED_NUM 1 |
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #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 @@ | |||
| 8 | "pid": "0x0658", | 8 | "pid": "0x0658", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_iso"], | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 34 | /* Backlight Setup */ | 34 | /* Backlight Setup */ |
| 35 | #define BACKLIGHT_PIN F5 | 35 | #define BACKLIGHT_PIN F5 |
| 36 | #define BACKLIGHT_LEVELS 6 | 36 | #define BACKLIGHT_LEVELS 6 |
| 37 | #define BACKLIGHT_ON_STATE 0 | ||
| 38 | 37 | ||
| 39 | /* COL2ROW or ROW2COL */ | 38 | /* COL2ROW or ROW2COL */ |
| 40 | #define DIODE_DIRECTION COL2ROW | 39 | #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 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "pid": "0x6060" | 4 | "pid": "0x6060" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "on_state": 0 | ||
| 8 | }, | ||
| 6 | "processor": "atmega32u4", | 9 | "processor": "atmega32u4", |
| 7 | "bootloader": "atmel-dfu" | 10 | "bootloader": "atmel-dfu" |
| 8 | } | 11 | } |
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 <http://www.gnu.org/licenses/>. | |||
| 34 | /* Backlight Setup */ | 34 | /* Backlight Setup */ |
| 35 | #define BACKLIGHT_PIN F5 | 35 | #define BACKLIGHT_PIN F5 |
| 36 | #define BACKLIGHT_LEVELS 6 | 36 | #define BACKLIGHT_LEVELS 6 |
| 37 | #define BACKLIGHT_ON_STATE 0 | ||
| 38 | 37 | ||
| 39 | /* COL2ROW or ROW2COL */ | 38 | /* COL2ROW or ROW2COL */ |
| 40 | #define DIODE_DIRECTION COL2ROW | 39 | #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 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "pid": "0x6363" | 4 | "pid": "0x6363" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "on_state": 0 | ||
| 8 | }, | ||
| 6 | "processor": "atmega32u4", | 9 | "processor": "atmega32u4", |
| 7 | "bootloader": "atmel-dfu" | 10 | "bootloader": "atmel-dfu" |
| 8 | } | 11 | } |
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 <http://www.gnu.org/licenses/>. | |||
| 37 | #define BACKLIGHT_PIN F5 | 37 | #define BACKLIGHT_PIN F5 |
| 38 | #define BACKLIGHT_LEVELS 6 | 38 | #define BACKLIGHT_LEVELS 6 |
| 39 | #define BACKLIGHT_BREATHING | 39 | #define BACKLIGHT_BREATHING |
| 40 | #define BREATHING_PERIOD 6 | ||
| 41 | #define BACKLIGHT_ON_STATE 0 | ||
| 42 | 40 | ||
| 43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 44 | #define LOCKING_SUPPORT_ENABLE | 42 | #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 @@ | |||
| 8 | "pid": "0x6868", | 8 | "pid": "0x6868", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B2", | 15 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN F5 | 37 | #define BACKLIGHT_PIN F5 |
| 38 | #define BACKLIGHT_LEVELS 6 | 38 | #define BACKLIGHT_LEVELS 6 |
| 39 | #define BACKLIGHT_ON_STATE 0 | ||
| 40 | 39 | ||
| 41 | #define RGB_DI_PIN F6 | 40 | #define RGB_DI_PIN F6 |
| 42 | #ifdef RGB_DI_PIN | 41 | #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 @@ | |||
| 8 | "pid": "0x7575", | 8 | "pid": "0x7575", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_5x15"], | 16 | "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 @@ | |||
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN B5 | 40 | #define BACKLIGHT_PIN B5 |
| 41 | #define BACKLIGHT_LEVELS 10 | 41 | #define BACKLIGHT_LEVELS 10 |
| 42 | #define BACKLIGHT_ON_STATE 0 | ||
| 43 | 42 | ||
| 44 | #define RGB_DI_PIN C7 | 43 | #define RGB_DI_PIN C7 |
| 45 | #define RGBLED_NUM 7 | 44 | #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 @@ | |||
| 8 | "pid": "0x8484", | 8 | "pid": "0x8484", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B6", | 15 | "caps_lock": "B6", |
| 13 | "on_state": 0 | 16 | "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 @@ | |||
| 44 | 44 | ||
| 45 | #define BACKLIGHT_PIN F5 | 45 | #define BACKLIGHT_PIN F5 |
| 46 | #define BACKLIGHT_LEVELS 10 | 46 | #define BACKLIGHT_LEVELS 10 |
| 47 | #define BACKLIGHT_ON_STATE 0 | ||
| 48 | 47 | ||
| 49 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 48 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 50 | #define LOCKING_SUPPORT_ENABLE | 49 | #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 @@ | |||
| 8 | "pid": "0x8450", | 8 | "pid": "0x8450", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B2", | 15 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 16 | "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 <http://www.gnu.org/licenses/>. | |||
| 38 | 38 | ||
| 39 | #define BACKLIGHT_PIN D0 | 39 | #define BACKLIGHT_PIN D0 |
| 40 | #define BACKLIGHT_LEVELS 3 | 40 | #define BACKLIGHT_LEVELS 3 |
| 41 | #define BACKLIGHT_ON_STATE 0 | ||
| 42 | 41 | ||
| 43 | #define RGB_DI_PIN B7 | 42 | #define RGB_DI_PIN B7 |
| 44 | #ifdef RGB_DI_PIN | 43 | #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 @@ | |||
| 8 | "pid": "0x8787", | 8 | "pid": "0x8787", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "on_state": 0 | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "E2", | 15 | "caps_lock": "E2", |
| 13 | "on_state": 0 | 16 | "on_state": 0 |
