diff options
| author | Ryan <fauxpark@gmail.com> | 2023-02-26 08:37:57 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-26 08:37:57 +1100 |
| commit | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch) | |
| tree | 8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 | |
| parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) | |
Move backlight config to data driven (#19910)
1003 files changed, 1873 insertions, 1684 deletions
diff --git a/data/mappings/info_config.hjson b/data/mappings/info_config.hjson index 7645598c77..46108e6fe6 100644 --- a/data/mappings/info_config.hjson +++ b/data/mappings/info_config.hjson | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "bool"}, | 13 | "AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "bool"}, |
| 14 | "BACKLIGHT_BREATHING": {"info_key": "backlight.breathing", "value_type": "bool"}, | 14 | "BACKLIGHT_BREATHING": {"info_key": "backlight.breathing", "value_type": "bool"}, |
| 15 | "BREATHING_PERIOD": {"info_key": "backlight.breathing_period", "value_type": "int"}, | 15 | "BREATHING_PERIOD": {"info_key": "backlight.breathing_period", "value_type": "int"}, |
| 16 | "BACKLIGHT_CAPS_LOCK": {"info_key": "backlight.as_caps_lock", "value_type": "bool"}, | ||
| 16 | "BACKLIGHT_LEVELS": {"info_key": "backlight.levels", "value_type": "int"}, | 17 | "BACKLIGHT_LEVELS": {"info_key": "backlight.levels", "value_type": "int"}, |
| 17 | "BACKLIGHT_LIMIT_VAL": {"info_key": "backlight.max_brightness", "value_type": "int"}, | 18 | "BACKLIGHT_LIMIT_VAL": {"info_key": "backlight.max_brightness", "value_type": "int"}, |
| 18 | "BACKLIGHT_ON_STATE": {"info_key": "backlight.on_state", "value_type": "int"}, | 19 | "BACKLIGHT_ON_STATE": {"info_key": "backlight.on_state", "value_type": "int"}, |
diff --git a/data/mappings/info_rules.hjson b/data/mappings/info_rules.hjson index c409da04c6..7c3780504c 100644 --- a/data/mappings/info_rules.hjson +++ b/data/mappings/info_rules.hjson | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | "BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false}, | 14 | "BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false}, |
| 15 | "BOOTMAGIC_ENABLE": {"info_key": "bootmagic.enabled", "value_type": "bool"}, | 15 | "BOOTMAGIC_ENABLE": {"info_key": "bootmagic.enabled", "value_type": "bool"}, |
| 16 | "BLUETOOTH_DRIVER": {"info_key": "bluetooth.driver"}, | 16 | "BLUETOOTH_DRIVER": {"info_key": "bluetooth.driver"}, |
| 17 | "BACKLIGHT_DRIVER": {"info_key": "backlight.driver"}, | ||
| 17 | "CAPS_WORD_ENABLE": {"info_key": "caps_word.enabled", "value_type": "bool"}, | 18 | "CAPS_WORD_ENABLE": {"info_key": "caps_word.enabled", "value_type": "bool"}, |
| 18 | "DEBOUNCE_TYPE": {"info_key": "build.debounce_type"}, | 19 | "DEBOUNCE_TYPE": {"info_key": "build.debounce_type"}, |
| 19 | "ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"}, | 20 | "ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"}, |
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 95387ba367..6f4f9c82ac 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema | |||
| @@ -108,6 +108,10 @@ | |||
| 108 | "type": "object", | 108 | "type": "object", |
| 109 | "additionalProperties": false, | 109 | "additionalProperties": false, |
| 110 | "properties": { | 110 | "properties": { |
| 111 | "driver": { | ||
| 112 | "type": "string", | ||
| 113 | "enum": ["pwm", "software", "timer", "custom"] | ||
| 114 | }, | ||
| 111 | "breathing": {"type": "boolean"}, | 115 | "breathing": {"type": "boolean"}, |
| 112 | "breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, | 116 | "breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, |
| 113 | "levels": { | 117 | "levels": { |
| @@ -118,7 +122,8 @@ | |||
| 118 | "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, | 122 | "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, |
| 119 | "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"}, | 123 | "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"}, |
| 120 | "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}, | 124 | "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}, |
| 121 | "on_state": {"$ref": "qmk.definitions.v1#/bit"} | 125 | "on_state": {"$ref": "qmk.definitions.v1#/bit"}, |
| 126 | "as_caps_lock": {"type": "boolean"} | ||
| 122 | } | 127 | } |
| 123 | }, | 128 | }, |
| 124 | "bluetooth": { | 129 | "bluetooth": { |
diff --git a/keyboards/0xcb/1337/config.h b/keyboards/0xcb/1337/config.h index 5b576cc0c5..b7cbf3b757 100644 --- a/keyboards/0xcb/1337/config.h +++ b/keyboards/0xcb/1337/config.h | |||
| @@ -23,10 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define ENCODERS_PAD_A { F6 } | 23 | #define ENCODERS_PAD_A { F6 } |
| 24 | #define ENCODERS_PAD_B { F5 } | 24 | #define ENCODERS_PAD_B { F5 } |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B5 | ||
| 27 | #define BACKLIGHT_BREATHING | ||
| 28 | #define BACKLIGHT_LEVELS 7 | ||
| 29 | |||
| 30 | #define RGB_DI_PIN D3 | 26 | #define RGB_DI_PIN D3 |
| 31 | #ifdef RGB_DI_PIN | 27 | #ifdef RGB_DI_PIN |
| 32 | #define RGBLED_NUM 4 | 28 | #define RGBLED_NUM 4 |
diff --git a/keyboards/0xcb/1337/info.json b/keyboards/0xcb/1337/info.json index d37fc515f7..95170ee873 100644 --- a/keyboards/0xcb/1337/info.json +++ b/keyboards/0xcb/1337/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1337", | 8 | "pid": "0x1337", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 7, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "qmk_lufa_bootloader": { | 16 | "qmk_lufa_bootloader": { |
| 12 | "led": "B0" | 17 | "led": "B0" |
| 13 | }, | 18 | }, |
diff --git a/keyboards/1upkeyboards/1up60hse/config.h b/keyboards/1upkeyboards/1up60hse/config.h index 9baa65da42..b58eef1085 100644 --- a/keyboards/1upkeyboards/1up60hse/config.h +++ b/keyboards/1upkeyboards/1up60hse/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN F0 | 37 | #define RGB_DI_PIN F0 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/1upkeyboards/1up60hse/info.json b/keyboards/1upkeyboards/1up60hse/info.json index 53df29c726..07f35c7340 100644 --- a/keyboards/1upkeyboards/1up60hse/info.json +++ b/keyboards/1upkeyboards/1up60hse/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6873", | 8 | "pid": "0x6873", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi"], | 18 | "community_layouts": ["60_ansi"], |
diff --git a/keyboards/1upkeyboards/1up60hte/config.h b/keyboards/1upkeyboards/1up60hte/config.h index e3b1dfd896..ff5f010cbe 100644 --- a/keyboards/1upkeyboards/1up60hte/config.h +++ b/keyboards/1upkeyboards/1up60hte/config.h | |||
| @@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN B7 | ||
| 30 | |||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
| 33 | 31 | ||
diff --git a/keyboards/1upkeyboards/1up60hte/info.json b/keyboards/1upkeyboards/1up60hte/info.json index 3e2c34d259..98a9082989 100644 --- a/keyboards/1upkeyboards/1up60hte/info.json +++ b/keyboards/1upkeyboards/1up60hte/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6874", | 8 | "pid": "0x6874", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 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/1upkeyboards/1up60rgb/config.h b/keyboards/1upkeyboards/1up60rgb/config.h index ded1ca7ccc..806f23075f 100644 --- a/keyboards/1upkeyboards/1up60rgb/config.h +++ b/keyboards/1upkeyboards/1up60rgb/config.h | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B6 | ||
| 12 | #ifdef BACKLIGHT_PIN | ||
| 13 | #define BACKLIGHT_LEVELS 5 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 17 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 18 | 13 | ||
diff --git a/keyboards/1upkeyboards/1up60rgb/info.json b/keyboards/1upkeyboards/1up60rgb/info.json index 64dc9e9cd3..57a0143544 100644 --- a/keyboards/1upkeyboards/1up60rgb/info.json +++ b/keyboards/1upkeyboards/1up60rgb/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x7267", | 8 | "pid": "0x7267", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"], | 17 | "community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"], |
diff --git a/keyboards/25keys/aleth42/rev1/config.h b/keyboards/25keys/aleth42/rev1/config.h index fe28b50352..afce07dbc9 100644 --- a/keyboards/25keys/aleth42/rev1/config.h +++ b/keyboards/25keys/aleth42/rev1/config.h | |||
| @@ -28,10 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define ENCODERS_PAD_A { B5, F5 } | 28 | #define ENCODERS_PAD_A { B5, F5 } |
| 29 | #define ENCODERS_PAD_B { B6, F6 } | 29 | #define ENCODERS_PAD_B { B6, F6 } |
| 30 | 30 | ||
| 31 | #define BACKLIGHT_PIN C6 | ||
| 32 | #define BACKLIGHT_BREATHING | ||
| 33 | #define BACKLIGHT_LEVELS 8 | ||
| 34 | |||
| 35 | #define RGB_DI_PIN B3 | 31 | #define RGB_DI_PIN B3 |
| 36 | #ifdef RGB_DI_PIN | 32 | #ifdef RGB_DI_PIN |
| 37 | #define RGBLED_NUM 8 | 33 | #define RGBLED_NUM 8 |
diff --git a/keyboards/25keys/aleth42/rev1/info.json b/keyboards/25keys/aleth42/rev1/info.json index dab37baf04..7d3baad862 100644 --- a/keyboards/25keys/aleth42/rev1/info.json +++ b/keyboards/25keys/aleth42/rev1/info.json | |||
| @@ -2,6 +2,11 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.1" | 3 | "device_version": "0.0.1" |
| 4 | }, | 4 | }, |
| 5 | "backlight": { | ||
| 6 | "pin": "C6", | ||
| 7 | "levels": 8, | ||
| 8 | "breathing": true | ||
| 9 | }, | ||
| 5 | "processor": "atmega32u4", | 10 | "processor": "atmega32u4", |
| 6 | "bootloader": "atmel-dfu" | 11 | "bootloader": "atmel-dfu" |
| 7 | } | 12 | } |
diff --git a/keyboards/40percentclub/gherkin/config.h b/keyboards/40percentclub/gherkin/config.h index 18724c8966..3d6c38ec80 100644 --- a/keyboards/40percentclub/gherkin/config.h +++ b/keyboards/40percentclub/gherkin/config.h | |||
| @@ -8,8 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B5 | ||
| 12 | |||
| 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 14 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 15 | 13 | ||
diff --git a/keyboards/40percentclub/gherkin/info.json b/keyboards/40percentclub/gherkin/info.json index c93e8734e8..ee85708f19 100644 --- a/keyboards/40percentclub/gherkin/info.json +++ b/keyboards/40percentclub/gherkin/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 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
| 13 | "community_layouts": ["ortho_3x10"], | 16 | "community_layouts": ["ortho_3x10"], |
diff --git a/keyboards/40percentclub/luddite/config.h b/keyboards/40percentclub/luddite/config.h index 4028b0cf1a..2848c7a32c 100644 --- a/keyboards/40percentclub/luddite/config.h +++ b/keyboards/40percentclub/luddite/config.h | |||
| @@ -7,11 +7,6 @@ | |||
| 7 | 7 | ||
| 8 | #define DIODE_DIRECTION COL2ROW | 8 | #define DIODE_DIRECTION COL2ROW |
| 9 | 9 | ||
| 10 | #define BACKLIGHT_PIN B5 | ||
| 11 | #ifdef BACKLIGHT_PIN | ||
| 12 | #define BACKLIGHT_LEVELS 4 | ||
| 13 | #endif | ||
| 14 | |||
| 15 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 10 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 16 | #define LOCKING_SUPPORT_ENABLE | 11 | #define LOCKING_SUPPORT_ENABLE |
| 17 | 12 | ||
diff --git a/keyboards/40percentclub/luddite/info.json b/keyboards/40percentclub/luddite/info.json index 704b30479b..948ef091bd 100644 --- a/keyboards/40percentclub/luddite/info.json +++ b/keyboards/40percentclub/luddite/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4C55", | 8 | "pid": "0x4C55", |
| 9 | "device_version": "10.0.1" | 9 | "device_version": "10.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 4 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "community_layouts": ["60_ansi"], | 17 | "community_layouts": ["60_ansi"], |
diff --git a/keyboards/40percentclub/mf68/config.h b/keyboards/40percentclub/mf68/config.h index 0daccc09ab..0a07934e75 100644 --- a/keyboards/40percentclub/mf68/config.h +++ b/keyboards/40percentclub/mf68/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B5 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/40percentclub/mf68/info.json b/keyboards/40percentclub/mf68/info.json index 89df2e1958..2c8a4c92d6 100644 --- a/keyboards/40percentclub/mf68/info.json +++ b/keyboards/40percentclub/mf68/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4D68", | 8 | "pid": "0x4D68", |
| 9 | "device_version": "1.0.1" | 9 | "device_version": "1.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "community_layouts": ["68_ansi"], | 17 | "community_layouts": ["68_ansi"], |
diff --git a/keyboards/40percentclub/nori/config.h b/keyboards/40percentclub/nori/config.h index 490dcf629a..6bdf5db350 100644 --- a/keyboards/40percentclub/nori/config.h +++ b/keyboards/40percentclub/nori/config.h | |||
| @@ -33,8 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B5 | ||
| 37 | |||
| 38 | // enable RGB underglow | 36 | // enable RGB underglow |
| 39 | #define RGB_DI_PIN B4 | 37 | #define RGB_DI_PIN B4 |
| 40 | #define RGBLIGHT_EFFECT_BREATHING | 38 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/40percentclub/nori/info.json b/keyboards/40percentclub/nori/info.json index 5bb4a0bf08..fa12a8ef03 100644 --- a/keyboards/40percentclub/nori/info.json +++ b/keyboards/40percentclub/nori/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0A0C", | 8 | "pid": "0x0A0C", |
| 9 | "device_version": "4.4.4" | 9 | "device_version": "4.4.4" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
| 13 | "community_layouts": ["ortho_4x4", "ortho_4x12"], | 16 | "community_layouts": ["ortho_4x4", "ortho_4x12"], |
diff --git a/keyboards/40percentclub/sixpack/config.h b/keyboards/40percentclub/sixpack/config.h deleted file mode 100644 index acf61f0017..0000000000 --- a/keyboards/40percentclub/sixpack/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Backlight */ | ||
| 21 | #define BACKLIGHT_BREATHING | ||
| 22 | #define BACKLIGHT_LEVELS 6 | ||
diff --git a/keyboards/40percentclub/sixpack/info.json b/keyboards/40percentclub/sixpack/info.json index 65f16021dd..f0ba7f1aff 100644 --- a/keyboards/40percentclub/sixpack/info.json +++ b/keyboards/40percentclub/sixpack/info.json | |||
| @@ -9,7 +9,9 @@ | |||
| 9 | "device_version": "10.0.1" | 9 | "device_version": "10.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pins": ["F4", "F5"] | 12 | "pins": ["F4", "F5"], |
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 13 | }, | 15 | }, |
| 14 | "indicators": { | 16 | "indicators": { |
| 15 | "caps_lock": "B0", | 17 | "caps_lock": "B0", |
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h index ac93743ec6..3d480a1e93 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h | |||
| @@ -20,13 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} | 20 | #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} |
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| 23 | /* In switch leds */ | ||
| 24 | #define BACKLIGHT_PIN A3 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD2 | 23 | #define BACKLIGHT_PWM_DRIVER PWMD2 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 4 | 24 | #define BACKLIGHT_PWM_CHANNEL 4 |
| 27 | #define BACKLIGHT_PAL_MODE 2 | 25 | #define BACKLIGHT_PAL_MODE 2 |
| 28 | #define BACKLIGHT_LEVELS 10 | ||
| 29 | #define BACKLIGHT_BREATHING TRUE | ||
| 30 | 26 | ||
| 31 | /* Underglow */ | 27 | /* Underglow */ |
| 32 | #define RGB_DI_PIN A7 | 28 | #define RGB_DI_PIN A7 |
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/info.json b/keyboards/4pplet/eagle_viper_rep/rev_a/info.json index b896f02ad9..8748b32480 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/info.json +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0007", | 8 | "pid": "0x0007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A3", | ||
| 13 | "levels": 10, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk b/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk index 70dd3e445a..8b5bef208b 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes | 10 | BACKLIGHT_ENABLE = yes |
| 11 | BACKLIGHT_DRIVER = pwm | ||
| 12 | RGBLIGHT_ENABLE = yes | 11 | RGBLIGHT_ENABLE = yes |
| 13 | WS2812_DRIVER = spi | 12 | WS2812_DRIVER = spi |
| 14 | 13 | ||
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h index 5e1d995a68..eed3b708c4 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h | |||
| @@ -20,13 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} | 20 | #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} |
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| 23 | /* In switch leds */ | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 23 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 24 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 25 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 26 | ||
| 31 | /* Underglow */ | 27 | /* Underglow */ |
| 32 | #define RGBLED_NUM 16 | 28 | #define RGBLED_NUM 16 |
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json index e6ac536f43..7ced2cf40c 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0010", | 8 | "pid": "0x0010", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B1", | 17 | "caps_lock": "B1", |
| 13 | "num_lock": "B12", | 18 | "num_lock": "B12", |
diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h index 5be5e67374..fe5d7a4982 100644 --- a/keyboards/8pack/config.h +++ b/keyboards/8pack/config.h | |||
| @@ -6,8 +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_LEVELS 8 | ||
| 10 | |||
| 11 | // ws2812 options | 9 | // ws2812 options |
| 12 | #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to | 10 | #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to |
| 13 | #define RGBLED_NUM 8 // number of LEDs | 11 | #define RGBLED_NUM 8 // number of LEDs |
diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json index 2c7a34d487..3e6b556fae 100644 --- a/keyboards/8pack/info.json +++ b/keyboards/8pack/info.json | |||
| @@ -8,7 +8,8 @@ | |||
| 8 | "pid": "0x2171" | 8 | "pid": "0x2171" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | 10 | "backlight": { |
| 11 | "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] | 11 | "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], |
| 12 | "levels": 8 | ||
| 12 | }, | 13 | }, |
| 13 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 14 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
diff --git a/keyboards/abstract/ellipse/rev1/config.h b/keyboards/abstract/ellipse/rev1/config.h index 61a157c01e..46e0cacce4 100644 --- a/keyboards/abstract/ellipse/rev1/config.h +++ b/keyboards/abstract/ellipse/rev1/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN C6 | ||
| 38 | #define BACKLIGHT_LEVELS 15 | ||
| 39 | |||
| 40 | #define RGB_DI_PIN E6 | 37 | #define RGB_DI_PIN E6 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLED_NUM 3 | 39 | #define RGBLED_NUM 3 |
diff --git a/keyboards/abstract/ellipse/rev1/info.json b/keyboards/abstract/ellipse/rev1/info.json index 664cae1902..fe1939d2b6 100644 --- a/keyboards/abstract/ellipse/rev1/info.json +++ b/keyboards/abstract/ellipse/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6", | ||
| 13 | "levels": 15 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/acekeyboard/titan60/config.h b/keyboards/acekeyboard/titan60/config.h index 14a74da619..07378f5e3d 100644 --- a/keyboards/acekeyboard/titan60/config.h +++ b/keyboards/acekeyboard/titan60/config.h | |||
| @@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | /* COL2ROW, ROW2COL */ | 37 | /* COL2ROW, ROW2COL */ |
| 38 | #define DIODE_DIRECTION COL2ROW | 38 | #define DIODE_DIRECTION COL2ROW |
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN B7 | ||
| 41 | #define BACKLIGHT_BREATHING | ||
| 42 | |||
| 43 | #define RGB_DI_PIN D0 | 40 | #define RGB_DI_PIN D0 |
| 44 | #ifdef RGB_DI_PIN | 41 | #ifdef RGB_DI_PIN |
| 45 | # define RGBLED_NUM 6 | 42 | # define RGBLED_NUM 6 |
diff --git a/keyboards/acekeyboard/titan60/info.json b/keyboards/acekeyboard/titan60/info.json index 17747b5cb1..00629035c0 100644 --- a/keyboards/acekeyboard/titan60/info.json +++ b/keyboards/acekeyboard/titan60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x5449", | 8 | "pid": "0x5449", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h index fd6f74bf35..e99fb83328 100644 --- a/keyboards/acheron/athena/alpha/config.h +++ b/keyboards/acheron/athena/alpha/config.h | |||
| @@ -26,12 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define LOCKING_SUPPORT_ENABLE | 26 | #define LOCKING_SUPPORT_ENABLE |
| 27 | #define LOCKING_RESYNC_ENABLE | 27 | #define LOCKING_RESYNC_ENABLE |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN A6 | ||
| 30 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 29 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 31 | #define BACKLIGHT_PWM_CHANNEL 1 | 30 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 32 | #define BACKLIGHT_PAL_MODE 2 | 31 | #define BACKLIGHT_PAL_MODE 2 |
| 33 | #define BACKLIGHT_LEVELS 20 | ||
| 34 | #define BACKLIGHT_BREATHING | ||
| 35 | 32 | ||
| 36 | #define RGB_DI_PIN B15 | 33 | #define RGB_DI_PIN B15 |
| 37 | #define RGBLED_NUM 34 | 34 | #define RGBLED_NUM 34 |
diff --git a/keyboards/acheron/athena/alpha/info.json b/keyboards/acheron/athena/alpha/info.json index bf335285ae..2ebf2da8de 100644 --- a/keyboards/acheron/athena/alpha/info.json +++ b/keyboards/acheron/athena/alpha/info.json | |||
| @@ -5,7 +5,10 @@ | |||
| 5 | "device_version": "0.0.1" | 5 | "device_version": "0.0.1" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | 7 | "backlight": { |
| 8 | "on_state": 0 | 8 | "pin": "A6", |
| 9 | "levels": 20, | ||
| 10 | "on_state": 0, | ||
| 11 | "breathing": true | ||
| 9 | }, | 12 | }, |
| 10 | "indicators": { | 13 | "indicators": { |
| 11 | "caps_lock": "A10" | 14 | "caps_lock": "A10" |
diff --git a/keyboards/acheron/athena/alpha/rules.mk b/keyboards/acheron/athena/alpha/rules.mk index 962a27694f..3d622c2216 100644 --- a/keyboards/acheron/athena/alpha/rules.mk +++ b/keyboards/acheron/athena/alpha/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = pwm | ||
| 12 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | LTO_ENABLE = yes | 13 | LTO_ENABLE = yes |
diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h index a3a1a3b25c..7fbc624522 100644 --- a/keyboards/acheron/athena/beta/config.h +++ b/keyboards/acheron/athena/beta/config.h | |||
| @@ -26,12 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define LOCKING_SUPPORT_ENABLE | 26 | #define LOCKING_SUPPORT_ENABLE |
| 27 | #define LOCKING_RESYNC_ENABLE | 27 | #define LOCKING_RESYNC_ENABLE |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN B0 | ||
| 30 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 29 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 31 | #define BACKLIGHT_PWM_CHANNEL 3 | 30 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 32 | #define BACKLIGHT_PAL_MODE 2 | 31 | #define BACKLIGHT_PAL_MODE 2 |
| 33 | #define BACKLIGHT_LEVELS 20 | ||
| 34 | #define BACKLIGHT_BREATHING | ||
| 35 | 32 | ||
| 36 | #define RGB_DI_PIN B15 | 33 | #define RGB_DI_PIN B15 |
| 37 | #define RGBLED_NUM 34 | 34 | #define RGBLED_NUM 34 |
diff --git a/keyboards/acheron/athena/beta/info.json b/keyboards/acheron/athena/beta/info.json index 51c335a850..dd8e766f90 100644 --- a/keyboards/acheron/athena/beta/info.json +++ b/keyboards/acheron/athena/beta/info.json | |||
| @@ -4,6 +4,11 @@ | |||
| 4 | "pid": "0x6585", | 4 | "pid": "0x6585", |
| 5 | "device_version": "0.0.2" | 5 | "device_version": "0.0.2" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B0", | ||
| 9 | "levels": 20, | ||
| 10 | "breathing": true | ||
| 11 | }, | ||
| 7 | "indicators": { | 12 | "indicators": { |
| 8 | "caps_lock": "C8" | 13 | "caps_lock": "C8" |
| 9 | }, | 14 | }, |
diff --git a/keyboards/acheron/athena/beta/rules.mk b/keyboards/acheron/athena/beta/rules.mk index 962a27694f..3d622c2216 100644 --- a/keyboards/acheron/athena/beta/rules.mk +++ b/keyboards/acheron/athena/beta/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = pwm | ||
| 12 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | LTO_ENABLE = yes | 13 | LTO_ENABLE = yes |
diff --git a/keyboards/acheron/austin/config.h b/keyboards/acheron/austin/config.h index 210e4182a5..ce12edfd33 100644 --- a/keyboards/acheron/austin/config.h +++ b/keyboards/acheron/austin/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { C13, A4, A7, B0, B1, B2 } | 21 | #define MATRIX_ROW_PINS { C13, A4, A7, B0, B1, B2 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/acheron/austin/info.json b/keyboards/acheron/austin/info.json index 3f76e22f0c..dad488df8f 100755 --- a/keyboards/acheron/austin/info.json +++ b/keyboards/acheron/austin/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x4175", | 8 | "pid": "0x4175", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/acheron/elongate/delta/config.h b/keyboards/acheron/elongate/delta/config.h index 6766f62ef5..0ceba36100 100755 --- a/keyboards/acheron/elongate/delta/config.h +++ b/keyboards/acheron/elongate/delta/config.h | |||
| @@ -23,13 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN A6 | ||
| 27 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 28 | #define BACKLIGHT_PWM_CHANNEL 1 | 27 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 29 | #define BACKLIGHT_PAL_MODE 1 | 28 | #define BACKLIGHT_PAL_MODE 1 |
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | #define BACKLIGHT_LEVELS 20 | ||
| 32 | #define BACKLIGHT_DEFAULT_LEVEL 10 | ||
| 33 | 29 | ||
| 34 | #define RGB_DI_PIN B15 | 30 | #define RGB_DI_PIN B15 |
| 35 | #define RGBLED_NUM 16 | 31 | #define RGBLED_NUM 16 |
diff --git a/keyboards/acheron/elongate/delta/info.json b/keyboards/acheron/elongate/delta/info.json index 6a5318b777..f5f87333eb 100644 --- a/keyboards/acheron/elongate/delta/info.json +++ b/keyboards/acheron/elongate/delta/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "A6", | ||
| 13 | "levels": 20, | ||
| 14 | "breathing": true, | ||
| 12 | "breathing_period": 3 | 15 | "breathing_period": 3 |
| 13 | }, | 16 | }, |
| 14 | "processor": "STM32F072", | 17 | "processor": "STM32F072", |
diff --git a/keyboards/acheron/shark/alpha/config.h b/keyboards/acheron/shark/alpha/config.h index cadd2d825d..dba9b3f41d 100644 --- a/keyboards/acheron/shark/alpha/config.h +++ b/keyboards/acheron/shark/alpha/config.h | |||
| @@ -44,7 +44,6 @@ B0, which is unconnected on the PCB | |||
| 44 | /* COL2ROW, ROW2COL*/ | 44 | /* COL2ROW, ROW2COL*/ |
| 45 | #define DIODE_DIRECTION COL2ROW | 45 | #define DIODE_DIRECTION COL2ROW |
| 46 | 46 | ||
| 47 | #define BACKLIGHT_PIN B0 | ||
| 48 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 47 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 49 | #define BACKLIGHT_PWM_CHANNEL 3 | 48 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 50 | 49 | ||
diff --git a/keyboards/acheron/shark/alpha/info.json b/keyboards/acheron/shark/alpha/info.json index 0db6134e0b..5b235cc387 100644 --- a/keyboards/acheron/shark/alpha/info.json +++ b/keyboards/acheron/shark/alpha/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0x5368", | 6 | "pid": "0x5368", |
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "B0" | ||
| 11 | }, | ||
| 9 | "processor": "STM32F303", | 12 | "processor": "STM32F303", |
| 10 | "bootloader": "stm32-dfu", | 13 | "bootloader": "stm32-dfu", |
| 11 | "board": "QMK_PROTON_C", | 14 | "board": "QMK_PROTON_C", |
diff --git a/keyboards/acheron/shark/beta/config.h b/keyboards/acheron/shark/beta/config.h index 633f76289f..161b9b1558 100644 --- a/keyboards/acheron/shark/beta/config.h +++ b/keyboards/acheron/shark/beta/config.h | |||
| @@ -25,12 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define LOCKING_SUPPORT_ENABLE | 25 | #define LOCKING_SUPPORT_ENABLE |
| 26 | #define LOCKING_RESYNC_ENABLE | 26 | #define LOCKING_RESYNC_ENABLE |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN A6 | ||
| 29 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 28 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 30 | #define BACKLIGHT_PWM_CHANNEL 1 | 29 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 31 | #define BACKLIGHT_PAL_MODE 2 | 30 | #define BACKLIGHT_PAL_MODE 2 |
| 32 | #define BACKLIGHT_LEVELS 20 | ||
| 33 | #define BACKLIGHT_BREATHING | ||
| 34 | 31 | ||
| 35 | #define RGB_DI_PIN B15 | 32 | #define RGB_DI_PIN B15 |
| 36 | #define RGBLED_NUM 24 | 33 | #define RGBLED_NUM 24 |
diff --git a/keyboards/acheron/shark/beta/info.json b/keyboards/acheron/shark/beta/info.json index 615e9a91b9..0dcb286e97 100644 --- a/keyboards/acheron/shark/beta/info.json +++ b/keyboards/acheron/shark/beta/info.json | |||
| @@ -4,6 +4,11 @@ | |||
| 4 | "pid": "0x5369", | 4 | "pid": "0x5369", |
| 5 | "device_version": "0.0.2" | 5 | "device_version": "0.0.2" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "A6", | ||
| 9 | "levels": 20, | ||
| 10 | "breathing": true | ||
| 11 | }, | ||
| 7 | "processor": "STM32F411", | 12 | "processor": "STM32F411", |
| 8 | "bootloader": "stm32-dfu", | 13 | "bootloader": "stm32-dfu", |
| 9 | "community_layouts": ["ortho_4x12"], | 14 | "community_layouts": ["ortho_4x12"], |
diff --git a/keyboards/acheron/shark/beta/rules.mk b/keyboards/acheron/shark/beta/rules.mk index b4a94395c6..fd436cc258 100644 --- a/keyboards/acheron/shark/beta/rules.mk +++ b/keyboards/acheron/shark/beta/rules.mk | |||
| @@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key rollover | |||
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 12 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 13 | BACKLIGHT_DRIVER = pwm | ||
| 14 | LTO_ENABLE = no | 13 | LTO_ENABLE = no |
| 15 | ENCODER_ENABLE = yes | 14 | ENCODER_ENABLE = yes |
| 16 | 15 | ||
diff --git a/keyboards/adelheid/config.h b/keyboards/adelheid/config.h index fa7e2cbb86..e22e250f85 100644 --- a/keyboards/adelheid/config.h +++ b/keyboards/adelheid/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN C6 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/adelheid/info.json b/keyboards/adelheid/info.json index b8684e37ac..19970b27cf 100644 --- a/keyboards/adelheid/info.json +++ b/keyboards/adelheid/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAD78", | 8 | "pid": "0xAD78", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/aeboards/ext65/rev2/config.h b/keyboards/aeboards/ext65/rev2/config.h index 364b919179..8f5625e2eb 100644 --- a/keyboards/aeboards/ext65/rev2/config.h +++ b/keyboards/aeboards/ext65/rev2/config.h | |||
| @@ -50,12 +50,8 @@ | |||
| 50 | #define I2C1_TIMINGR_SCLL 9U | 50 | #define I2C1_TIMINGR_SCLL 9U |
| 51 | 51 | ||
| 52 | // LED defines | 52 | // LED defines |
| 53 | #define BACKLIGHT_PIN B5 | ||
| 54 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 53 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 55 | #define BACKLIGHT_PWM_CHANNEL 2 | 54 | #define BACKLIGHT_PWM_CHANNEL 2 |
| 56 | #define BACKLIGHT_PAL_MODE 1 | 55 | #define BACKLIGHT_PAL_MODE 1 |
| 57 | 56 | ||
| 58 | #define BACKLIGHT_LEVELS 6 | ||
| 59 | #define BACKLIGHT_BREATHING | ||
| 60 | |||
| 61 | #define SLEEP_LED_GPT_DRIVER GPTD1 | 57 | #define SLEEP_LED_GPT_DRIVER GPTD1 |
diff --git a/keyboards/aeboards/ext65/rev2/info.json b/keyboards/aeboards/ext65/rev2/info.json index 7fbe7c2847..2939dc89ea 100644 --- a/keyboards/aeboards/ext65/rev2/info.json +++ b/keyboards/aeboards/ext65/rev2/info.json | |||
| @@ -7,6 +7,11 @@ | |||
| 7 | "pid": "0xA652", | 7 | "pid": "0xA652", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B5", | ||
| 12 | "levels": 6, | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 10 | "processor": "STM32F072", | 15 | "processor": "STM32F072", |
| 11 | "bootloader": "stm32-dfu", | 16 | "bootloader": "stm32-dfu", |
| 12 | "diode_direction": "COL2ROW", | 17 | "diode_direction": "COL2ROW", |
diff --git a/keyboards/ai03/equinox/config.h b/keyboards/ai03/equinox/config.h index f838baddd6..32065a4740 100644 --- a/keyboards/ai03/equinox/config.h +++ b/keyboards/ai03/equinox/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/equinox/rev0/config.h b/keyboards/ai03/equinox/rev0/config.h index be599c1225..78c6fb8fcd 100644 --- a/keyboards/ai03/equinox/rev0/config.h +++ b/keyboards/ai03/equinox/rev0/config.h | |||
| @@ -20,8 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | // Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins | 20 | // Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins |
| 21 | #undef MATRIX_COL_PINS | 21 | #undef MATRIX_COL_PINS |
| 22 | #define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 } | 22 | #define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 } |
| 23 | |||
| 24 | // This directs backlight code to use a disconnected pin, so the firwmare still has | ||
| 25 | // backlight code and VIA support even though it doesn't do anything. | ||
| 26 | #undef BACKLIGHT_PIN | ||
| 27 | #define BACKLIGHT_PIN D1 \ No newline at end of file | ||
diff --git a/keyboards/ai03/equinox/rev0/info.json b/keyboards/ai03/equinox/rev0/info.json index dd190d18ee..d76623777e 100644 --- a/keyboards/ai03/equinox/rev0/info.json +++ b/keyboards/ai03/equinox/rev0/info.json | |||
| @@ -1,4 +1,9 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "pin": "D1", | ||
| 4 | "levels": 5, | ||
| 5 | "breathing": true | ||
| 6 | }, | ||
| 2 | "processor": "atmega32u2", | 7 | "processor": "atmega32u2", |
| 3 | "bootloader": "atmel-dfu" | 8 | "bootloader": "atmel-dfu" |
| 4 | } | 9 | } |
diff --git a/keyboards/ai03/equinox/rev1/info.json b/keyboards/ai03/equinox/rev1/info.json index dd190d18ee..19cd40d140 100644 --- a/keyboards/ai03/equinox/rev1/info.json +++ b/keyboards/ai03/equinox/rev1/info.json | |||
| @@ -1,4 +1,9 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "pin": "B7", | ||
| 4 | "levels": 5, | ||
| 5 | "breathing": true | ||
| 6 | }, | ||
| 2 | "processor": "atmega32u2", | 7 | "processor": "atmega32u2", |
| 3 | "bootloader": "atmel-dfu" | 8 | "bootloader": "atmel-dfu" |
| 4 | } | 9 | } |
diff --git a/keyboards/ai03/orbit/config.h b/keyboards/ai03/orbit/config.h index 8d4a1fdd59..85d4ae5bfe 100644 --- a/keyboards/ai03/orbit/config.h +++ b/keyboards/ai03/orbit/config.h | |||
| @@ -43,8 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 43 | 43 | ||
| 44 | #define SPLIT_HAND_PIN D5 | 44 | #define SPLIT_HAND_PIN D5 |
| 45 | 45 | ||
| 46 | #define BACKLIGHT_PIN B7 | ||
| 47 | |||
| 48 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 46 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 49 | #define LOCKING_SUPPORT_ENABLE | 47 | #define LOCKING_SUPPORT_ENABLE |
| 50 | /* Locking resynchronize hack */ | 48 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/orbit/info.json b/keyboards/ai03/orbit/info.json index c6cd6407c4..840fb1fc20 100644 --- a/keyboards/ai03/orbit/info.json +++ b/keyboards/ai03/orbit/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0003", | 8 | "pid": "0x0003", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "split": { | 14 | "split": { |
| 12 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/ai03/polaris/config.h b/keyboards/ai03/polaris/config.h index 9c360a190f..871f4bc8db 100644 --- a/keyboards/ai03/polaris/config.h +++ b/keyboards/ai03/polaris/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN D2 | 37 | #define RGB_DI_PIN D2 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 14 | 39 | #define RGBLED_NUM 14 |
diff --git a/keyboards/ai03/polaris/info.json b/keyboards/ai03/polaris/info.json index 64fb65aaee..ae0fcb927d 100644 --- a/keyboards/ai03/polaris/info.json +++ b/keyboards/ai03/polaris/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0002", | 8 | "pid": "0x0002", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], | 18 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], |
diff --git a/keyboards/al1/config.h b/keyboards/al1/config.h index 9d66d61e08..32c7bcbd2a 100644 --- a/keyboards/al1/config.h +++ b/keyboards/al1/config.h | |||
| @@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 } | 27 | #define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 } |
| 28 | #define SN74X154_E1_PIN D3 | 28 | #define SN74X154_E1_PIN D3 |
| 29 | 29 | ||
| 30 | #define BACKLIGHT_PIN B6 | ||
| 31 | #define BACKLIGHT_BREATHING | ||
| 32 | |||
| 33 | /* 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 */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 31 | #define LOCKING_SUPPORT_ENABLE |
| 35 | /* Locking resynchronize hack */ | 32 | /* Locking resynchronize hack */ |
diff --git a/keyboards/al1/info.json b/keyboards/al1/info.json index fe23911145..5149373e48 100644 --- a/keyboards/al1/info.json +++ b/keyboards/al1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6050", | 8 | "pid": "0x6050", |
| 9 | "device_version": "1.0.4" | 9 | "device_version": "1.0.4" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B7", | 16 | "caps_lock": "B7", |
| 13 | "num_lock": "D0", | 17 | "num_lock": "D0", |
diff --git a/keyboards/alf/dc60/config.h b/keyboards/alf/dc60/config.h index 4ae0863425..e81b6a2010 100644 --- a/keyboards/alf/dc60/config.h +++ b/keyboards/alf/dc60/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN E6 | 37 | #define RGB_DI_PIN E6 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/alf/dc60/info.json b/keyboards/alf/dc60/info.json index a93d76a38d..faf199d8a0 100644 --- a/keyboards/alf/dc60/info.json +++ b/keyboards/alf/dc60/info.json | |||
| @@ -7,6 +7,11 @@ | |||
| 7 | "pid": "0x0000", | 7 | "pid": "0x0000", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B6", | ||
| 12 | "levels": 5, | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 10 | "indicators": { | 15 | "indicators": { |
| 11 | "caps_lock": "B7", | 16 | "caps_lock": "B7", |
| 12 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/alf/x11/config.h b/keyboards/alf/x11/config.h index cbf4338da4..04ebe0c657 100644 --- a/keyboards/alf/x11/config.h +++ b/keyboards/alf/x11/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN F7 | 37 | #define RGB_DI_PIN F7 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLED_NUM 28 | 39 | #define RGBLED_NUM 28 |
diff --git a/keyboards/alf/x11/info.json b/keyboards/alf/x11/info.json index 5d4fdc69a6..8b3ae6f2ba 100644 --- a/keyboards/alf/x11/info.json +++ b/keyboards/alf/x11/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "C6", | 16 | "caps_lock": "C6", |
| 13 | "num_lock": "E6", | 17 | "num_lock": "E6", |
diff --git a/keyboards/alf/x2/config.h b/keyboards/alf/x2/config.h index 00524ace43..374873d5d5 100644 --- a/keyboards/alf/x2/config.h +++ b/keyboards/alf/x2/config.h | |||
| @@ -26,8 +26,6 @@ | |||
| 26 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN B6 | ||
| 30 | |||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
| 33 | 31 | ||
diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/info.json index 30630b3188..5e0b3087a8 100644 --- a/keyboards/alf/x2/info.json +++ b/keyboards/alf/x2/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "caps_lock": "B2", | 12 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 13 | "on_state": 0 |
| 14 | }, | 14 | }, |
| 15 | "backlight": { | ||
| 16 | "pin": "B6" | ||
| 17 | }, | ||
| 15 | "processor": "atmega32u4", | 18 | "processor": "atmega32u4", |
| 16 | "bootloader": "atmel-dfu", | 19 | "bootloader": "atmel-dfu", |
| 17 | "layouts": { | 20 | "layouts": { |
diff --git a/keyboards/amjkeyboard/amj40/config.h b/keyboards/amjkeyboard/amj40/config.h index 01e94f7651..bdefff8c4f 100755 --- a/keyboards/amjkeyboard/amj40/config.h +++ b/keyboards/amjkeyboard/amj40/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define MATRIX_ROW_PINS { F4, F5, F6, F7} | 23 | #define MATRIX_ROW_PINS { F4, F5, F6, F7} |
| 24 | #define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7} | 24 | #define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7} |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B6 | ||
| 27 | |||
| 28 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 29 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 30 | 28 | ||
| @@ -33,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 34 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 35 | 33 | ||
| 36 | /* Backlight configuration | ||
| 37 | */ | ||
| 38 | #define BACKLIGHT_LEVELS 4 | ||
| 39 | |||
| 40 | /* Underlight configuration | 34 | /* Underlight configuration |
| 41 | */ | 35 | */ |
| 42 | 36 | ||
diff --git a/keyboards/amjkeyboard/amj40/info.json b/keyboards/amjkeyboard/amj40/info.json index 79848d94dc..fe66c34b86 100644 --- a/keyboards/amjkeyboard/amj40/info.json +++ b/keyboards/amjkeyboard/amj40/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6072", | 8 | "pid": "0x6072", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/amjkeyboard/amj60/config.h b/keyboards/amjkeyboard/amj60/config.h index 825edef631..0a38f73032 100644 --- a/keyboards/amjkeyboard/amj60/config.h +++ b/keyboards/amjkeyboard/amj60/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_LEVELS 4 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | # define RGBLED_NUM 8 | 39 | # define RGBLED_NUM 8 |
diff --git a/keyboards/amjkeyboard/amj60/info.json b/keyboards/amjkeyboard/amj60/info.json index 750f7bec99..d624894691 100644 --- a/keyboards/amjkeyboard/amj60/info.json +++ b/keyboards/amjkeyboard/amj60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6066", | 8 | "pid": "0x6066", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B2", | 17 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/amjkeyboard/amj66/config.h b/keyboards/amjkeyboard/amj66/config.h index 32508821b7..7271119876 100644 --- a/keyboards/amjkeyboard/amj66/config.h +++ b/keyboards/amjkeyboard/amj66/config.h | |||
| @@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL*/ | 25 | /* COL2ROW, ROW2COL*/ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | |||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 33 | 30 | ||
diff --git a/keyboards/amjkeyboard/amj66/info.json b/keyboards/amjkeyboard/amj66/info.json index f22677e20a..ed41d4d58c 100644 --- a/keyboards/amjkeyboard/amj66/info.json +++ b/keyboards/amjkeyboard/amj66/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xBD66", | 8 | "pid": "0xBD66", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["66_ansi", "66_iso"], | 17 | "community_layouts": ["66_ansi", "66_iso"], |
diff --git a/keyboards/amjkeyboard/amj84/config.h b/keyboards/amjkeyboard/amj84/config.h index 8e92b9e599..7aef945e5b 100644 --- a/keyboards/amjkeyboard/amj84/config.h +++ b/keyboards/amjkeyboard/amj84/config.h | |||
| @@ -20,9 +20,6 @@ | |||
| 20 | /* COL2ROW, ROW2COL */ | 20 | /* COL2ROW, ROW2COL */ |
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN B6 | ||
| 24 | #define BACKLIGHT_BREATHING | ||
| 25 | |||
| 26 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 23 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 27 | #define LOCKING_SUPPORT_ENABLE | 24 | #define LOCKING_SUPPORT_ENABLE |
| 28 | /* Locking resynchronize hack */ | 25 | /* Locking resynchronize hack */ |
diff --git a/keyboards/amjkeyboard/amj84/info.json b/keyboards/amjkeyboard/amj84/info.json index 402dac7a42..20f8fd99b1 100644 --- a/keyboards/amjkeyboard/amj84/info.json +++ b/keyboards/amjkeyboard/amj84/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6068", | 8 | "pid": "0x6068", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/amjkeyboard/amjpad/config.h b/keyboards/amjkeyboard/amjpad/config.h index 46f38e6dbb..63e6e899fa 100644 --- a/keyboards/amjkeyboard/amjpad/config.h +++ b/keyboards/amjkeyboard/amjpad/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, D5, D0 } | 23 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, D5, D0 } |
| 24 | #define MATRIX_COL_PINS { F1, F0, E6, C7 } | 24 | #define MATRIX_COL_PINS { F1, F0, E6, C7 } |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B6 | ||
| 27 | |||
| 28 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 29 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 30 | 28 | ||
| @@ -33,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 34 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 35 | 33 | ||
| 36 | /* Backlight configuration | ||
| 37 | */ | ||
| 38 | #define BACKLIGHT_LEVELS 4 | ||
| 39 | |||
| 40 | /* Underlight configuration | 34 | /* Underlight configuration |
| 41 | */ | 35 | */ |
| 42 | 36 | ||
diff --git a/keyboards/amjkeyboard/amjpad/info.json b/keyboards/amjkeyboard/amjpad/info.json index 60e80d0bdd..7a22d14639 100644 --- a/keyboards/amjkeyboard/amjpad/info.json +++ b/keyboards/amjkeyboard/amjpad/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "num_lock": "D6", | 16 | "num_lock": "D6", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/anavi/macropad8/config.h b/keyboards/anavi/macropad8/config.h index 526f673ab9..fce7328718 100644 --- a/keyboards/anavi/macropad8/config.h +++ b/keyboards/anavi/macropad8/config.h | |||
| @@ -17,8 +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_PIN D7 | ||
| 21 | #define BACKLIGHT_BREATHING | ||
| 22 | #define RGBLIGHT_SLEEP | 20 | #define RGBLIGHT_SLEEP |
| 23 | 21 | ||
| 24 | 22 | ||
diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json index b152a7c1f1..b52ca5a176 100644 --- a/keyboards/anavi/macropad8/info.json +++ b/keyboards/anavi/macropad8/info.json | |||
| @@ -4,10 +4,14 @@ | |||
| 4 | "url": "", | 4 | "url": "", |
| 5 | "maintainer": "leon-anavi", | 5 | "maintainer": "leon-anavi", |
| 6 | "usb": { | 6 | "usb": { |
| 7 | "vid": "0xCEEB", | 7 | "vid": "0xCEEB", |
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "matrix_pins": { | 17 | "matrix_pins": { |
diff --git a/keyboards/ares/config.h b/keyboards/ares/config.h index 608d112e6d..3d384af9ea 100644 --- a/keyboards/ares/config.h +++ b/keyboards/ares/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | |||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ares/info.json b/keyboards/ares/info.json index 0bcbf7a4d4..391c7a8125 100644 --- a/keyboards/ares/info.json +++ b/keyboards/ares/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/atomic/config.h b/keyboards/atomic/config.h index 4efba85159..9c50c21e3f 100644 --- a/keyboards/atomic/config.h +++ b/keyboards/atomic/config.h | |||
| @@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define MATRIX_ROW_PINS { D0, D5, B5, B6, C6 } | 31 | #define MATRIX_ROW_PINS { D0, D5, B5, B6, C6 } |
| 32 | #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 } | 32 | #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 } |
| 33 | 33 | ||
| 34 | #define BACKLIGHT_PIN B7 | ||
| 35 | |||
| 36 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 37 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 38 | 36 | ||
diff --git a/keyboards/atomic/info.json b/keyboards/atomic/info.json index a4c0c18bf2..95f5088995 100644 --- a/keyboards/atomic/info.json +++ b/keyboards/atomic/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x6060", | 7 | "pid": "0x6060", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B7" | ||
| 12 | }, | ||
| 10 | "processor": "atmega32u4", | 13 | "processor": "atmega32u4", |
| 11 | "bootloader": "atmel-dfu", | 14 | "bootloader": "atmel-dfu", |
| 12 | "layout_aliases": { | 15 | "layout_aliases": { |
diff --git a/keyboards/atxkb/1894/config.h b/keyboards/atxkb/1894/config.h index b3f56e7c24..e4f44cdfce 100644 --- a/keyboards/atxkb/1894/config.h +++ b/keyboards/atxkb/1894/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN D2 | 37 | #define RGB_DI_PIN D2 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 14 | 39 | #define RGBLED_NUM 14 |
diff --git a/keyboards/atxkb/1894/info.json b/keyboards/atxkb/1894/info.json index d3966d5185..fef98bcacf 100644 --- a/keyboards/atxkb/1894/info.json +++ b/keyboards/atxkb/1894/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], | 18 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], |
diff --git a/keyboards/b_sides/rev41lp/config.h b/keyboards/b_sides/rev41lp/config.h index c843c89eef..0b644bec4a 100644 --- a/keyboards/b_sides/rev41lp/config.h +++ b/keyboards/b_sides/rev41lp/config.h | |||
| @@ -22,6 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 } | 22 | #define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 } |
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | |||
| 26 | #define BACKLIGHT_PIN B6 | ||
| 27 | #define BACKLIGHT_LEVELS 7 | ||
diff --git a/keyboards/b_sides/rev41lp/info.json b/keyboards/b_sides/rev41lp/info.json index 9b1a1c9e9c..c0a5fd3365 100644 --- a/keyboards/b_sides/rev41lp/info.json +++ b/keyboards/b_sides/rev41lp/info.json | |||
| @@ -9,6 +9,8 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "B6", | ||
| 13 | "levels": 7, | ||
| 12 | "max_brightness": 150 | 14 | "max_brightness": 150 |
| 13 | }, | 15 | }, |
| 14 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
diff --git a/keyboards/baguette/config.h b/keyboards/baguette/config.h index a0f3eebe0c..c4bc59fe7c 100644 --- a/keyboards/baguette/config.h +++ b/keyboards/baguette/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/baguette/info.json b/keyboards/baguette/info.json index b89b92aff4..2714366c0e 100644 --- a/keyboards/baguette/info.json +++ b/keyboards/baguette/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x5050", | 8 | "pid": "0x5050", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/bear_face/config.h b/keyboards/bear_face/config.h index b80baa8040..82349297dd 100644 --- a/keyboards/bear_face/config.h +++ b/keyboards/bear_face/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN F7 | ||
| 29 | |||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 32 | /* Locking resynchronize hack */ | 30 | /* Locking resynchronize hack */ |
diff --git a/keyboards/bear_face/info.json b/keyboards/bear_face/info.json index 39f16ab6c9..f6f666d77f 100644 --- a/keyboards/bear_face/info.json +++ b/keyboards/bear_face/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "vid": "0xFEED", | 8 | "vid": "0xFEED", |
| 9 | "pid": "0x09F5" | 9 | "pid": "0x09F5" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "F7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu" | 15 | "bootloader": "atmel-dfu" |
| 13 | } | 16 | } |
diff --git a/keyboards/bfake/config.h b/keyboards/bfake/config.h index 264c8a552c..768b1b3551 100644 --- a/keyboards/bfake/config.h +++ b/keyboards/bfake/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | |||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/bfake/info.json b/keyboards/bfake/info.json index f390102e21..fe457cb6d1 100644 --- a/keyboards/bfake/info.json +++ b/keyboards/bfake/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/bioi/f60/config.h b/keyboards/bioi/f60/config.h index 3cfee0a389..32e179e918 100644 --- a/keyboards/bioi/f60/config.h +++ b/keyboards/bioi/f60/config.h | |||
| @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL */ | 25 | /* COL2ROW, ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | #define BACKLIGHT_LEVELS 8 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | |||
| 32 | #define RGB_DI_PIN B1 | 28 | #define RGB_DI_PIN B1 |
| 33 | #ifdef RGB_DI_PIN | 29 | #ifdef RGB_DI_PIN |
| 34 | # define RGBLED_NUM 5 | 30 | # define RGBLED_NUM 5 |
diff --git a/keyboards/bioi/f60/info.json b/keyboards/bioi/f60/info.json index 1e95671f5d..65c59db2b4 100644 --- a/keyboards/bioi/f60/info.json +++ b/keyboards/bioi/f60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x4660", | 8 | "pid": "0x4660", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 8, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "F0" | 17 | "caps_lock": "F0" |
| 13 | }, | 18 | }, |
diff --git a/keyboards/bioi/g60/config.h b/keyboards/bioi/g60/config.h index f6bffcf14f..d3172d1812 100644 --- a/keyboards/bioi/g60/config.h +++ b/keyboards/bioi/g60/config.h | |||
| @@ -32,10 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define MATRIX_ROW_PINS { E6, B0, F1, F5, F4 } | 32 | #define MATRIX_ROW_PINS { E6, B0, F1, F5, F4 } |
| 33 | #define MATRIX_COL_PINS { F6, F7, B3, C7, C6, B6, B5, D5, B4, D7, D6, D4, D1, D0 } | 33 | #define MATRIX_COL_PINS { F6, F7, B3, C7, C6, B6, B5, D5, B4, D7, D6, D4, D1, D0 } |
| 34 | 34 | ||
| 35 | /* Backlight Setup */ | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_LEVELS 12 | ||
| 38 | |||
| 39 | /* COL2ROW or ROW2COL */ | 35 | /* COL2ROW or ROW2COL */ |
| 40 | #define DIODE_DIRECTION COL2ROW | 36 | #define DIODE_DIRECTION COL2ROW |
| 41 | 37 | ||
diff --git a/keyboards/bioi/g60/info.json b/keyboards/bioi/g60/info.json index bdc8e9b596..16b09ca00c 100644 --- a/keyboards/bioi/g60/info.json +++ b/keyboards/bioi/g60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6080", | 8 | "pid": "0x6080", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 12 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "qmk-dfu", | 16 | "bootloader": "qmk-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/bioi/g60ble/config.h b/keyboards/bioi/g60ble/config.h index e642b04c7c..eb20ed7515 100644 --- a/keyboards/bioi/g60ble/config.h +++ b/keyboards/bioi/g60ble/config.h | |||
| @@ -10,11 +10,6 @@ | |||
| 10 | /* COL2ROW or ROW2COL */ | 10 | /* COL2ROW or ROW2COL */ |
| 11 | #define DIODE_DIRECTION COL2ROW | 11 | #define DIODE_DIRECTION COL2ROW |
| 12 | 12 | ||
| 13 | #define BACKLIGHT_PIN B7 | ||
| 14 | #ifdef BACKLIGHT_PIN | ||
| 15 | # define BACKLIGHT_LEVELS 8 | ||
| 16 | #endif | ||
| 17 | |||
| 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 19 | #define LOCKING_SUPPORT_ENABLE | 14 | #define LOCKING_SUPPORT_ENABLE |
| 20 | 15 | ||
diff --git a/keyboards/bioi/g60ble/info.json b/keyboards/bioi/g60ble/info.json index d8ef72cbb8..cca5ed456f 100644 --- a/keyboards/bioi/g60ble/info.json +++ b/keyboards/bioi/g60ble/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6080", | 8 | "pid": "0x6080", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 8 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "qmk-dfu", | 16 | "bootloader": "qmk-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_iso", "60_hhkb", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], | 17 | "community_layouts": ["60_ansi", "60_iso", "60_hhkb", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], |
diff --git a/keyboards/bioi/morgan65/config.h b/keyboards/bioi/morgan65/config.h index 1fb1d149c0..6d609e0185 100644 --- a/keyboards/bioi/morgan65/config.h +++ b/keyboards/bioi/morgan65/config.h | |||
| @@ -32,10 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define MATRIX_ROW_PINS { E6, C6, F4, B2, D4 } | 32 | #define MATRIX_ROW_PINS { E6, C6, F4, B2, D4 } |
| 33 | #define MATRIX_COL_PINS { F5, F6, F7, C7, B0, B7, B5, D5, B4, D7, D6, D1, D0, B3 } | 33 | #define MATRIX_COL_PINS { F5, F6, F7, C7, B0, B7, B5, D5, B4, D7, D6, D1, D0, B3 } |
| 34 | 34 | ||
| 35 | /* Backlight Setup */ | ||
| 36 | #define BACKLIGHT_PIN B6 | ||
| 37 | #define BACKLIGHT_LEVELS 12 | ||
| 38 | |||
| 39 | /* COL2ROW or ROW2COL */ | 35 | /* COL2ROW or ROW2COL */ |
| 40 | #define DIODE_DIRECTION COL2ROW | 36 | #define DIODE_DIRECTION COL2ROW |
| 41 | 37 | ||
diff --git a/keyboards/bioi/morgan65/info.json b/keyboards/bioi/morgan65/info.json index c71f000e2f..1a822b2113 100644 --- a/keyboards/bioi/morgan65/info.json +++ b/keyboards/bioi/morgan65/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6581", | 8 | "pid": "0x6581", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 12 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "qmk-dfu", | 16 | "bootloader": "qmk-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/bioi/s65/config.h b/keyboards/bioi/s65/config.h index 4a98749258..6556560112 100644 --- a/keyboards/bioi/s65/config.h +++ b/keyboards/bioi/s65/config.h | |||
| @@ -32,11 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define MATRIX_ROW_PINS { D2, D0, D1, F7, D6 } | 32 | #define MATRIX_ROW_PINS { D2, D0, D1, F7, D6 } |
| 33 | #define MATRIX_COL_PINS { F1, B3, F4, F5, F6, E6, C7, B2, B1, C6, B6, B5, B4, D7, D4, D5 } | 33 | #define MATRIX_COL_PINS { F1, B3, F4, F5, F6, E6, C7, B2, B1, C6, B6, B5, B4, D7, D4, D5 } |
| 34 | 34 | ||
| 35 | |||
| 36 | /* Backlight Setup */ | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_LEVELS 12 | ||
| 39 | |||
| 40 | /* COL2ROW or ROW2COL */ | 35 | /* COL2ROW or ROW2COL */ |
| 41 | #define DIODE_DIRECTION COL2ROW | 36 | #define DIODE_DIRECTION COL2ROW |
| 42 | 37 | ||
diff --git a/keyboards/bioi/s65/info.json b/keyboards/bioi/s65/info.json index 8de355ee4b..b80b37b2ea 100644 --- a/keyboards/bioi/s65/info.json +++ b/keyboards/bioi/s65/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x5365", | 8 | "pid": "0x5365", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 12 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "qmk-dfu", | 16 | "bootloader": "qmk-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/boston/config.h b/keyboards/boston/config.h index 7b3249e881..6dddf137f7 100644 --- a/keyboards/boston/config.h +++ b/keyboards/boston/config.h | |||
| @@ -22,12 +22,9 @@ | |||
| 22 | { B5, B6, A7, B0, B1, B2, A4 } | 22 | { B5, B6, A7, B0, B1, B2, A4 } |
| 23 | #define DIODE_DIRECTION COL2ROW | 23 | #define DIODE_DIRECTION COL2ROW |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN A6 | ||
| 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 27 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 28 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | 28 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/boston/info.json b/keyboards/boston/info.json index 87980602ba..40cc21008c 100644 --- a/keyboards/boston/info.json +++ b/keyboards/boston/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x4176", | 8 | "pid": "0x4176", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "A1", | 17 | "caps_lock": "A1", |
| 13 | "num_lock": "A0", | 18 | "num_lock": "A0", |
diff --git a/keyboards/bt66tech/bt66tech60/config.h b/keyboards/bt66tech/bt66tech60/config.h index 982e69a32b..c5007ffbbb 100644 --- a/keyboards/bt66tech/bt66tech60/config.h +++ b/keyboards/bt66tech/bt66tech60/config.h | |||
| @@ -21,11 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B10, B1, B0, A7, A6 } | 21 | #define MATRIX_ROW_PINS { B10, B1, B0, A7, A6 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A8 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | 26 | ||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/bt66tech/bt66tech60/info.json b/keyboards/bt66tech/bt66tech60/info.json index d3c6d1c4e9..91b824b6a4 100644 --- a/keyboards/bt66tech/bt66tech60/info.json +++ b/keyboards/bt66tech/bt66tech60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x7070", | 8 | "pid": "0x7070", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A8", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F103", | 16 | "processor": "STM32F103", |
| 12 | "bootloader": "stm32duino", | 17 | "bootloader": "stm32duino", |
| 13 | "community_layouts": ["60_ansi"], | 18 | "community_layouts": ["60_ansi"], |
diff --git a/keyboards/cablecardesigns/cypher/rev6/config.h b/keyboards/cablecardesigns/cypher/rev6/config.h index 1b8b2d671b..dc8c82f7b0 100644 --- a/keyboards/cablecardesigns/cypher/rev6/config.h +++ b/keyboards/cablecardesigns/cypher/rev6/config.h | |||
| @@ -9,16 +9,11 @@ | |||
| 9 | /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ | 9 | /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ |
| 10 | #define DIODE_DIRECTION COL2ROW | 10 | #define DIODE_DIRECTION COL2ROW |
| 11 | 11 | ||
| 12 | #define BACKLIGHT_BREATHING | ||
| 13 | #define BACKLIGHT_LEVELS 5 | ||
| 14 | |||
| 15 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 12 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 16 | #define LOCKING_SUPPORT_ENABLE | 13 | #define LOCKING_SUPPORT_ENABLE |
| 17 | /* Locking resynchronize hack */ | 14 | /* Locking resynchronize hack */ |
| 18 | #define LOCKING_RESYNC_ENABLE | 15 | #define LOCKING_RESYNC_ENABLE |
| 19 | 16 | ||
| 20 | #define BACKLIGHT_PIN D0 | ||
| 21 | |||
| 22 | #define RGB_DI_PIN D5 | 17 | #define RGB_DI_PIN D5 |
| 23 | #ifdef RGB_DI_PIN | 18 | #ifdef RGB_DI_PIN |
| 24 | #define RGBLED_NUM 3 | 19 | #define RGBLED_NUM 3 |
diff --git a/keyboards/cablecardesigns/cypher/rev6/info.json b/keyboards/cablecardesigns/cypher/rev6/info.json index 6f3d97443f..4fc447236e 100644 --- a/keyboards/cablecardesigns/cypher/rev6/info.json +++ b/keyboards/cablecardesigns/cypher/rev6/info.json | |||
| @@ -6,6 +6,11 @@ | |||
| 6 | "pid": "0xAA99", | 6 | "pid": "0xAA99", |
| 7 | "device_version": "0.0.2" | 7 | "device_version": "0.0.2" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "D0", | ||
| 11 | "levels": 5, | ||
| 12 | "breathing": true | ||
| 13 | }, | ||
| 9 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 10 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 11 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/cannonkeys/an_c/config.h b/keyboards/cannonkeys/an_c/config.h index de54b4ddeb..a6b9872268 100644 --- a/keyboards/cannonkeys/an_c/config.h +++ b/keyboards/cannonkeys/an_c/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } | 21 | #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/an_c/info.json b/keyboards/cannonkeys/an_c/info.json index e3c6fb0b6a..0517bb09d3 100644 --- a/keyboards/cannonkeys/an_c/info.json +++ b/keyboards/cannonkeys/an_c/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xA00C", | 8 | "pid": "0xA00C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_tsangan_hhkb"], | 18 | "community_layouts": ["60_ansi", "60_tsangan_hhkb"], |
diff --git a/keyboards/cannonkeys/chimera65/config.h b/keyboards/cannonkeys/chimera65/config.h index b3037d9378..26e04106ab 100644 --- a/keyboards/cannonkeys/chimera65/config.h +++ b/keyboards/cannonkeys/chimera65/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { A13, A14, A15, C13, B8 } | 21 | #define MATRIX_ROW_PINS { A13, A14, A15, C13, B8 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/chimera65/info.json b/keyboards/cannonkeys/chimera65/info.json index 5e182b470c..cdd07c3459 100644 --- a/keyboards/cannonkeys/chimera65/info.json +++ b/keyboards/cannonkeys/chimera65/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xC024", | 8 | "pid": "0xC024", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/cloudline/config.h b/keyboards/cannonkeys/cloudline/config.h index 5442ee192f..d7c7052163 100644 --- a/keyboards/cannonkeys/cloudline/config.h +++ b/keyboards/cannonkeys/cloudline/config.h | |||
| @@ -7,12 +7,9 @@ | |||
| 7 | #define MATRIX_ROW_PINS { A15, B3, B5, A4, A5, F1 } | 7 | #define MATRIX_ROW_PINS { A15, B3, B5, A4, A5, F1 } |
| 8 | #define DIODE_DIRECTION COL2ROW | 8 | #define DIODE_DIRECTION COL2ROW |
| 9 | 9 | ||
| 10 | #define BACKLIGHT_PIN A6 | ||
| 11 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 10 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 12 | #define BACKLIGHT_PWM_CHANNEL 1 | 11 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 13 | #define BACKLIGHT_PAL_MODE 1 | 12 | #define BACKLIGHT_PAL_MODE 1 |
| 14 | #define BACKLIGHT_LEVELS 6 | ||
| 15 | #define BACKLIGHT_BREATHING | ||
| 16 | 13 | ||
| 17 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 14 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 18 | #define LOCKING_SUPPORT_ENABLE | 15 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/cloudline/info.json b/keyboards/cannonkeys/cloudline/info.json index 86d126255d..d5d8b817ea 100644 --- a/keyboards/cannonkeys/cloudline/info.json +++ b/keyboards/cannonkeys/cloudline/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x000A", | 8 | "pid": "0x000A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B9", | 17 | "caps_lock": "B9", |
| 13 | "scroll_lock": "F0", | 18 | "scroll_lock": "F0", |
diff --git a/keyboards/cannonkeys/crin/config.h b/keyboards/cannonkeys/crin/config.h index 5cd5613378..c275e78f23 100644 --- a/keyboards/cannonkeys/crin/config.h +++ b/keyboards/cannonkeys/crin/config.h | |||
| @@ -22,12 +22,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN A6 | ||
| 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 27 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 28 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | 28 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/crin/info.json b/keyboards/cannonkeys/crin/info.json index 372eab0d48..6c6afa0f89 100644 --- a/keyboards/cannonkeys/crin/info.json +++ b/keyboards/cannonkeys/crin/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0012", | 8 | "pid": "0x0012", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "F1", | 17 | "caps_lock": "F1", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/cannonkeys/db60/config.h b/keyboards/cannonkeys/db60/config.h index ff2dcf70f2..9e034e7c12 100644 --- a/keyboards/cannonkeys/db60/config.h +++ b/keyboards/cannonkeys/db60/config.h | |||
| @@ -22,12 +22,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN A6 | ||
| 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 27 | #define BACKLIGHT_PWM_CHANNEL 1 | 26 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 28 | #define BACKLIGHT_PAL_MODE 1 | 27 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | 28 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/db60/info.json b/keyboards/cannonkeys/db60/info.json index d6c11eb08b..5f4a94d367 100644 --- a/keyboards/cannonkeys/db60/info.json +++ b/keyboards/cannonkeys/db60/info.json | |||
| @@ -6,6 +6,11 @@ | |||
| 6 | "vid": "0xCA04", | 6 | "vid": "0xCA04", |
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "A6", | ||
| 11 | "levels": 6, | ||
| 12 | "breathing": true | ||
| 13 | }, | ||
| 9 | "processor": "STM32F072", | 14 | "processor": "STM32F072", |
| 10 | "bootloader": "stm32-dfu" | 15 | "bootloader": "stm32-dfu" |
| 11 | } | 16 | } |
diff --git a/keyboards/cannonkeys/devastatingtkl/config.h b/keyboards/cannonkeys/devastatingtkl/config.h index 2865ecebb9..cd6fa15243 100644 --- a/keyboards/cannonkeys/devastatingtkl/config.h +++ b/keyboards/cannonkeys/devastatingtkl/config.h | |||
| @@ -21,13 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { A15, B3, B5, A4, A5, F1 } | 21 | #define MATRIX_ROW_PINS { A15, B3, B5, A4, A5, F1 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | |||
| 25 | #define BACKLIGHT_PIN A6 | ||
| 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 27 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 28 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | 27 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/devastatingtkl/info.json b/keyboards/cannonkeys/devastatingtkl/info.json index 6d4172e7b2..557b53817b 100644 --- a/keyboards/cannonkeys/devastatingtkl/info.json +++ b/keyboards/cannonkeys/devastatingtkl/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xDE57", | 8 | "pid": "0xDE57", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/instant60/config.h b/keyboards/cannonkeys/instant60/config.h index 8f72638604..8e7158765d 100644 --- a/keyboards/cannonkeys/instant60/config.h +++ b/keyboards/cannonkeys/instant60/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } | 21 | #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/instant60/info.json b/keyboards/cannonkeys/instant60/info.json index 2ad358727b..56f5126d0d 100644 --- a/keyboards/cannonkeys/instant60/info.json +++ b/keyboards/cannonkeys/instant60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1600", | 8 | "pid": "0x1600", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_tsangan_hhkb"], | 18 | "community_layouts": ["60_ansi", "60_tsangan_hhkb"], |
diff --git a/keyboards/cannonkeys/instant65/config.h b/keyboards/cannonkeys/instant65/config.h index efa1e26fbb..5afccde3a7 100644 --- a/keyboards/cannonkeys/instant65/config.h +++ b/keyboards/cannonkeys/instant65/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { A14, A15, A0, B1, B0 } | 21 | #define MATRIX_ROW_PINS { A14, A15, A0, B1, B0 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/instant65/info.json b/keyboards/cannonkeys/instant65/info.json index 27ae86b94c..eedb9bd5c7 100644 --- a/keyboards/cannonkeys/instant65/info.json +++ b/keyboards/cannonkeys/instant65/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1565", | 8 | "pid": "0x1565", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/iron165/config.h b/keyboards/cannonkeys/iron165/config.h index 773aa16496..eb7011b349 100644 --- a/keyboards/cannonkeys/iron165/config.h +++ b/keyboards/cannonkeys/iron165/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B12, B13, B14, B15, A1 } | 21 | #define MATRIX_ROW_PINS { B12, B13, B14, B15, A1 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/iron165/info.json b/keyboards/cannonkeys/iron165/info.json index bd552f0938..b0ad19785c 100644 --- a/keyboards/cannonkeys/iron165/info.json +++ b/keyboards/cannonkeys/iron165/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x5165", | 8 | "pid": "0x5165", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/malicious_ergo/config.h b/keyboards/cannonkeys/malicious_ergo/config.h index a3ab4d6e0d..57fa0cf7c3 100644 --- a/keyboards/cannonkeys/malicious_ergo/config.h +++ b/keyboards/cannonkeys/malicious_ergo/config.h | |||
| @@ -23,12 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 } | 23 | #define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 } |
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN A6 | ||
| 27 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 28 | #define BACKLIGHT_PWM_CHANNEL 1 | 27 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 29 | #define BACKLIGHT_PAL_MODE 1 | 28 | #define BACKLIGHT_PAL_MODE 1 |
| 30 | #define BACKLIGHT_LEVELS 6 | ||
| 31 | #define BACKLIGHT_BREATHING | ||
| 32 | 29 | ||
| 33 | /* 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 */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 31 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/malicious_ergo/info.json b/keyboards/cannonkeys/malicious_ergo/info.json index d9979a3462..9058e07878 100644 --- a/keyboards/cannonkeys/malicious_ergo/info.json +++ b/keyboards/cannonkeys/malicious_ergo/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0009", | 8 | "pid": "0x0009", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "A8", | 17 | "caps_lock": "A8", |
| 13 | "num_lock": "A9", | 18 | "num_lock": "A9", |
diff --git a/keyboards/cannonkeys/obliterated75/config.h b/keyboards/cannonkeys/obliterated75/config.h index d590606d28..6d2ab14c6b 100644 --- a/keyboards/cannonkeys/obliterated75/config.h +++ b/keyboards/cannonkeys/obliterated75/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { A13, B12, B11, B14, A8, A1 } | 21 | #define MATRIX_ROW_PINS { A13, B12, B11, B14, A8, A1 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/obliterated75/info.json b/keyboards/cannonkeys/obliterated75/info.json index b4be81c835..30ea22bd74 100644 --- a/keyboards/cannonkeys/obliterated75/info.json +++ b/keyboards/cannonkeys/obliterated75/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0B75", | 8 | "pid": "0x0B75", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/onyx/config.h b/keyboards/cannonkeys/onyx/config.h index 4ff492449b..3c95a53960 100644 --- a/keyboards/cannonkeys/onyx/config.h +++ b/keyboards/cannonkeys/onyx/config.h | |||
| @@ -21,13 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B11, B10, B2, F0, B5 } | 21 | #define MATRIX_ROW_PINS { B11, B10, B2, F0, B5 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | |||
| 25 | #define BACKLIGHT_PIN A6 | ||
| 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 27 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 28 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 6 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | 27 | ||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/onyx/info.json b/keyboards/cannonkeys/onyx/info.json index c2708cc4eb..a4e1a69c9c 100644 --- a/keyboards/cannonkeys/onyx/info.json +++ b/keyboards/cannonkeys/onyx/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0003", | 8 | "pid": "0x0003", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/ortho48/config.h b/keyboards/cannonkeys/ortho48/config.h index 87000ef0b9..5c864541c7 100644 --- a/keyboards/cannonkeys/ortho48/config.h +++ b/keyboards/cannonkeys/ortho48/config.h | |||
| @@ -21,11 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B12, C13, A2, A1 } | 21 | #define MATRIX_ROW_PINS { B12, C13, A2, A1 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A8 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | 26 | ||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/ortho48/info.json b/keyboards/cannonkeys/ortho48/info.json index 0e022d240c..ba7f1dbdd4 100644 --- a/keyboards/cannonkeys/ortho48/info.json +++ b/keyboards/cannonkeys/ortho48/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x4F48", | 8 | "pid": "0x4F48", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A8", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F103", | 16 | "processor": "STM32F103", |
| 12 | "bootloader": "stm32duino", | 17 | "bootloader": "stm32duino", |
| 13 | "community_layouts": ["ortho_4x12"], | 18 | "community_layouts": ["ortho_4x12"], |
diff --git a/keyboards/cannonkeys/ortho60/config.h b/keyboards/cannonkeys/ortho60/config.h index 0e86aa6851..f9c6596a9f 100644 --- a/keyboards/cannonkeys/ortho60/config.h +++ b/keyboards/cannonkeys/ortho60/config.h | |||
| @@ -21,11 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 } | 21 | #define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A8 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | 26 | ||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/ortho60/info.json b/keyboards/cannonkeys/ortho60/info.json index 7db3ee9f04..8426955dae 100644 --- a/keyboards/cannonkeys/ortho60/info.json +++ b/keyboards/cannonkeys/ortho60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x4F60", | 8 | "pid": "0x4F60", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A8", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F103", | 16 | "processor": "STM32F103", |
| 12 | "bootloader": "stm32duino", | 17 | "bootloader": "stm32duino", |
| 13 | "community_layouts": ["ortho_5x12"], | 18 | "community_layouts": ["ortho_5x12"], |
diff --git a/keyboards/cannonkeys/ortho75/config.h b/keyboards/cannonkeys/ortho75/config.h index a69a445b15..021c4f38b6 100644 --- a/keyboards/cannonkeys/ortho75/config.h +++ b/keyboards/cannonkeys/ortho75/config.h | |||
| @@ -21,11 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B12, C13, A2, A1, A3 } | 21 | #define MATRIX_ROW_PINS { B12, C13, A2, A1, A3 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A8 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | 26 | ||
| 30 | #define ENCODERS_PAD_A { B9 } | 27 | #define ENCODERS_PAD_A { B9 } |
| 31 | #define ENCODERS_PAD_B { B8 } | 28 | #define ENCODERS_PAD_B { B8 } |
diff --git a/keyboards/cannonkeys/ortho75/info.json b/keyboards/cannonkeys/ortho75/info.json index c529181e4f..31465c47c0 100644 --- a/keyboards/cannonkeys/ortho75/info.json +++ b/keyboards/cannonkeys/ortho75/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6464", | 8 | "pid": "0x6464", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A8", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F103", | 16 | "processor": "STM32F103", |
| 12 | "bootloader": "stm32duino", | 17 | "bootloader": "stm32duino", |
| 13 | "community_layouts": ["ortho_5x15"], | 18 | "community_layouts": ["ortho_5x15"], |
diff --git a/keyboards/cannonkeys/practice60/config.h b/keyboards/cannonkeys/practice60/config.h index fb301ef701..287b1484e9 100644 --- a/keyboards/cannonkeys/practice60/config.h +++ b/keyboards/cannonkeys/practice60/config.h | |||
| @@ -21,11 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 } | 21 | #define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A8 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | 26 | ||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/practice60/info.json b/keyboards/cannonkeys/practice60/info.json index 16ec3a2a91..a25485038b 100644 --- a/keyboards/cannonkeys/practice60/info.json +++ b/keyboards/cannonkeys/practice60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A8", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F103", | 16 | "processor": "STM32F103", |
| 12 | "bootloader": "stm32duino", | 17 | "bootloader": "stm32duino", |
| 13 | "community_layouts": ["60_ansi"], | 18 | "community_layouts": ["60_ansi"], |
diff --git a/keyboards/cannonkeys/practice65/config.h b/keyboards/cannonkeys/practice65/config.h index b38638add4..ac3f193da9 100644 --- a/keyboards/cannonkeys/practice65/config.h +++ b/keyboards/cannonkeys/practice65/config.h | |||
| @@ -21,11 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B4, B11, B1, B7, B6 } | 21 | #define MATRIX_ROW_PINS { B4, B11, B1, B7, B6 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A8 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | 26 | ||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/practice65/info.json b/keyboards/cannonkeys/practice65/info.json index de009fc870..17e548a825 100644 --- a/keyboards/cannonkeys/practice65/info.json +++ b/keyboards/cannonkeys/practice65/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6565", | 8 | "pid": "0x6565", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A8", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F103", | 16 | "processor": "STM32F103", |
| 12 | "bootloader": "stm32duino", | 17 | "bootloader": "stm32duino", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/rekt1800/config.h b/keyboards/cannonkeys/rekt1800/config.h index 7c0745ceb8..37d156feb9 100644 --- a/keyboards/cannonkeys/rekt1800/config.h +++ b/keyboards/cannonkeys/rekt1800/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { C13, C14, A0, A1, A2, B11 } | 21 | #define MATRIX_ROW_PINS { C13, C14, A0, A1, A2, B11 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/rekt1800/info.json b/keyboards/cannonkeys/rekt1800/info.json index 2a98bb85e7..e68f214427 100644 --- a/keyboards/cannonkeys/rekt1800/info.json +++ b/keyboards/cannonkeys/rekt1800/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x2377", | 8 | "pid": "0x2377", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/sagittarius/config.h b/keyboards/cannonkeys/sagittarius/config.h index 9aed1f45bd..5edf9fdeb9 100644 --- a/keyboards/cannonkeys/sagittarius/config.h +++ b/keyboards/cannonkeys/sagittarius/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B10, B14, A8, A9, A10, C13, C14, C15, F0, F1 } | 21 | #define MATRIX_ROW_PINS { B10, B14, A8, A9, A10, C13, C14, C15, F0, F1 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/sagittarius/info.json b/keyboards/cannonkeys/sagittarius/info.json index 76b52ab4bd..2b25ee6b98 100644 --- a/keyboards/cannonkeys/sagittarius/info.json +++ b/keyboards/cannonkeys/sagittarius/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B3", | 17 | "caps_lock": "B3", |
| 13 | "num_lock": "B4", | 18 | "num_lock": "B4", |
diff --git a/keyboards/cannonkeys/satisfaction75/config.h b/keyboards/cannonkeys/satisfaction75/config.h index 55dd8386dc..c2c20e1771 100644 --- a/keyboards/cannonkeys/satisfaction75/config.h +++ b/keyboards/cannonkeys/satisfaction75/config.h | |||
| @@ -32,10 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | 32 | ||
| 33 | #define ENCODER_RESOLUTION 2 | 33 | #define ENCODER_RESOLUTION 2 |
| 34 | 34 | ||
| 35 | //LEDS A6, RGB B15 | ||
| 36 | #define BACKLIGHT_LEVELS 24 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
| 38 | |||
| 39 | // I2C config | 35 | // I2C config |
| 40 | #define I2C_DRIVER I2CD1 | 36 | #define I2C_DRIVER I2CD1 |
| 41 | #define I2C1_SCL_PIN B6 | 37 | #define I2C1_SCL_PIN B6 |
diff --git a/keyboards/cannonkeys/satisfaction75/info.json b/keyboards/cannonkeys/satisfaction75/info.json index 44c96b3f3e..dd157defba 100644 --- a/keyboards/cannonkeys/satisfaction75/info.json +++ b/keyboards/cannonkeys/satisfaction75/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x57F5", | 8 | "pid": "0x57F5", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "levels": 24, | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "STM32F072", | 15 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu" | 16 | "bootloader": "stm32-dfu" |
| 13 | } | 17 | } |
diff --git a/keyboards/cannonkeys/savage65/config.h b/keyboards/cannonkeys/savage65/config.h index 416929afc7..79414a9a78 100644 --- a/keyboards/cannonkeys/savage65/config.h +++ b/keyboards/cannonkeys/savage65/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B12, B11, B14, A8, A1 } | 21 | #define MATRIX_ROW_PINS { B12, B11, B14, A8, A1 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/savage65/info.json b/keyboards/cannonkeys/savage65/info.json index 5d7630c0af..1aa34de891 100644 --- a/keyboards/cannonkeys/savage65/info.json +++ b/keyboards/cannonkeys/savage65/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x5A65", | 8 | "pid": "0x5A65", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_ansi_blocker_tsangan", "65_iso_blocker"], | 18 | "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_ansi_blocker_tsangan", "65_iso_blocker"], |
diff --git a/keyboards/cannonkeys/tmov2/config.h b/keyboards/cannonkeys/tmov2/config.h index 9cdd3834fc..8722ba8d54 100644 --- a/keyboards/cannonkeys/tmov2/config.h +++ b/keyboards/cannonkeys/tmov2/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { A10, A9, A8, B12 } | 21 | #define MATRIX_ROW_PINS { A10, A9, A8, B12 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/tmov2/info.json b/keyboards/cannonkeys/tmov2/info.json index d2309f2681..bdb6cd7453 100644 --- a/keyboards/cannonkeys/tmov2/info.json +++ b/keyboards/cannonkeys/tmov2/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x70F2", | 8 | "pid": "0x70F2", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/tsukuyomi/config.h b/keyboards/cannonkeys/tsukuyomi/config.h index 2c07e1d504..8987acd837 100644 --- a/keyboards/cannonkeys/tsukuyomi/config.h +++ b/keyboards/cannonkeys/tsukuyomi/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B12, B11, B14, A8, A1 } | 21 | #define MATRIX_ROW_PINS { B12, B11, B14, A8, A1 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/tsukuyomi/info.json b/keyboards/cannonkeys/tsukuyomi/info.json index d1a7f4d6ba..fb5b22e5b7 100644 --- a/keyboards/cannonkeys/tsukuyomi/info.json +++ b/keyboards/cannonkeys/tsukuyomi/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0002", | 8 | "pid": "0x0002", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/cannonkeys/vicious40/config.h b/keyboards/cannonkeys/vicious40/config.h index 87a002728e..d989d427ff 100644 --- a/keyboards/cannonkeys/vicious40/config.h +++ b/keyboards/cannonkeys/vicious40/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { A15, B3, B4, B5 } | 21 | #define MATRIX_ROW_PINS { A15, B3, B4, B5 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/cannonkeys/vicious40/info.json b/keyboards/cannonkeys/vicious40/info.json index 32dc1fff4a..384343b8e9 100644 --- a/keyboards/cannonkeys/vicious40/info.json +++ b/keyboards/cannonkeys/vicious40/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0004", | 8 | "pid": "0x0004", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/capsunlocked/cu24/config.h b/keyboards/capsunlocked/cu24/config.h index 7576a85d51..65f64c2f09 100644 --- a/keyboards/capsunlocked/cu24/config.h +++ b/keyboards/capsunlocked/cu24/config.h | |||
| @@ -33,11 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION ROW2COL | 34 | #define DIODE_DIRECTION ROW2COL |
| 35 | 35 | ||
| 36 | /* Backlight */ | ||
| 37 | #define BACKLIGHT_PIN B5 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | /* RGB Glow */ | 36 | /* RGB Glow */ |
| 42 | #define RGB_DI_PIN F4 // The pin the LED strip is connected to | 37 | #define RGB_DI_PIN F4 // The pin the LED strip is connected to |
| 43 | #define RGBLED_NUM 5 // Number of LEDs in your strip | 38 | #define RGBLED_NUM 5 // Number of LEDs in your strip |
diff --git a/keyboards/capsunlocked/cu24/info.json b/keyboards/capsunlocked/cu24/info.json index 03e87e6da6..ea361a2bf4 100644 --- a/keyboards/capsunlocked/cu24/info.json +++ b/keyboards/capsunlocked/cu24/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/capsunlocked/cu75/config.h b/keyboards/capsunlocked/cu75/config.h index f8cf3f0ffa..52dff09103 100644 --- a/keyboards/capsunlocked/cu75/config.h +++ b/keyboards/capsunlocked/cu75/config.h | |||
| @@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | #define RGBLIGHT_SAT_STEP 17 | 39 | #define RGBLIGHT_SAT_STEP 17 |
| 40 | #define RGBLIGHT_VAL_STEP 17 | 40 | #define RGBLIGHT_VAL_STEP 17 |
| 41 | 41 | ||
| 42 | #define BACKLIGHT_LEVELS 8 | ||
| 43 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} | 42 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} |
| 44 | 43 | ||
| 45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 44 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
diff --git a/keyboards/capsunlocked/cu75/info.json b/keyboards/capsunlocked/cu75/info.json index c6a6fe8be8..7f4eb623ac 100644 --- a/keyboards/capsunlocked/cu75/info.json +++ b/keyboards/capsunlocked/cu75/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6062", | 8 | "pid": "0x6062", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 8 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/capsunlocked/cu75/rules.mk b/keyboards/capsunlocked/cu75/rules.mk index e48941c949..cf757fc166 100644 --- a/keyboards/capsunlocked/cu75/rules.mk +++ b/keyboards/capsunlocked/cu75/rules.mk | |||
| @@ -1,8 +1,3 @@ | |||
| 1 | # Build Options | ||
| 2 | # change yes to no to disable | ||
| 3 | # | ||
| 4 | BACKLIGHT_DRIVER = custom | ||
| 5 | |||
| 6 | # TODO: These boards need to be converted to RGB Matrix | 1 | # TODO: These boards need to be converted to RGB Matrix |
| 7 | VPATH += keyboards/lfkeyboards | 2 | VPATH += keyboards/lfkeyboards |
| 8 | SRC = TWIlib.c issi.c lighting.c | 3 | SRC = TWIlib.c issi.c lighting.c |
diff --git a/keyboards/cest73/tkm/config.h b/keyboards/cest73/tkm/config.h index 5deae07fc6..062d3434eb 100644 --- a/keyboards/cest73/tkm/config.h +++ b/keyboards/cest73/tkm/config.h | |||
| @@ -25,9 +25,6 @@ | |||
| 25 | 25 | ||
| 26 | //NOTE: if D6 pin shows any issues in exploatation the LED on the Teensy is to be removed | 26 | //NOTE: if D6 pin shows any issues in exploatation the LED on the Teensy is to be removed |
| 27 | 27 | ||
| 28 | //TODO change the E6 pin to either B5, B6, B7 or C6 to utilize hardware PWM on a future PCB revision | ||
| 29 | #define BACKLIGHT_PIN E6 | ||
| 30 | |||
| 31 | /* COL2ROW or ROW2COL */ | 28 | /* COL2ROW or ROW2COL */ |
| 32 | #define DIODE_DIRECTION COL2ROW | 29 | #define DIODE_DIRECTION COL2ROW |
| 33 | 30 | ||
diff --git a/keyboards/cest73/tkm/info.json b/keyboards/cest73/tkm/info.json index 671cc27d52..6054f24467 100644 --- a/keyboards/cest73/tkm/info.json +++ b/keyboards/cest73/tkm/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAA55", | 8 | "pid": "0xAA55", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "E6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "F5", | 15 | "caps_lock": "F5", |
| 13 | "num_lock": "F6", | 16 | "num_lock": "F6", |
diff --git a/keyboards/checkerboards/nop60/config.h b/keyboards/checkerboards/nop60/config.h index 23ef41da4c..adf72e2f65 100644 --- a/keyboards/checkerboards/nop60/config.h +++ b/keyboards/checkerboards/nop60/config.h | |||
| @@ -25,11 +25,7 @@ Copyright 2021 Nathan Spears | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | /* Switch LED Backlighting */ | ||
| 29 | #define BACKLIGHT_PIN D1 | ||
| 30 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 28 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 31 | #define BACKLIGHT_LEVELS 6 | ||
| 32 | #define BACKLIGHT_BREATHING | ||
| 33 | 29 | ||
| 34 | // ws2812 options | 30 | // ws2812 options |
| 35 | #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to | 31 | #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to |
diff --git a/keyboards/checkerboards/nop60/info.json b/keyboards/checkerboards/nop60/info.json index 4ed4b82cb5..96467b7702 100644 --- a/keyboards/checkerboards/nop60/info.json +++ b/keyboards/checkerboards/nop60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1416", | 8 | "pid": "0x1416", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D1", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layout_aliases": { | 18 | "layout_aliases": { |
diff --git a/keyboards/checkerboards/quark_plus/config.h b/keyboards/checkerboards/quark_plus/config.h index 004fc8a177..b44a42406b 100644 --- a/keyboards/checkerboards/quark_plus/config.h +++ b/keyboards/checkerboards/quark_plus/config.h | |||
| @@ -30,11 +30,6 @@ | |||
| 30 | /* Locking resynchronize hack */ | 30 | /* Locking resynchronize hack */ |
| 31 | #define LOCKING_RESYNC_ENABLE | 31 | #define LOCKING_RESYNC_ENABLE |
| 32 | 32 | ||
| 33 | /* Switch LED Backlighting */ | ||
| 34 | #define BACKLIGHT_PIN C4 | ||
| 35 | #define BACKLIGHT_LEVELS 6 | ||
| 36 | #define BACKLIGHT_BREATHING | ||
| 37 | |||
| 38 | // ws2812 options | 33 | // ws2812 options |
| 39 | #define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to | 34 | #define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to |
| 40 | #define RGBLIGHT_EFFECT_BREATHING | 35 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/checkerboards/quark_plus/info.json b/keyboards/checkerboards/quark_plus/info.json index 6685b84224..6c40827e74 100644 --- a/keyboards/checkerboards/quark_plus/info.json +++ b/keyboards/checkerboards/quark_plus/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x5344", | 8 | "pid": "0x5344", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C4", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u2", | 16 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/checkerboards/quark_plus/rules.mk b/keyboards/checkerboards/quark_plus/rules.mk index 10772de547..c10c82105d 100644 --- a/keyboards/checkerboards/quark_plus/rules.mk +++ b/keyboards/checkerboards/quark_plus/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 9 | NKRO_ENABLE = no # Enable N-Key Rollover | 9 | NKRO_ENABLE = no # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no | ||
| 12 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | ENCODER_ENABLE = yes # Enable rotary encoder | 13 | ENCODER_ENABLE = yes # Enable rotary encoder |
diff --git a/keyboards/checkerboards/snop60/config.h b/keyboards/checkerboards/snop60/config.h index d9b5194a0b..92f1cd72e8 100644 --- a/keyboards/checkerboards/snop60/config.h +++ b/keyboards/checkerboards/snop60/config.h | |||
| @@ -25,11 +25,6 @@ Copyright 2022 Nathan Spears | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | /* Switch LED Backlighting */ | ||
| 29 | #define BACKLIGHT_PIN D1 | ||
| 30 | #define BACKLIGHT_LEVELS 6 | ||
| 31 | #define BACKLIGHT_BREATHING | ||
| 32 | |||
| 33 | // ws2812 options | 28 | // ws2812 options |
| 34 | #define RGB_DI_PIN B1 // pin the DI on the ws2812 is hooked-up to | 29 | #define RGB_DI_PIN B1 // pin the DI on the ws2812 is hooked-up to |
| 35 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/checkerboards/snop60/info.json b/keyboards/checkerboards/snop60/info.json index 8866a2728e..b3e9645465 100644 --- a/keyboards/checkerboards/snop60/info.json +++ b/keyboards/checkerboards/snop60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x2416", | 8 | "pid": "0x2416", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D1", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layout_aliases": { | 18 | "layout_aliases": { |
diff --git a/keyboards/checkerboards/snop60/rules.mk b/keyboards/checkerboards/snop60/rules.mk index 851dd43d3b..d24c9861b4 100644 --- a/keyboards/checkerboards/snop60/rules.mk +++ b/keyboards/checkerboards/snop60/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no | ||
| 12 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | ENCODER_ENBALE = yes # Enable Rotary Encoders | 13 | ENCODER_ENBALE = yes # Enable Rotary Encoders |
diff --git a/keyboards/cherrybstudio/cb87/config.h b/keyboards/cherrybstudio/cb87/config.h index e587304caf..f78600ed04 100644 --- a/keyboards/cherrybstudio/cb87/config.h +++ b/keyboards/cherrybstudio/cb87/config.h | |||
| @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | 30 | ||
| 31 | /* COL2ROW, ROW2COL*/ | 31 | /* COL2ROW, ROW2COL*/ |
| 32 | #define DIODE_DIRECTION COL2ROW | 32 | #define DIODE_DIRECTION COL2ROW |
| 33 | #define BACKLIGHT_PIN B6 | ||
| 34 | 33 | ||
| 35 | #define RGB_DI_PIN E6 | 34 | #define RGB_DI_PIN E6 |
| 36 | #ifdef RGB_DI_PIN | 35 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/cherrybstudio/cb87/info.json b/keyboards/cherrybstudio/cb87/info.json index 3af7eff96d..09a4fe132a 100644 --- a/keyboards/cherrybstudio/cb87/info.json +++ b/keyboards/cherrybstudio/cb87/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 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "F0", | 15 | "caps_lock": "F0", |
| 13 | "scroll_lock": "F4", | 16 | "scroll_lock": "F4", |
diff --git a/keyboards/cherrybstudio/cb87v2/config.h b/keyboards/cherrybstudio/cb87v2/config.h index a221188ccb..55b8bc4bee 100644 --- a/keyboards/cherrybstudio/cb87v2/config.h +++ b/keyboards/cherrybstudio/cb87v2/config.h | |||
| @@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* COL2ROW, ROW2COL*/ | 31 | /* COL2ROW, ROW2COL*/ |
| 32 | #define DIODE_DIRECTION COL2ROW | 32 | #define DIODE_DIRECTION COL2ROW |
| 33 | 33 | ||
| 34 | #define BACKLIGHT_PIN B6 | ||
| 35 | |||
| 36 | #define RGB_DI_PIN E6 | 34 | #define RGB_DI_PIN E6 |
| 37 | #ifdef RGB_DI_PIN | 35 | #ifdef RGB_DI_PIN |
| 38 | #define RGBLIGHT_EFFECT_BREATHING | 36 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/cherrybstudio/cb87v2/info.json b/keyboards/cherrybstudio/cb87v2/info.json index 3cb29e13d0..45aea95248 100644 --- a/keyboards/cherrybstudio/cb87v2/info.json +++ b/keyboards/cherrybstudio/cb87v2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x8788", | 8 | "pid": "0x8788", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "F0", | 15 | "caps_lock": "F0", |
| 13 | "scroll_lock": "F4", | 16 | "scroll_lock": "F4", |
diff --git a/keyboards/ck60i/config.h b/keyboards/ck60i/config.h index f298022e35..b847eb42d7 100644 --- a/keyboards/ck60i/config.h +++ b/keyboards/ck60i/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B9 , C13, A3 , B14, A8} | 21 | #define MATRIX_ROW_PINS { B9 , C13, A3 , B14, A8} |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/ck60i/info.json b/keyboards/ck60i/info.json index 87b22f29eb..5ebf94953e 100644 --- a/keyboards/ck60i/info.json +++ b/keyboards/ck60i/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6049", | 8 | "pid": "0x6049", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/ck60i/rules.mk b/keyboards/ck60i/rules.mk index 2e8924f3c3..e505cf44b4 100644 --- a/keyboards/ck60i/rules.mk +++ b/keyboards/ck60i/rules.mk | |||
| @@ -9,7 +9,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 12 | BACKLIGHT_DRIVER = pwm | ||
| 13 | ENCODER_ENABLE = yes | 12 | ENCODER_ENABLE = yes |
| 14 | 13 | ||
| 15 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 14 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
diff --git a/keyboards/ckeys/obelus/config.h b/keyboards/ckeys/obelus/config.h index b031888d4a..1bc6def7fd 100644 --- a/keyboards/ckeys/obelus/config.h +++ b/keyboards/ckeys/obelus/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ckeys/obelus/info.json b/keyboards/ckeys/obelus/info.json index 36d31c14bd..9697e3a9dd 100644 --- a/keyboards/ckeys/obelus/info.json +++ b/keyboards/ckeys/obelus/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 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x4"], | 16 | "community_layouts": ["ortho_4x4"], |
diff --git a/keyboards/ckeys/washington/config.h b/keyboards/ckeys/washington/config.h index 0ee05a5dbf..0461020f09 100644 --- a/keyboards/ckeys/washington/config.h +++ b/keyboards/ckeys/washington/config.h | |||
| @@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define ENCODERS_PAD_A { D4 } | 35 | #define ENCODERS_PAD_A { D4 } |
| 36 | #define ENCODERS_PAD_B { C6 } | 36 | #define ENCODERS_PAD_B { C6 } |
| 37 | 37 | ||
| 38 | #define BACKLIGHT_PIN B6 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 38 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 39 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 40 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ckeys/washington/info.json b/keyboards/ckeys/washington/info.json index 6c364dff1c..59e427a0b0 100644 --- a/keyboards/ckeys/washington/info.json +++ b/keyboards/ckeys/washington/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x002A", | 8 | "pid": "0x002A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/clueboard/17/info.json b/keyboards/clueboard/17/info.json index 33b888b059..a8e933d028 100644 --- a/keyboards/clueboard/17/info.json +++ b/keyboards/clueboard/17/info.json | |||
| @@ -46,6 +46,9 @@ | |||
| 46 | "pid": "0x2312", | 46 | "pid": "0x2312", |
| 47 | "vid": "0xC1ED" | 47 | "vid": "0xC1ED" |
| 48 | }, | 48 | }, |
| 49 | "backlight": { | ||
| 50 | "driver": "custom" | ||
| 51 | }, | ||
| 49 | "layout_aliases": { | 52 | "layout_aliases": { |
| 50 | "LAYOUT": "LAYOUT_numpad_5x4" | 53 | "LAYOUT": "LAYOUT_numpad_5x4" |
| 51 | }, | 54 | }, |
diff --git a/keyboards/clueboard/17/rules.mk b/keyboards/clueboard/17/rules.mk index d2e52d56b5..e69de29bb2 100644 --- a/keyboards/clueboard/17/rules.mk +++ b/keyboards/clueboard/17/rules.mk | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | # Build Options | ||
| 2 | BACKLIGHT_DRIVER = custom | ||
diff --git a/keyboards/clueboard/60/config.h b/keyboards/clueboard/60/config.h deleted file mode 100644 index c675044b37..0000000000 --- a/keyboards/clueboard/60/config.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2017 skully <skullydazed@gmail.com> | ||
| 3 | * | ||
| 4 | * This program is free software: you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation, either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | |||
| 21 | /* Backlight configuration | ||
| 22 | */ | ||
| 23 | #define BACKLIGHT_LEVELS 1 | ||
diff --git a/keyboards/clueboard/60/info.json b/keyboards/clueboard/60/info.json index 16f94644c9..d89253fa3e 100644 --- a/keyboards/clueboard/60/info.json +++ b/keyboards/clueboard/60/info.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "pid": "0x2350", | 29 | "pid": "0x2350", |
| 30 | "vid": "0xC1ED" | 30 | "vid": "0xC1ED" |
| 31 | }, | 31 | }, |
| 32 | "backlight": { | ||
| 33 | "levels": 1 | ||
| 34 | }, | ||
| 32 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso"], | 35 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso"], |
| 33 | "layout_aliases": { | 36 | "layout_aliases": { |
| 34 | "LAYOUT": "LAYOUT_all" | 37 | "LAYOUT": "LAYOUT_all" |
diff --git a/keyboards/clueboard/66/rev2/config.h b/keyboards/clueboard/66/rev2/config.h index 192275f9f3..88d5112c8c 100644 --- a/keyboards/clueboard/66/rev2/config.h +++ b/keyboards/clueboard/66/rev2/config.h | |||
| @@ -1,10 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | |||
| 4 | /* Backlight configuration | ||
| 5 | */ | ||
| 6 | #define BACKLIGHT_LEVELS 1 | ||
| 7 | |||
| 8 | /* Underlight configuration | 3 | /* Underlight configuration |
| 9 | */ | 4 | */ |
| 10 | #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 | 5 | #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 |
diff --git a/keyboards/clueboard/66/rev2/info.json b/keyboards/clueboard/66/rev2/info.json index 2a9948f5b4..5945c2c833 100644 --- a/keyboards/clueboard/66/rev2/info.json +++ b/keyboards/clueboard/66/rev2/info.json | |||
| @@ -50,6 +50,10 @@ | |||
| 50 | "pid": "0x2320", | 50 | "pid": "0x2320", |
| 51 | "vid": "0xC1ED" | 51 | "vid": "0xC1ED" |
| 52 | }, | 52 | }, |
| 53 | "backlight": { | ||
| 54 | "driver": "custom", | ||
| 55 | "levels": 1 | ||
| 56 | }, | ||
| 53 | "community_layouts": ["66_ansi", "66_iso"], | 57 | "community_layouts": ["66_ansi", "66_iso"], |
| 54 | "layout_aliases": { | 58 | "layout_aliases": { |
| 55 | "LAYOUT": "LAYOUT_all" | 59 | "LAYOUT": "LAYOUT_all" |
diff --git a/keyboards/clueboard/66/rev2/rules.mk b/keyboards/clueboard/66/rev2/rules.mk index d2e52d56b5..e69de29bb2 100644 --- a/keyboards/clueboard/66/rev2/rules.mk +++ b/keyboards/clueboard/66/rev2/rules.mk | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | # Build Options | ||
| 2 | BACKLIGHT_DRIVER = custom | ||
diff --git a/keyboards/clueboard/66/rev3/config.h b/keyboards/clueboard/66/rev3/config.h index f84eb9da3e..eb584f096f 100644 --- a/keyboards/clueboard/66/rev3/config.h +++ b/keyboards/clueboard/66/rev3/config.h | |||
| @@ -1,10 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | |||
| 4 | /* Backlight configuration | ||
| 5 | */ | ||
| 6 | #define BACKLIGHT_LEVELS 1 | ||
| 7 | |||
| 8 | #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 | 3 | #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 |
| 9 | #define RGBLIGHT_EFFECT_BREATHE_MAX 200 | 4 | #define RGBLIGHT_EFFECT_BREATHE_MAX 200 |
| 10 | #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2 | 5 | #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2 |
diff --git a/keyboards/clueboard/66/rev3/info.json b/keyboards/clueboard/66/rev3/info.json index 7e99d16fcb..4c0569622c 100644 --- a/keyboards/clueboard/66/rev3/info.json +++ b/keyboards/clueboard/66/rev3/info.json | |||
| @@ -50,6 +50,10 @@ | |||
| 50 | "pid": "0x2370", | 50 | "pid": "0x2370", |
| 51 | "vid": "0xC1ED" | 51 | "vid": "0xC1ED" |
| 52 | }, | 52 | }, |
| 53 | "backlight": { | ||
| 54 | "driver": "custom", | ||
| 55 | "levels": 1 | ||
| 56 | }, | ||
| 53 | "community_layouts": ["66_ansi", "66_iso"], | 57 | "community_layouts": ["66_ansi", "66_iso"], |
| 54 | "layout_aliases": { | 58 | "layout_aliases": { |
| 55 | "LAYOUT": "LAYOUT_all" | 59 | "LAYOUT": "LAYOUT_all" |
diff --git a/keyboards/clueboard/66/rev3/rules.mk b/keyboards/clueboard/66/rev3/rules.mk index 924437d89b..e69de29bb2 100644 --- a/keyboards/clueboard/66/rev3/rules.mk +++ b/keyboards/clueboard/66/rev3/rules.mk | |||
| @@ -1 +0,0 @@ | |||
| 1 | BACKLIGHT_DRIVER = custom | ||
diff --git a/keyboards/clueboard/66_hotswap/prototype/config.h b/keyboards/clueboard/66_hotswap/prototype/config.h index 84869fb48b..651037af12 100644 --- a/keyboards/clueboard/66_hotswap/prototype/config.h +++ b/keyboards/clueboard/66_hotswap/prototype/config.h | |||
| @@ -10,10 +10,6 @@ | |||
| 10 | */ | 10 | */ |
| 11 | #define NO_ACTION_TAPPING | 11 | #define NO_ACTION_TAPPING |
| 12 | 12 | ||
| 13 | /* Backlight configuration | ||
| 14 | */ | ||
| 15 | #define BACKLIGHT_LEVELS 1 | ||
| 16 | |||
| 17 | /* Underlight configuration | 13 | /* Underlight configuration |
| 18 | */ | 14 | */ |
| 19 | #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 | 15 | #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 |
diff --git a/keyboards/clueboard/66_hotswap/prototype/info.json b/keyboards/clueboard/66_hotswap/prototype/info.json index c1b14be644..522eda3fba 100644 --- a/keyboards/clueboard/66_hotswap/prototype/info.json +++ b/keyboards/clueboard/66_hotswap/prototype/info.json | |||
| @@ -50,6 +50,10 @@ | |||
| 50 | "pid": "0x2390", | 50 | "pid": "0x2390", |
| 51 | "vid": "0xC1ED" | 51 | "vid": "0xC1ED" |
| 52 | }, | 52 | }, |
| 53 | "backlight": { | ||
| 54 | "driver": "custom", | ||
| 55 | "levels": 1 | ||
| 56 | }, | ||
| 53 | "community_layouts": ["66_ansi"], | 57 | "community_layouts": ["66_ansi"], |
| 54 | "layout_aliases": { | 58 | "layout_aliases": { |
| 55 | "LAYOUT": "LAYOUT_all" | 59 | "LAYOUT": "LAYOUT_all" |
diff --git a/keyboards/clueboard/66_hotswap/prototype/rules.mk b/keyboards/clueboard/66_hotswap/prototype/rules.mk index 8193682fd3..4da205a168 100644 --- a/keyboards/clueboard/66_hotswap/prototype/rules.mk +++ b/keyboards/clueboard/66_hotswap/prototype/rules.mk | |||
| @@ -1,3 +1 @@ | |||
| 1 | BACKLIGHT_DRIVER = custom | ||
| 2 | |||
| 3 | LTO_ENABLE = yes | LTO_ENABLE = yes | |
diff --git a/keyboards/clueboard/card/config.h b/keyboards/clueboard/card/config.h index 6eba3c1061..6bf5d24045 100644 --- a/keyboards/clueboard/card/config.h +++ b/keyboards/clueboard/card/config.h | |||
| @@ -17,8 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define BACKLIGHT_LEVELS 6 | ||
| 22 | |||
| 23 | // Enable audio | 20 | // Enable audio |
| 24 | #define AUDIO_PIN C6 | 21 | #define AUDIO_PIN C6 |
diff --git a/keyboards/clueboard/card/info.json b/keyboards/clueboard/card/info.json index 739d253971..4564768c19 100644 --- a/keyboards/clueboard/card/info.json +++ b/keyboards/clueboard/card/info.json | |||
| @@ -37,6 +37,10 @@ | |||
| 37 | "pid": "0x2330", | 37 | "pid": "0x2330", |
| 38 | "vid": "0xC1ED" | 38 | "vid": "0xC1ED" |
| 39 | }, | 39 | }, |
| 40 | "backlight": { | ||
| 41 | "driver": "custom", | ||
| 42 | "levels": 6 | ||
| 43 | }, | ||
| 40 | "layout_aliases": { | 44 | "layout_aliases": { |
| 41 | "LAYOUT": "LAYOUT_all" | 45 | "LAYOUT": "LAYOUT_all" |
| 42 | }, | 46 | }, |
diff --git a/keyboards/clueboard/card/rules.mk b/keyboards/clueboard/card/rules.mk index d2e52d56b5..e69de29bb2 100644 --- a/keyboards/clueboard/card/rules.mk +++ b/keyboards/clueboard/card/rules.mk | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | # Build Options | ||
| 2 | BACKLIGHT_DRIVER = custom | ||
diff --git a/keyboards/coarse/cordillera/config.h b/keyboards/coarse/cordillera/config.h index ff96ef5a2a..e251f6f90d 100644 --- a/keyboards/coarse/cordillera/config.h +++ b/keyboards/coarse/cordillera/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 } | 21 | #define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A8 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/coarse/cordillera/info.json b/keyboards/coarse/cordillera/info.json index 3d968ab84d..9d84f0dee3 100644 --- a/keyboards/coarse/cordillera/info.json +++ b/keyboards/coarse/cordillera/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1401", | 8 | "pid": "0x1401", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A8", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "A1", | 17 | "caps_lock": "A1", |
| 13 | "num_lock": "B0", | 18 | "num_lock": "B0", |
diff --git a/keyboards/copenhagen_click/click_pad_v1/config.h b/keyboards/copenhagen_click/click_pad_v1/config.h index 504b47701c..2f30b0bb1c 100755 --- a/keyboards/copenhagen_click/click_pad_v1/config.h +++ b/keyboards/copenhagen_click/click_pad_v1/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B5 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/copenhagen_click/click_pad_v1/info.json b/keyboards/copenhagen_click/click_pad_v1/info.json index 757a404d1e..f6abac2e6a 100755 --- a/keyboards/copenhagen_click/click_pad_v1/info.json +++ b/keyboards/copenhagen_click/click_pad_v1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x27DB", | 8 | "pid": "0x27DB", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/custommk/evo70/config.h b/keyboards/custommk/evo70/config.h index 9f27a458b7..d73f5b1823 100644 --- a/keyboards/custommk/evo70/config.h +++ b/keyboards/custommk/evo70/config.h | |||
| @@ -19,10 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #define OLED_UPDATE_INTERVAL 33 | 20 | #define OLED_UPDATE_INTERVAL 33 |
| 21 | 21 | ||
| 22 | #define BACKLIGHT_PIN B5 | ||
| 23 | #define BACKLIGHT_LEVELS 17 | ||
| 24 | #define BACKLIGHT_BREATHING | ||
| 25 | |||
| 26 | #define OLED_DISABLE_TIMEOUT | 22 | #define OLED_DISABLE_TIMEOUT |
| 27 | 23 | ||
| 28 | #define ENCODERS_PAD_A { C7 } | 24 | #define ENCODERS_PAD_A { C7 } |
diff --git a/keyboards/custommk/evo70/info.json b/keyboards/custommk/evo70/info.json index e5d2327518..824edd4277 100644 --- a/keyboards/custommk/evo70/info.json +++ b/keyboards/custommk/evo70/info.json | |||
| @@ -10,7 +10,10 @@ | |||
| 10 | "device_version": "0.0.1" | 10 | "device_version": "0.0.1" |
| 11 | }, | 11 | }, |
| 12 | "backlight": { | 12 | "backlight": { |
| 13 | "on_state": 0 | 13 | "pin": "B5", |
| 14 | "levels": 17, | ||
| 15 | "on_state": 0, | ||
| 16 | "breathing": true | ||
| 14 | }, | 17 | }, |
| 15 | "processor": "atmega32u4", | 18 | "processor": "atmega32u4", |
| 16 | "bootloader": "qmk-dfu", | 19 | "bootloader": "qmk-dfu", |
diff --git a/keyboards/cx60/config.h b/keyboards/cx60/config.h index 5aaca2af88..5b9aea0a99 100644 --- a/keyboards/cx60/config.h +++ b/keyboards/cx60/config.h | |||
| @@ -21,12 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { F1, F4, F5, F6, E6 } | 21 | #define MATRIX_ROW_PINS { F1, F4, F5, F6, E6 } |
| 22 | #define MATRIX_COL_PINS { C7, C6, F7, F0, B4, D7, D6, B0, B1, B2, B3, D2, D3, D5 } | 22 | #define MATRIX_COL_PINS { C7, C6, F7, F0, B4, D7, D6, B0, B1, B2, B3, D2, D3, D5 } |
| 23 | 23 | ||
| 24 | /* Backlight Setup */ | ||
| 25 | #define BACKLIGHT_PIN B7 | ||
| 26 | #ifdef BACKLIGHT_PIN | ||
| 27 | #define BACKLIGHT_LEVELS 5 | ||
| 28 | #endif | ||
| 29 | |||
| 30 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 31 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 32 | 26 | ||
diff --git a/keyboards/cx60/info.json b/keyboards/cx60/info.json index e2569465df..c859379563 100644 --- a/keyboards/cx60/info.json +++ b/keyboards/cx60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x3630", | 8 | "pid": "0x3630", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B5", | 16 | "caps_lock": "B5", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/db/db63/config.h b/keyboards/db/db63/config.h index 33a06d8a8f..dcf7368b38 100644 --- a/keyboards/db/db63/config.h +++ b/keyboards/db/db63/config.h | |||
| @@ -33,5 +33,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | |||
| 37 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/db/db63/info.json b/keyboards/db/db63/info.json index 96693bfb9e..9518ef5a42 100644 --- a/keyboards/db/db63/info.json +++ b/keyboards/db/db63/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32a", | 14 | "processor": "atmega32a", |
| 12 | "bootloader": "bootloadhid", | 15 | "bootloader": "bootloadhid", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/deng/djam/config.h b/keyboards/deng/djam/config.h index 7aab2373c6..8193eae02f 100644 --- a/keyboards/deng/djam/config.h +++ b/keyboards/deng/djam/config.h | |||
| @@ -20,9 +20,6 @@ | |||
| 20 | #define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 } | 20 | #define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 } |
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN B7 | ||
| 24 | #define BACKLIGHT_LEVELS 5 | ||
| 25 | |||
| 26 | #ifdef RGB_MATRIX_ENABLE | 23 | #ifdef RGB_MATRIX_ENABLE |
| 27 | #define RGB_DI_PIN D5 | 24 | #define RGB_DI_PIN D5 |
| 28 | #define RGB_MATRIX_LED_COUNT 31 | 25 | #define RGB_MATRIX_LED_COUNT 31 |
diff --git a/keyboards/deng/djam/info.json b/keyboards/deng/djam/info.json index dcf209a6d0..abf18685b2 100644 --- a/keyboards/deng/djam/info.json +++ b/keyboards/deng/djam/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x7325", | 8 | "pid": "0x7325", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/deng/djam/rules.mk b/keyboards/deng/djam/rules.mk index 0473525d1e..42a6d2bd1b 100644 --- a/keyboards/deng/djam/rules.mk +++ b/keyboards/deng/djam/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = pwm | ||
| 12 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | RGB_MATRIX_ENABLE = yes | 13 | RGB_MATRIX_ENABLE = yes |
diff --git a/keyboards/deng/thirty/config.h b/keyboards/deng/thirty/config.h index a3462809c1..e80b0d97a4 100644 --- a/keyboards/deng/thirty/config.h +++ b/keyboards/deng/thirty/config.h | |||
| @@ -21,12 +21,6 @@ | |||
| 21 | #define MATRIX_COL_PINS { B13, B14, B3, A4, A6 } | 21 | #define MATRIX_COL_PINS { B13, B14, B3, A4, A6 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | /* Backlight */ | ||
| 25 | #ifdef BACKLIGHT_ENABLE | ||
| 26 | #define BACKLIGHT_PIN B11 | ||
| 27 | #define BACKLIGHT_LEVELS 5 | ||
| 28 | #endif | ||
| 29 | |||
| 30 | /* RGB Matrix */ | 24 | /* RGB Matrix */ |
| 31 | #ifdef RGB_MATRIX_ENABLE | 25 | #ifdef RGB_MATRIX_ENABLE |
| 32 | #define RGB_DI_PIN B12 | 26 | #define RGB_DI_PIN B12 |
diff --git a/keyboards/deng/thirty/info.json b/keyboards/deng/thirty/info.json index d17b1d41dd..0fda78c76d 100644 --- a/keyboards/deng/thirty/info.json +++ b/keyboards/deng/thirty/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "driver": "software", | ||
| 13 | "pin": "B11", | ||
| 14 | "levels": 5, | ||
| 12 | "on_state": 0 | 15 | "on_state": 0 |
| 13 | }, | 16 | }, |
| 14 | "processor": "STM32F103", | 17 | "processor": "STM32F103", |
diff --git a/keyboards/deng/thirty/rules.mk b/keyboards/deng/thirty/rules.mk index 90bd050f7c..91837f3d45 100644 --- a/keyboards/deng/thirty/rules.mk +++ b/keyboards/deng/thirty/rules.mk | |||
| @@ -12,7 +12,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 12 | COMMAND_ENABLE = no # Commands for debug and configuration | 12 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 13 | NKRO_ENABLE = yes # Enable N-Key Rollover | 13 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 14 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 14 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 15 | BACKLIGHT_DRIVER = software | ||
| 16 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 15 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 17 | AUDIO_ENABLE = no # Audio output | 16 | AUDIO_ENABLE = no # Audio output |
| 18 | RGB_MATRIX_ENABLE = yes | 17 | RGB_MATRIX_ENABLE = yes |
diff --git a/keyboards/do60/config.h b/keyboards/do60/config.h index de8ef988e4..969d620d93 100644 --- a/keyboards/do60/config.h +++ b/keyboards/do60/config.h | |||
| @@ -31,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | 31 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } |
| 32 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, F4, B4, D7, D6, B3, B0 } | 32 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, F4, B4, D7, D6, B3, B0 } |
| 33 | 33 | ||
| 34 | /* Backlight Setup */ | ||
| 35 | #define BACKLIGHT_PIN B5 | ||
| 36 | #define BACKLIGHT_LEVELS 6 | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 39 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 40 | 36 | ||
diff --git a/keyboards/do60/info.json b/keyboards/do60/info.json index 1f866dcc1b..86d02df61e 100644 --- a/keyboards/do60/info.json +++ b/keyboards/do60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/donutcables/budget96/config.h b/keyboards/donutcables/budget96/config.h index 3efc985bc7..d5bf7a17cb 100644 --- a/keyboards/donutcables/budget96/config.h +++ b/keyboards/donutcables/budget96/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | |||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/donutcables/budget96/info.json b/keyboards/donutcables/budget96/info.json index 13d8e8f831..a8dd3fc32a 100644 --- a/keyboards/donutcables/budget96/info.json +++ b/keyboards/donutcables/budget96/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xB960", | 8 | "pid": "0xB960", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0" | 16 | "num_lock": "D0" |
diff --git a/keyboards/doro67/multi/config.h b/keyboards/doro67/multi/config.h index e89198ead0..b91f26f044 100644 --- a/keyboards/doro67/multi/config.h +++ b/keyboards/doro67/multi/config.h | |||
| @@ -15,6 +15,3 @@ | |||
| 15 | #define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 } | 15 | #define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 } |
| 16 | 16 | ||
| 17 | #define DIODE_DIRECTION COL2ROW | 17 | #define DIODE_DIRECTION COL2ROW |
| 18 | |||
| 19 | #define BACKLIGHT_PIN B7 | ||
| 20 | #define BACKLIGHT_LEVELS 7 | ||
diff --git a/keyboards/doro67/multi/info.json b/keyboards/doro67/multi/info.json index 12fb141666..b92267d5d9 100644 --- a/keyboards/doro67/multi/info.json +++ b/keyboards/doro67/multi/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4D4C", | 8 | "pid": "0x4D4C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 7 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "E6", | 16 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/dtisaac/dtisaac01/config.h b/keyboards/dtisaac/dtisaac01/config.h index a31aeafdff..aa0f99f104 100644 --- a/keyboards/dtisaac/dtisaac01/config.h +++ b/keyboards/dtisaac/dtisaac01/config.h | |||
| @@ -33,6 +33,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION ROW2COL | 35 | #define DIODE_DIRECTION ROW2COL |
| 36 | |||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
diff --git a/keyboards/dtisaac/dtisaac01/info.json b/keyboards/dtisaac/dtisaac01/info.json index 4e06790399..bbbc5ede5d 100644 --- a/keyboards/dtisaac/dtisaac01/info.json +++ b/keyboards/dtisaac/dtisaac01/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4973", | 8 | "pid": "0x4973", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "D3", | 16 | "caps_lock": "D3", |
| 13 | "scroll_lock": "D5", | 17 | "scroll_lock": "D5", |
diff --git a/keyboards/duck/eagle_viper/v2/info.json b/keyboards/duck/eagle_viper/v2/info.json index 614e75c4c9..24821c46e1 100644 --- a/keyboards/duck/eagle_viper/v2/info.json +++ b/keyboards/duck/eagle_viper/v2/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0x4556", | 6 | "pid": "0x4556", |
| 7 | "device_version": "0.0.2" | 7 | "device_version": "0.0.2" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "driver": "custom" | ||
| 11 | }, | ||
| 9 | "bootmagic": { | 12 | "bootmagic": { |
| 10 | "matrix": [4, 10] | 13 | "matrix": [4, 10] |
| 11 | }, | 14 | }, |
diff --git a/keyboards/duck/eagle_viper/v2/rules.mk b/keyboards/duck/eagle_viper/v2/rules.mk index ffea1dd731..a2b82ea590 100644 --- a/keyboards/duck/eagle_viper/v2/rules.mk +++ b/keyboards/duck/eagle_viper/v2/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = custom | ||
| 12 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | 13 | ||
diff --git a/keyboards/duck/jetfire/config.h b/keyboards/duck/jetfire/config.h index 874997ab56..22a5b17901 100644 --- a/keyboards/duck/jetfire/config.h +++ b/keyboards/duck/jetfire/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL*/ | 25 | /* COL2ROW, ROW2COL*/ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_LEVELS 1 | ||
| 29 | |||
| 30 | #define RGB_DI_PIN D6 | 28 | #define RGB_DI_PIN D6 |
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/duck/jetfire/info.json b/keyboards/duck/jetfire/info.json index 3fc7b030ed..50118f3c8e 100644 --- a/keyboards/duck/jetfire/info.json +++ b/keyboards/duck/jetfire/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4A46", | 8 | "pid": "0x4A46", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 1 | ||
| 14 | }, | ||
| 11 | "bootmagic": { | 15 | "bootmagic": { |
| 12 | "matrix": [5, 10] | 16 | "matrix": [5, 10] |
| 13 | }, | 17 | }, |
diff --git a/keyboards/duck/jetfire/rules.mk b/keyboards/duck/jetfire/rules.mk index bfbd2aa6d7..2689836623 100644 --- a/keyboards/duck/jetfire/rules.mk +++ b/keyboards/duck/jetfire/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = no # Enable N-Key Rollover | 9 | NKRO_ENABLE = no # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = custom | ||
| 12 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | 13 | ||
diff --git a/keyboards/duck/lightsaver/config.h b/keyboards/duck/lightsaver/config.h index 1fa9980c8c..6fcad40634 100644 --- a/keyboards/duck/lightsaver/config.h +++ b/keyboards/duck/lightsaver/config.h | |||
| @@ -24,8 +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 | #define BACKLIGHT_LEVELS 1 | ||
| 28 | |||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/duck/lightsaver/info.json b/keyboards/duck/lightsaver/info.json index 3f434820be..b24ac43b0d 100644 --- a/keyboards/duck/lightsaver/info.json +++ b/keyboards/duck/lightsaver/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4C53", | 8 | "pid": "0x4C53", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 1 | ||
| 14 | }, | ||
| 11 | "bootmagic": { | 15 | "bootmagic": { |
| 12 | "matrix": [5, 10] | 16 | "matrix": [5, 10] |
| 13 | }, | 17 | }, |
diff --git a/keyboards/duck/lightsaver/rules.mk b/keyboards/duck/lightsaver/rules.mk index 044fb77f5a..2014cb4611 100644 --- a/keyboards/duck/lightsaver/rules.mk +++ b/keyboards/duck/lightsaver/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = custom | ||
| 12 | AUDIO_ENABLE = no # Audio output | 11 | AUDIO_ENABLE = no # Audio output |
| 13 | RGBLIGHT_ENABLE = yes | 12 | RGBLIGHT_ENABLE = yes |
| 14 | 13 | ||
diff --git a/keyboards/duck/octagon/v1/config.h b/keyboards/duck/octagon/v1/config.h index c19aa1f22d..a11234e6b3 100644 --- a/keyboards/duck/octagon/v1/config.h +++ b/keyboards/duck/octagon/v1/config.h | |||
| @@ -24,8 +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 | #define BACKLIGHT_LEVELS 1 | ||
| 28 | |||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/duck/octagon/v1/info.json b/keyboards/duck/octagon/v1/info.json index 8eaf8fb0d9..f30d533062 100644 --- a/keyboards/duck/octagon/v1/info.json +++ b/keyboards/duck/octagon/v1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4F31", | 8 | "pid": "0x4F31", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 1 | ||
| 14 | }, | ||
| 11 | "bootmagic": { | 15 | "bootmagic": { |
| 12 | "matrix": [5, 10] | 16 | "matrix": [5, 10] |
| 13 | }, | 17 | }, |
diff --git a/keyboards/duck/octagon/v1/rules.mk b/keyboards/duck/octagon/v1/rules.mk index 8d7b854ec0..5d79f0af09 100644 --- a/keyboards/duck/octagon/v1/rules.mk +++ b/keyboards/duck/octagon/v1/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = custom | ||
| 12 | AUDIO_ENABLE = no # Audio output | 11 | AUDIO_ENABLE = no # Audio output |
| 13 | RGBLIGHT_ENABLE = yes | 12 | RGBLIGHT_ENABLE = yes |
| 14 | 13 | ||
diff --git a/keyboards/duck/octagon/v2/config.h b/keyboards/duck/octagon/v2/config.h index d1f2971077..7fca9239be 100644 --- a/keyboards/duck/octagon/v2/config.h +++ b/keyboards/duck/octagon/v2/config.h | |||
| @@ -24,8 +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 | #define BACKLIGHT_LEVELS 1 | ||
| 28 | |||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/duck/octagon/v2/info.json b/keyboards/duck/octagon/v2/info.json index 220196e9fc..90b7489737 100644 --- a/keyboards/duck/octagon/v2/info.json +++ b/keyboards/duck/octagon/v2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4F32", | 8 | "pid": "0x4F32", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 1 | ||
| 14 | }, | ||
| 11 | "bootmagic": { | 15 | "bootmagic": { |
| 12 | "matrix": [5, 10] | 16 | "matrix": [5, 10] |
| 13 | }, | 17 | }, |
diff --git a/keyboards/duck/octagon/v2/rules.mk b/keyboards/duck/octagon/v2/rules.mk index dc181b289d..5e50c2ff8e 100644 --- a/keyboards/duck/octagon/v2/rules.mk +++ b/keyboards/duck/octagon/v2/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = custom | ||
| 12 | AUDIO_ENABLE = no # Audio output | 11 | AUDIO_ENABLE = no # Audio output |
| 13 | RGBLIGHT_ENABLE = yes | 12 | RGBLIGHT_ENABLE = yes |
| 14 | 13 | ||
diff --git a/keyboards/duck/orion/v3/config.h b/keyboards/duck/orion/v3/config.h index 6dde204a3b..eda7aec4ec 100644 --- a/keyboards/duck/orion/v3/config.h +++ b/keyboards/duck/orion/v3/config.h | |||
| @@ -24,8 +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 | #define BACKLIGHT_LEVELS 10 | ||
| 28 | |||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/duck/orion/v3/info.json b/keyboards/duck/orion/v3/info.json index 7c4c34281c..137c731242 100644 --- a/keyboards/duck/orion/v3/info.json +++ b/keyboards/duck/orion/v3/info.json | |||
| @@ -9,7 +9,9 @@ | |||
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pins": ["B1", "B2", "B3", "E6"] | 12 | "driver": "custom", |
| 13 | "pins": ["B1", "B2", "B3", "E6"], | ||
| 14 | "levels": 10 | ||
| 13 | }, | 15 | }, |
| 14 | "bootmagic": { | 16 | "bootmagic": { |
| 15 | "matrix": [4, 10] | 17 | "matrix": [4, 10] |
diff --git a/keyboards/duck/orion/v3/rules.mk b/keyboards/duck/orion/v3/rules.mk index d29d166083..49bc32f39b 100644 --- a/keyboards/duck/orion/v3/rules.mk +++ b/keyboards/duck/orion/v3/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = custom | ||
| 12 | AUDIO_ENABLE = no # Audio output | 11 | AUDIO_ENABLE = no # Audio output |
| 13 | RGBLIGHT_ENABLE = yes | 12 | RGBLIGHT_ENABLE = yes |
| 14 | 13 | ||
diff --git a/keyboards/dz60/config.h b/keyboards/dz60/config.h index 06fea4a957..fdac282e3b 100644 --- a/keyboards/dz60/config.h +++ b/keyboards/dz60/config.h | |||
| @@ -17,9 +17,6 @@ | |||
| 17 | /* COL2ROW, ROW2COL*/ | 17 | /* COL2ROW, ROW2COL*/ |
| 18 | #define DIODE_DIRECTION COL2ROW | 18 | #define DIODE_DIRECTION COL2ROW |
| 19 | 19 | ||
| 20 | #define BACKLIGHT_PIN B6 | ||
| 21 | #define BACKLIGHT_LEVELS 5 | ||
| 22 | |||
| 23 | #define RGB_DI_PIN E2 | 20 | #define RGB_DI_PIN E2 |
| 24 | #ifdef RGB_DI_PIN | 21 | #ifdef RGB_DI_PIN |
| 25 | # define RGBLIGHT_EFFECT_BREATHING | 22 | # define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/dz60/info.json b/keyboards/dz60/info.json index 31df22895b..37ba71fcdf 100644 --- a/keyboards/dz60/info.json +++ b/keyboards/dz60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x2260", | 8 | "pid": "0x2260", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/dztech/bocc/config.h b/keyboards/dztech/bocc/config.h index 1f6a6d295c..e93336086c 100644 --- a/keyboards/dztech/bocc/config.h +++ b/keyboards/dztech/bocc/config.h | |||
| @@ -32,9 +32,6 @@ | |||
| 32 | /* COL2ROW, ROW2COL*/ | 32 | /* COL2ROW, ROW2COL*/ |
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B7 | ||
| 36 | #define BACKLIGHT_LEVELS 5 | ||
| 37 | |||
| 38 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 39 | #ifdef RGB_DI_PIN | 36 | #ifdef RGB_DI_PIN |
| 40 | # define RGBLIGHT_EFFECT_BREATHING | 37 | # define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/dztech/bocc/info.json b/keyboards/dztech/bocc/info.json index 638df11bdb..87073419ab 100644 --- a/keyboards/dztech/bocc/info.json +++ b/keyboards/dztech/bocc/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1010", | 8 | "pid": "0x1010", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/dztech/dz96/config.h b/keyboards/dztech/dz96/config.h index 55b8d12b08..b22fdf5013 100644 --- a/keyboards/dztech/dz96/config.h +++ b/keyboards/dztech/dz96/config.h | |||
| @@ -23,6 +23,3 @@ | |||
| 23 | 23 | ||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | |||
| 27 | #define BACKLIGHT_PIN B6 | ||
| 28 | #define BACKLIGHT_LEVELS 5 | ||
diff --git a/keyboards/dztech/dz96/info.json b/keyboards/dztech/dz96/info.json index acfe51859e..1119a8f2ab 100644 --- a/keyboards/dztech/dz96/info.json +++ b/keyboards/dztech/dz96/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xDB96", | 8 | "pid": "0xDB96", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "num_lock": "B0", | 17 | "num_lock": "B0", |
diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 42cbedbd01..4aa733a06a 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h | |||
| @@ -25,12 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | /* Backlight */ | 27 | /* Backlight */ |
| 28 | #define BACKLIGHT_PIN A9 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 28 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 31 | #define BACKLIGHT_PWM_CHANNEL 2 | 29 | #define BACKLIGHT_PWM_CHANNEL 2 |
| 32 | #define BACKLIGHT_PAL_MODE 2 | 30 | #define BACKLIGHT_PAL_MODE 2 |
| 33 | #define BACKLIGHT_LEVELS 5 | ||
| 34 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. | 31 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. |
| 35 | 32 | ||
| 36 | /* Underglow */ | 33 | /* Underglow */ |
diff --git a/keyboards/ebastler/isometria_75/rev1/info.json b/keyboards/ebastler/isometria_75/rev1/info.json index 37898f4846..a2a8c4e1d5 100644 --- a/keyboards/ebastler/isometria_75/rev1/info.json +++ b/keyboards/ebastler/isometria_75/rev1/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1337", | 8 | "pid": "0x1337", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A9", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/efreet/config.h b/keyboards/efreet/config.h index 9552da2f6e..437059ef0a 100644 --- a/keyboards/efreet/config.h +++ b/keyboards/efreet/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN D0 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/efreet/info.json b/keyboards/efreet/info.json index 4a62e67421..8a971a9c71 100644 --- a/keyboards/efreet/info.json +++ b/keyboards/efreet/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D0", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u2", | 15 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 17 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/era/era65/rules.mk b/keyboards/era/era65/rules.mk index 2b03e47e93..e69de29bb2 100644 --- a/keyboards/era/era65/rules.mk +++ b/keyboards/era/era65/rules.mk | |||
| @@ -1 +0,0 @@ | |||
| 1 | BACKLIGHT_DRIVER = pwm \ No newline at end of file | ||
diff --git a/keyboards/ergotravel/rev1/config.h b/keyboards/ergotravel/rev1/config.h index e889857165..a24148772b 100644 --- a/keyboards/ergotravel/rev1/config.h +++ b/keyboards/ergotravel/rev1/config.h | |||
| @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | /* Locking resynchronize hack */ | 29 | /* Locking resynchronize hack */ |
| 30 | #define LOCKING_RESYNC_ENABLE | 30 | #define LOCKING_RESYNC_ENABLE |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN B5 | ||
| 33 | #define BACKLIGHT_LEVELS 5 | ||
| 34 | |||
| 35 | /* ws2812 RGB LED */ | 32 | /* ws2812 RGB LED */ |
| 36 | #define RGB_DI_PIN D3 | 33 | #define RGB_DI_PIN D3 |
| 37 | 34 | ||
diff --git a/keyboards/eve/meteor/config.h b/keyboards/eve/meteor/config.h index f5d2d78e87..7ccb9b93df 100644 --- a/keyboards/eve/meteor/config.h +++ b/keyboards/eve/meteor/config.h | |||
| @@ -23,5 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define MATRIX_COL_PINS { C2, C3, C4, C5, C6, C7, A7, A6, A5, A4, A3, A2, A1, A0, D7} | 23 | #define MATRIX_COL_PINS { C2, C3, C4, C5, C6, C7, A7, A6, A5, A4, A3, A2, A1, A0, D7} |
| 24 | 24 | ||
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | |||
| 27 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/eve/meteor/info.json b/keyboards/eve/meteor/info.json index ec37d1403e..eff9b8bc4f 100644 --- a/keyboards/eve/meteor/info.json +++ b/keyboards/eve/meteor/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4D54", | 8 | "pid": "0x4D54", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/evil80/config.h b/keyboards/evil80/config.h index 2242ca4176..f4a0747037 100644 --- a/keyboards/evil80/config.h +++ b/keyboards/evil80/config.h | |||
| @@ -8,9 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B5 | ||
| 12 | #define BACKLIGHT_BREATHING | ||
| 13 | |||
| 14 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 15 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 16 | 13 | ||
diff --git a/keyboards/evil80/info.json b/keyboards/evil80/info.json index 1d11e37ae6..1240ab5d4b 100644 --- a/keyboards/evil80/info.json +++ b/keyboards/evil80/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B6", | 16 | "caps_lock": "B6", |
| 13 | "scroll_lock": "B7" | 17 | "scroll_lock": "B7" |
diff --git a/keyboards/evyd13/atom47/rev2/config.h b/keyboards/evyd13/atom47/rev2/config.h index b057bbdae6..1098e61379 100644 --- a/keyboards/evyd13/atom47/rev2/config.h +++ b/keyboards/evyd13/atom47/rev2/config.h | |||
| @@ -32,11 +32,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | /* Locking resynchronize hack */ | 32 | /* Locking resynchronize hack */ |
| 33 | #define LOCKING_RESYNC_ENABLE | 33 | #define LOCKING_RESYNC_ENABLE |
| 34 | 34 | ||
| 35 | /* Backlight configuration | ||
| 36 | */ | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 4 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN D0 // The pin the LED strip is connected to | 35 | #define RGB_DI_PIN D0 // The pin the LED strip is connected to |
| 42 | #define RGBLED_NUM 1 // Number of LEDs in your strip | 36 | #define RGBLED_NUM 1 // Number of LEDs in your strip |
diff --git a/keyboards/evyd13/atom47/rev2/info.json b/keyboards/evyd13/atom47/rev2/info.json index 660d92a9a2..9a7ac37f30 100644 --- a/keyboards/evyd13/atom47/rev2/info.json +++ b/keyboards/evyd13/atom47/rev2/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x8E66", | 8 | "pid": "0x8E66", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "qmk_lufa_bootloader": { | 16 | "qmk_lufa_bootloader": { |
| 12 | "esc_input": "B7", | 17 | "esc_input": "B7", |
| 13 | "esc_output": "D7", | 18 | "esc_output": "D7", |
diff --git a/keyboards/evyd13/atom47/rev3/config.h b/keyboards/evyd13/atom47/rev3/config.h index f7cdbe79ba..5cee6379ff 100644 --- a/keyboards/evyd13/atom47/rev3/config.h +++ b/keyboards/evyd13/atom47/rev3/config.h | |||
| @@ -27,12 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | /* COL2ROW or ROW2COL */ | 27 | /* COL2ROW or ROW2COL */ |
| 28 | #define DIODE_DIRECTION COL2ROW | 28 | #define DIODE_DIRECTION COL2ROW |
| 29 | 29 | ||
| 30 | /* Backlight configuration | ||
| 31 | */ | ||
| 32 | #define BACKLIGHT_PIN B6 | ||
| 33 | #define BACKLIGHT_BREATHING | ||
| 34 | #define BACKLIGHT_LEVELS 5 | ||
| 35 | |||
| 36 | #define RGB_DI_PIN F5 // The pin the LED strip is connected to | 30 | #define RGB_DI_PIN F5 // The pin the LED strip is connected to |
| 37 | #define RGBLED_NUM 6 // Number of LEDs in your strip | 31 | #define RGBLED_NUM 6 // Number of LEDs in your strip |
| 38 | #define RGBLIGHT_EFFECT_BREATHING | 32 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/evyd13/atom47/rev3/info.json b/keyboards/evyd13/atom47/rev3/info.json index a6bcc95458..644a095eca 100644 --- a/keyboards/evyd13/atom47/rev3/info.json +++ b/keyboards/evyd13/atom47/rev3/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0E6D", | 8 | "pid": "0x0E6D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "qmk_lufa_bootloader": { | 16 | "qmk_lufa_bootloader": { |
| 12 | "esc_input": "B0", | 17 | "esc_input": "B0", |
| 13 | "esc_output": "B7", | 18 | "esc_output": "B7", |
diff --git a/keyboards/evyd13/wasdat_code/config.h b/keyboards/evyd13/wasdat_code/config.h index 98acf00d75..085965b814 100644 --- a/keyboards/evyd13/wasdat_code/config.h +++ b/keyboards/evyd13/wasdat_code/config.h | |||
| @@ -38,10 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | #define SN74X138_ADDRESS_PINS { D2, D1, D0 } | 38 | #define SN74X138_ADDRESS_PINS { D2, D1, D0 } |
| 39 | #define SN74X138_E3_PIN D4 | 39 | #define SN74X138_E3_PIN D4 |
| 40 | 40 | ||
| 41 | #define BACKLIGHT_PIN B7 | ||
| 42 | #define BACKLIGHT_BREATHING | ||
| 43 | #define BACKLIGHT_LEVELS 5 | ||
| 44 | |||
| 45 | /* 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 */ |
| 46 | #define LOCKING_SUPPORT_ENABLE | 42 | #define LOCKING_SUPPORT_ENABLE |
| 47 | /* Locking resynchronize hack */ | 43 | /* Locking resynchronize hack */ |
diff --git a/keyboards/evyd13/wasdat_code/info.json b/keyboards/evyd13/wasdat_code/info.json index 94ab350e9c..ab15586484 100644 --- a/keyboards/evyd13/wasdat_code/info.json +++ b/keyboards/evyd13/wasdat_code/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xB00E", | 8 | "pid": "0xB00E", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "qmk_lufa_bootloader": { | 16 | "qmk_lufa_bootloader": { |
| 12 | "esc_input": "F0", | 17 | "esc_input": "F0", |
| 13 | "esc_output": "E6", | 18 | "esc_output": "E6", |
diff --git a/keyboards/exclusive/e65/config.h b/keyboards/exclusive/e65/config.h index 7ef569f8c2..ef92b06249 100644 --- a/keyboards/exclusive/e65/config.h +++ b/keyboards/exclusive/e65/config.h | |||
| @@ -26,11 +26,6 @@ | |||
| 26 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN B7 | ||
| 30 | #ifdef BACKLIGHT_PIN | ||
| 31 | # define BACKLIGHT_LEVELS 6 | ||
| 32 | #endif | ||
| 33 | |||
| 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 35 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
| 36 | 31 | ||
diff --git a/keyboards/exclusive/e65/info.json b/keyboards/exclusive/e65/info.json index cee3259107..436faa5f3d 100644 --- a/keyboards/exclusive/e65/info.json +++ b/keyboards/exclusive/e65/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xE605", | 8 | "pid": "0xE605", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B6", | 16 | "caps_lock": "B6", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/exclusive/e6v2/le/config.h b/keyboards/exclusive/e6v2/le/config.h index c560e06a75..65bd782b7e 100644 --- a/keyboards/exclusive/e6v2/le/config.h +++ b/keyboards/exclusive/e6v2/le/config.h | |||
| @@ -40,10 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | #define RGBLIGHT_VAL_STEP 12 | 40 | #define RGBLIGHT_VAL_STEP 12 |
| 41 | #endif | 41 | #endif |
| 42 | 42 | ||
| 43 | #define BACKLIGHT_PIN B6 | ||
| 44 | #ifdef BACKLIGHT_PIN | ||
| 45 | #define BACKLIGHT_LEVELS 2 | ||
| 46 | #define BACKLIGHT_BREAHTING | ||
| 47 | #endif | ||
| 48 | |||
| 49 | #define DIODE_DIRECTION COL2ROW | 43 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/exclusive/e6v2/le/info.json b/keyboards/exclusive/e6v2/le/info.json index ac3a613736..10ad0c9383 100644 --- a/keyboards/exclusive/e6v2/le/info.json +++ b/keyboards/exclusive/e6v2/le/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "B6", | ||
| 13 | "levels": 2, | ||
| 14 | "breathing": true, | ||
| 12 | "breathing_period": 3 | 15 | "breathing_period": 3 |
| 13 | }, | 16 | }, |
| 14 | "indicators": { | 17 | "indicators": { |
diff --git a/keyboards/exclusive/e6v2/le_bmc/config.h b/keyboards/exclusive/e6v2/le_bmc/config.h index 29588aefe9..c9d14bff4d 100644 --- a/keyboards/exclusive/e6v2/le_bmc/config.h +++ b/keyboards/exclusive/e6v2/le_bmc/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 } | 33 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 } |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN D4 | ||
| 37 | |||
| 38 | #define RGBLED_NUM 6 | 36 | #define RGBLED_NUM 6 |
| 39 | #define RGBLIGHT_EFFECT_BREATHING | 37 | #define RGBLIGHT_EFFECT_BREATHING |
| 40 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 38 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/exclusive/e6v2/le_bmc/info.json b/keyboards/exclusive/e6v2/le_bmc/info.json index 5b34e2f413..51afd7c5ad 100644 --- a/keyboards/exclusive/e6v2/le_bmc/info.json +++ b/keyboards/exclusive/e6v2/le_bmc/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0xE62D", | 7 | "pid": "0xE62D", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "D4" | ||
| 12 | }, | ||
| 10 | "indicators": { | 13 | "indicators": { |
| 11 | "caps_lock": "D1" | 14 | "caps_lock": "D1" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/exclusive/e6v2/oe/config.h b/keyboards/exclusive/e6v2/oe/config.h index b43acd5a93..88ec4faa04 100644 --- a/keyboards/exclusive/e6v2/oe/config.h +++ b/keyboards/exclusive/e6v2/oe/config.h | |||
| @@ -40,10 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | #define RGBLIGHT_VAL_STEP 12 | 40 | #define RGBLIGHT_VAL_STEP 12 |
| 41 | #endif | 41 | #endif |
| 42 | 42 | ||
| 43 | #define BACKLIGHT_PIN B6 | ||
| 44 | #ifdef BACKLIGHT_PIN | ||
| 45 | #define BACKLIGHT_LEVELS 5 | ||
| 46 | #define BACKLIGHT_BREAHTING | ||
| 47 | #endif | ||
| 48 | |||
| 49 | #define DIODE_DIRECTION COL2ROW | 43 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/exclusive/e6v2/oe/info.json b/keyboards/exclusive/e6v2/oe/info.json index 70e57d3678..bfa408c556 100644 --- a/keyboards/exclusive/e6v2/oe/info.json +++ b/keyboards/exclusive/e6v2/oe/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "B6", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true, | ||
| 12 | "breathing_period": 3 | 15 | "breathing_period": 3 |
| 13 | }, | 16 | }, |
| 14 | "processor": "atmega32u4", | 17 | "processor": "atmega32u4", |
diff --git a/keyboards/exclusive/e6v2/oe_bmc/config.h b/keyboards/exclusive/e6v2/oe_bmc/config.h index 29588aefe9..c9d14bff4d 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/config.h +++ b/keyboards/exclusive/e6v2/oe_bmc/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 } | 33 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 } |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN D4 | ||
| 37 | |||
| 38 | #define RGBLED_NUM 6 | 36 | #define RGBLED_NUM 6 |
| 39 | #define RGBLIGHT_EFFECT_BREATHING | 37 | #define RGBLIGHT_EFFECT_BREATHING |
| 40 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 38 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/exclusive/e6v2/oe_bmc/info.json b/keyboards/exclusive/e6v2/oe_bmc/info.json index c5719f48fd..6716f99c98 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/info.json +++ b/keyboards/exclusive/e6v2/oe_bmc/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0xE62B", | 7 | "pid": "0xE62B", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "D4" | ||
| 12 | }, | ||
| 10 | "indicators": { | 13 | "indicators": { |
| 11 | "caps_lock": "D1" | 14 | "caps_lock": "D1" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/exclusive/e7v1/config.h b/keyboards/exclusive/e7v1/config.h index ba94a214a3..46944506a1 100644 --- a/keyboards/exclusive/e7v1/config.h +++ b/keyboards/exclusive/e7v1/config.h | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B7 | ||
| 12 | #ifdef BACKLIGHT_PIN | ||
| 13 | #define BACKLIGHT_LEVELS 6 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 17 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 18 | 13 | ||
diff --git a/keyboards/exclusive/e7v1/info.json b/keyboards/exclusive/e7v1/info.json index 88a7563b47..d014e6d47c 100644 --- a/keyboards/exclusive/e7v1/info.json +++ b/keyboards/exclusive/e7v1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xE701", | 8 | "pid": "0xE701", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "F0" | 16 | "caps_lock": "F0" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/exclusive/e7v1se/config.h b/keyboards/exclusive/e7v1se/config.h index 0d83c02c6f..3da5cb8935 100644 --- a/keyboards/exclusive/e7v1se/config.h +++ b/keyboards/exclusive/e7v1se/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLED_NUM 16 | 39 | #define RGBLED_NUM 16 |
diff --git a/keyboards/exclusive/e7v1se/info.json b/keyboards/exclusive/e7v1se/info.json index 92acc0c8b3..9994741f24 100644 --- a/keyboards/exclusive/e7v1se/info.json +++ b/keyboards/exclusive/e7v1se/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x7051", | 8 | "pid": "0x7051", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/exclusive/e85/config.h b/keyboards/exclusive/e85/config.h index 651b210fd6..8d01fe2faf 100644 --- a/keyboards/exclusive/e85/config.h +++ b/keyboards/exclusive/e85/config.h | |||
| @@ -36,10 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | /* COL2ROW, ROW2COL*/ | 36 | /* COL2ROW, ROW2COL*/ |
| 37 | #define DIODE_DIRECTION ROW2COL | 37 | #define DIODE_DIRECTION ROW2COL |
| 38 | 38 | ||
| 39 | #define BACKLIGHT_PIN B6 | ||
| 40 | #define BACKLIGHT_BREATHING | ||
| 41 | #define BACKLIGHT_LEVELS 6 | ||
| 42 | |||
| 43 | #define RGB_DI_PIN E2 | 39 | #define RGB_DI_PIN E2 |
| 44 | #ifdef RGB_DI_PIN | 40 | #ifdef RGB_DI_PIN |
| 45 | #define RGBLED_NUM 18 | 41 | #define RGBLED_NUM 18 |
diff --git a/keyboards/exclusive/e85/hotswap/info.json b/keyboards/exclusive/e85/hotswap/info.json index cd1d07fed5..0065b2b84c 100644 --- a/keyboards/exclusive/e85/hotswap/info.json +++ b/keyboards/exclusive/e85/hotswap/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xE851", | 8 | "pid": "0xE851", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/exclusive/e85/soldered/info.json b/keyboards/exclusive/e85/soldered/info.json index 1ba7d22f73..cda9f689cd 100644 --- a/keyboards/exclusive/e85/soldered/info.json +++ b/keyboards/exclusive/e85/soldered/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xE852", | 8 | "pid": "0xE852", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/exent/config.h b/keyboards/exent/config.h index 04b5306333..24941ea169 100644 --- a/keyboards/exent/config.h +++ b/keyboards/exent/config.h | |||
| @@ -33,8 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL */ | 33 | /* COL2ROW, ROW2COL */ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN D4 | ||
| 37 | |||
| 38 | #define RGBLED_NUM 18 | 36 | #define RGBLED_NUM 18 |
| 39 | 37 | ||
| 40 | #define RGBLIGHT_EFFECT_BREATHING | 38 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/exent/info.json b/keyboards/exent/info.json index 985da4fbc4..9aa80a4a11 100644 --- a/keyboards/exent/info.json +++ b/keyboards/exent/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4558", | 8 | "pid": "0x4558", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/eyeohdesigns/babyv/config.h b/keyboards/eyeohdesigns/babyv/config.h index 8af881e53b..6da702919e 100644 --- a/keyboards/eyeohdesigns/babyv/config.h +++ b/keyboards/eyeohdesigns/babyv/config.h | |||
| @@ -24,8 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW, ROW2COL*/ | 24 | /* COL2ROW, ROW2COL*/ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B6 | ||
| 28 | |||
| 29 | #define RGB_DI_PIN B7 | 27 | #define RGB_DI_PIN B7 |
| 30 | #define RGBLED_NUM 12 | 28 | #define RGBLED_NUM 12 |
| 31 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
diff --git a/keyboards/eyeohdesigns/babyv/info.json b/keyboards/eyeohdesigns/babyv/info.json index 59e7142adb..2a55943c78 100644 --- a/keyboards/eyeohdesigns/babyv/info.json +++ b/keyboards/eyeohdesigns/babyv/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 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/facew/config.h b/keyboards/facew/config.h index 264c8a552c..768b1b3551 100644 --- a/keyboards/facew/config.h +++ b/keyboards/facew/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | |||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/facew/info.json b/keyboards/facew/info.json index 28813e660c..6dcc9cb14d 100644 --- a/keyboards/facew/info.json +++ b/keyboards/facew/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0" | 16 | "num_lock": "D0" |
diff --git a/keyboards/flx/virgo/config.h b/keyboards/flx/virgo/config.h index 9ffcbc9422..f0c8fe016a 100644 --- a/keyboards/flx/virgo/config.h +++ b/keyboards/flx/virgo/config.h | |||
| @@ -33,9 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN B3 | 36 | #define RGB_DI_PIN B3 |
| 40 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLED_NUM 0 | 38 | #define RGBLED_NUM 0 |
diff --git a/keyboards/flx/virgo/info.json b/keyboards/flx/virgo/info.json index c65f9c7c62..3464c98976 100644 --- a/keyboards/flx/virgo/info.json +++ b/keyboards/flx/virgo/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x5647", | 8 | "pid": "0x5647", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/fortitude60/rev1/config.h b/keyboards/fortitude60/rev1/config.h index b698d527e6..8bd73e135e 100644 --- a/keyboards/fortitude60/rev1/config.h +++ b/keyboards/fortitude60/rev1/config.h | |||
| @@ -30,11 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #define SPLIT_USB_DETECT | 30 | #define SPLIT_USB_DETECT |
| 31 | #define SPLIT_USB_TIMEOUT 500 | 31 | #define SPLIT_USB_TIMEOUT 500 |
| 32 | 32 | ||
| 33 | #ifdef BACKLIGHT_ENABLE | ||
| 34 | #define BACKLIGHT_PIN B5 | ||
| 35 | #define BACKLIGHT_LEVELS 9 | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* 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 */ |
| 39 | #define LOCKING_SUPPORT_ENABLE | 34 | #define LOCKING_SUPPORT_ENABLE |
| 40 | /* Locking resynchronize hack */ | 35 | /* Locking resynchronize hack */ |
diff --git a/keyboards/fortitude60/rev1/info.json b/keyboards/fortitude60/rev1/info.json index 295eee95bd..e2aa377324 100644 --- a/keyboards/fortitude60/rev1/info.json +++ b/keyboards/fortitude60/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1156", | 8 | "pid": "0x1156", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 9 | ||
| 14 | }, | ||
| 11 | "split": { | 15 | "split": { |
| 12 | "soft_serial_pin": "D2" | 16 | "soft_serial_pin": "D2" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/foxlab/key65/hotswap/config.h b/keyboards/foxlab/key65/hotswap/config.h index 8a1462ac3b..1b8e4a8fd0 100644 --- a/keyboards/foxlab/key65/hotswap/config.h +++ b/keyboards/foxlab/key65/hotswap/config.h | |||
| @@ -33,9 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 40 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLED_NUM 8 | 38 | #define RGBLED_NUM 8 |
diff --git a/keyboards/foxlab/key65/hotswap/info.json b/keyboards/foxlab/key65/hotswap/info.json index 59e75d4538..712897a7f3 100644 --- a/keyboards/foxlab/key65/hotswap/info.json +++ b/keyboards/foxlab/key65/hotswap/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0003", | 8 | "pid": "0x0003", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "scroll_lock": "E6", | 16 | "scroll_lock": "E6", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/foxlab/key65/universal/config.h b/keyboards/foxlab/key65/universal/config.h index 8a465f7567..159e0cff79 100644 --- a/keyboards/foxlab/key65/universal/config.h +++ b/keyboards/foxlab/key65/universal/config.h | |||
| @@ -33,9 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 40 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLED_NUM 6 | 38 | #define RGBLED_NUM 6 |
diff --git a/keyboards/foxlab/key65/universal/info.json b/keyboards/foxlab/key65/universal/info.json index 1f19916693..a886275ff5 100644 --- a/keyboards/foxlab/key65/universal/info.json +++ b/keyboards/foxlab/key65/universal/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0004", | 8 | "pid": "0x0004", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "scroll_lock": "E6", | 16 | "scroll_lock": "E6", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/foxlab/leaf60/hotswap/config.h b/keyboards/foxlab/leaf60/hotswap/config.h index 72a597c85d..ee55e167d6 100644 --- a/keyboards/foxlab/leaf60/hotswap/config.h +++ b/keyboards/foxlab/leaf60/hotswap/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 4 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 8 | 39 | #define RGBLED_NUM 8 |
diff --git a/keyboards/foxlab/leaf60/hotswap/info.json b/keyboards/foxlab/leaf60/hotswap/info.json index 0425a64bfb..43f287ebca 100644 --- a/keyboards/foxlab/leaf60/hotswap/info.json +++ b/keyboards/foxlab/leaf60/hotswap/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "E6", | 17 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/foxlab/leaf60/universal/config.h b/keyboards/foxlab/leaf60/universal/config.h index 67d4a4dae6..d856375a5d 100644 --- a/keyboards/foxlab/leaf60/universal/config.h +++ b/keyboards/foxlab/leaf60/universal/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLED_NUM 8 | 39 | #define RGBLED_NUM 8 |
diff --git a/keyboards/foxlab/leaf60/universal/info.json b/keyboards/foxlab/leaf60/universal/info.json index d1abab386d..c782a6e50f 100644 --- a/keyboards/foxlab/leaf60/universal/info.json +++ b/keyboards/foxlab/leaf60/universal/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0002", | 8 | "pid": "0x0002", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "E6", | 16 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/foxlab/time80/config.h b/keyboards/foxlab/time80/config.h index f6788c28bc..4c41ecf073 100644 --- a/keyboards/foxlab/time80/config.h +++ b/keyboards/foxlab/time80/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL */ | 25 | /* COL2ROW, ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | |||
| 30 | #define RGBLED_NUM 16 | 28 | #define RGBLED_NUM 16 |
| 31 | //#define RGBLIGHT_HUE_STEP 8 | 29 | //#define RGBLIGHT_HUE_STEP 8 |
| 32 | //#define RGBLIGHT_SAT_STEP 8 | 30 | //#define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/foxlab/time80/info.json b/keyboards/foxlab/time80/info.json index 7b8d4603c6..f59a287de2 100644 --- a/keyboards/foxlab/time80/info.json +++ b/keyboards/foxlab/time80/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0005", | 8 | "pid": "0x0005", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32a", | 14 | "processor": "atmega32a", |
| 12 | "bootloader": "bootloadhid", | 15 | "bootloader": "bootloadhid", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/foxlab/time_re/hotswap/config.h b/keyboards/foxlab/time_re/hotswap/config.h index 357f5accaf..9a8820cfd9 100644 --- a/keyboards/foxlab/time_re/hotswap/config.h +++ b/keyboards/foxlab/time_re/hotswap/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | |||
| 38 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 39 | 37 | ||
| 40 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/foxlab/time_re/hotswap/info.json b/keyboards/foxlab/time_re/hotswap/info.json index 35eeafd2e9..e955aaf4da 100644 --- a/keyboards/foxlab/time_re/hotswap/info.json +++ b/keyboards/foxlab/time_re/hotswap/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0006", | 8 | "pid": "0x0006", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "E6", | 15 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 16 | "on_state": 0 |
diff --git a/keyboards/foxlab/time_re/universal/config.h b/keyboards/foxlab/time_re/universal/config.h index 357f5accaf..9a8820cfd9 100644 --- a/keyboards/foxlab/time_re/universal/config.h +++ b/keyboards/foxlab/time_re/universal/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | |||
| 38 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 39 | 37 | ||
| 40 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/foxlab/time_re/universal/info.json b/keyboards/foxlab/time_re/universal/info.json index 35eeafd2e9..e955aaf4da 100644 --- a/keyboards/foxlab/time_re/universal/info.json +++ b/keyboards/foxlab/time_re/universal/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0006", | 8 | "pid": "0x0006", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "E6", | 15 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 16 | "on_state": 0 |
diff --git a/keyboards/ft/mars65/config.h b/keyboards/ft/mars65/config.h index 916b7bbbf7..53f33428df 100644 --- a/keyboards/ft/mars65/config.h +++ b/keyboards/ft/mars65/config.h | |||
| @@ -19,8 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #define DIODE_DIRECTION COL2ROW | 20 | #define DIODE_DIRECTION COL2ROW |
| 21 | 21 | ||
| 22 | #define BACKLIGHT_PIN B7 | ||
| 23 | |||
| 24 | #define RGB_DI_PIN E6 | 22 | #define RGB_DI_PIN E6 |
| 25 | #ifdef RGB_DI_PIN | 23 | #ifdef RGB_DI_PIN |
| 26 | #define RGBLED_NUM 24 | 24 | #define RGBLED_NUM 24 |
diff --git a/keyboards/ft/mars65/info.json b/keyboards/ft/mars65/info.json index c8ce0864cc..1d1dd840d9 100644 --- a/keyboards/ft/mars65/info.json +++ b/keyboards/ft/mars65/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422F", | 8 | "pid": "0x422F", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"], | 16 | "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"], |
diff --git a/keyboards/ft/mars80/config.h b/keyboards/ft/mars80/config.h index 3b84e918ce..727718e396 100644 --- a/keyboards/ft/mars80/config.h +++ b/keyboards/ft/mars80/config.h | |||
| @@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | 26 | ||
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN D4 | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ft/mars80/info.json b/keyboards/ft/mars80/info.json index 1ad63c0aaa..ff451d8bcf 100644 --- a/keyboards/ft/mars80/info.json +++ b/keyboards/ft/mars80/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "scroll_lock": "D6" | 16 | "scroll_lock": "D6" |
diff --git a/keyboards/geonworks/frogmini/fms/config.h b/keyboards/geonworks/frogmini/fms/config.h index 04850ba9e8..ad9c202933 100644 --- a/keyboards/geonworks/frogmini/fms/config.h +++ b/keyboards/geonworks/frogmini/fms/config.h | |||
| @@ -25,11 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN A10 | ||
| 29 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 28 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 30 | #define BACKLIGHT_PWM_CHANNEL 3 | 29 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 31 | #define BACKLIGHT_PAL_MODE 1 | 30 | #define BACKLIGHT_PAL_MODE 1 |
| 32 | #define BACKLIGHT_LEVELS 20 | ||
| 33 | 31 | ||
| 34 | #define I2C_DRIVER I2CD1 | 32 | #define I2C_DRIVER I2CD1 |
| 35 | #define I2C_SCL_PIN B6 | 33 | #define I2C_SCL_PIN B6 |
diff --git a/keyboards/geonworks/frogmini/fms/info.json b/keyboards/geonworks/frogmini/fms/info.json index 1442ceb8b4..9e51f9226f 100644 --- a/keyboards/geonworks/frogmini/fms/info.json +++ b/keyboards/geonworks/frogmini/fms/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x2D33", | 8 | "pid": "0x2D33", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A10", | ||
| 13 | "levels": 20 | ||
| 14 | }, | ||
| 11 | "processor": "STM32F401", | 15 | "processor": "STM32F401", |
| 12 | "bootloader": "stm32-dfu", | 16 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/geonworks/frogmini/fms/rules.mk b/keyboards/geonworks/frogmini/fms/rules.mk index 82ca995e25..d847becc1a 100644 --- a/keyboards/geonworks/frogmini/fms/rules.mk +++ b/keyboards/geonworks/frogmini/fms/rules.mk | |||
| @@ -13,7 +13,6 @@ LTO_ENABLE = no | |||
| 13 | ENCODER_ENABLE = no | 13 | ENCODER_ENABLE = no |
| 14 | 14 | ||
| 15 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 15 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 16 | BACKLIGHT_DRIVER = pwm | ||
| 17 | 16 | ||
| 18 | EEPROM_DRIVER = i2c | 17 | EEPROM_DRIVER = i2c |
| 19 | 18 | ||
diff --git a/keyboards/gh60/satan/config.h b/keyboards/gh60/satan/config.h index ed2951e789..ce76bc8233 100644 --- a/keyboards/gh60/satan/config.h +++ b/keyboards/gh60/satan/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | 23 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } |
| 24 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3 } | 24 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3 } |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B6 | ||
| 27 | |||
| 28 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 29 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 30 | 28 | ||
| @@ -33,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 34 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 35 | 33 | ||
| 36 | /* Backlight configuration | ||
| 37 | */ | ||
| 38 | #define BACKLIGHT_LEVELS 4 | ||
| 39 | |||
| 40 | /* Underglow configuration | 34 | /* Underglow configuration |
| 41 | */ | 35 | */ |
| 42 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
diff --git a/keyboards/gh60/satan/info.json b/keyboards/gh60/satan/info.json index 3a64d5a6ff..88a09cb3f6 100644 --- a/keyboards/gh60/satan/info.json +++ b/keyboards/gh60/satan/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0002", | 8 | "pid": "0x0002", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/gh60/v1p3/config.h b/keyboards/gh60/v1p3/config.h index ef67180b74..a7d7231e25 100644 --- a/keyboards/gh60/v1p3/config.h +++ b/keyboards/gh60/v1p3/config.h | |||
| @@ -33,9 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B6 | ||
| 37 | #define BACKLIGHT_LEVELS 15 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN F0 | 36 | #define RGB_DI_PIN F0 |
| 40 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLED_NUM 10 | 38 | #define RGBLED_NUM 10 |
diff --git a/keyboards/gh60/v1p3/info.json b/keyboards/gh60/v1p3/info.json index 052446ea42..4806535fd0 100644 --- a/keyboards/gh60/v1p3/info.json +++ b/keyboards/gh60/v1p3/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 15 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_ansi_arrow", "60_ansi_tsangan", "60_hhkb", "64_ansi"], | 17 | "community_layouts": ["60_ansi", "60_ansi_arrow", "60_ansi_tsangan", "60_hhkb", "64_ansi"], |
diff --git a/keyboards/gon/nerd60/config.h b/keyboards/gon/nerd60/config.h index bcce53200f..c3762c6388 100644 --- a/keyboards/gon/nerd60/config.h +++ b/keyboards/gon/nerd60/config.h | |||
| @@ -1,9 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | |||
| 4 | /* backlight */ | ||
| 5 | #define BACKLIGHT_PIN B7 | ||
| 6 | |||
| 7 | /* matrix pins */ | 3 | /* matrix pins */ |
| 8 | #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 } | 4 | #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 } |
| 9 | #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5 } | 5 | #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5 } |
diff --git a/keyboards/gon/nerd60/info.json b/keyboards/gon/nerd60/info.json index 1bd845764e..097d4d45c0 100644 --- a/keyboards/gon/nerd60/info.json +++ b/keyboards/gon/nerd60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3630", | 8 | "pid": "0x3630", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "bootmagic": { | 14 | "bootmagic": { |
| 12 | "matrix": [8, 0] | 15 | "matrix": [8, 0] |
| 13 | }, | 16 | }, |
diff --git a/keyboards/gon/nerdtkl/config.h b/keyboards/gon/nerdtkl/config.h index 29bbb513a6..8db20474be 100644 --- a/keyboards/gon/nerdtkl/config.h +++ b/keyboards/gon/nerdtkl/config.h | |||
| @@ -1,9 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | |||
| 4 | /* backlight */ | ||
| 5 | #define BACKLIGHT_PIN B7 | ||
| 6 | |||
| 7 | /* matrix pins */ | 3 | /* matrix pins */ |
| 8 | #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 } | 4 | #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 } |
| 9 | #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5, D1 } | 5 | #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5, D1 } |
diff --git a/keyboards/gon/nerdtkl/info.json b/keyboards/gon/nerdtkl/info.json index 2381b25d7c..f9e38f0c89 100644 --- a/keyboards/gon/nerdtkl/info.json +++ b/keyboards/gon/nerdtkl/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5244", | 8 | "pid": "0x5244", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "bootmagic": { | 14 | "bootmagic": { |
| 12 | "matrix": [8, 0] | 15 | "matrix": [8, 0] |
| 13 | }, | 16 | }, |
diff --git a/keyboards/gray_studio/cod67/config.h b/keyboards/gray_studio/cod67/config.h index 6bb36a7bff..64b58911e3 100644 --- a/keyboards/gray_studio/cod67/config.h +++ b/keyboards/gray_studio/cod67/config.h | |||
| @@ -34,11 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | /* D4 is not a PWM pin, but look at timer assisted software PWM if you want something other than toggle | ||
| 38 | * https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation | ||
| 39 | */ | ||
| 40 | #define BACKLIGHT_PIN D4 | ||
| 41 | |||
| 42 | #define RGB_DI_PIN B2 | 37 | #define RGB_DI_PIN B2 |
| 43 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 44 | #define RGBLED_NUM 20 | 39 | #define RGBLED_NUM 20 |
diff --git a/keyboards/gray_studio/cod67/info.json b/keyboards/gray_studio/cod67/info.json index d9d50c9d27..2f8a81d08e 100644 --- a/keyboards/gray_studio/cod67/info.json +++ b/keyboards/gray_studio/cod67/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "D4", | ||
| 12 | "on_state": 0 | 13 | "on_state": 0 |
| 13 | }, | 14 | }, |
| 14 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
diff --git a/keyboards/gray_studio/hb85/config.h b/keyboards/gray_studio/hb85/config.h index 200728d68f..20dbdb3f50 100644 --- a/keyboards/gray_studio/hb85/config.h +++ b/keyboards/gray_studio/hb85/config.h | |||
| @@ -32,5 +32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | |||
| 36 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/gray_studio/hb85/info.json b/keyboards/gray_studio/hb85/info.json index 84ce359d80..a8b7641a0b 100644 --- a/keyboards/gray_studio/hb85/info.json +++ b/keyboards/gray_studio/hb85/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x2000", | 8 | "pid": "0x2000", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/gray_studio/space65/config.h b/keyboards/gray_studio/space65/config.h index f8b8370b2b..17a91e8e47 100644 --- a/keyboards/gray_studio/space65/config.h +++ b/keyboards/gray_studio/space65/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 6 | 39 | #define RGBLED_NUM 6 |
diff --git a/keyboards/gray_studio/space65/info.json b/keyboards/gray_studio/space65/info.json index 42af34add6..0689443af5 100644 --- a/keyboards/gray_studio/space65/info.json +++ b/keyboards/gray_studio/space65/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x3000", | 8 | "pid": "0x3000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "E6", | 17 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/handwired/aek64/config.h b/keyboards/handwired/aek64/config.h index 886b616c35..e847297296 100644 --- a/keyboards/handwired/aek64/config.h +++ b/keyboards/handwired/aek64/config.h | |||
| @@ -32,7 +32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | 32 | ||
| 33 | /* Enable double tab */ | 33 | /* Enable double tab */ |
| 34 | #define TAPPING_TERM 175 | 34 | #define TAPPING_TERM 175 |
| 35 | |||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
| 38 | #define BACKLIGHT_LEVELS 5 | ||
diff --git a/keyboards/handwired/aek64/info.json b/keyboards/handwired/aek64/info.json index 42349632e2..471208ca41 100644 --- a/keyboards/handwired/aek64/info.json +++ b/keyboards/handwired/aek64/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6464", | 8 | "pid": "0x6464", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "at90usb1286", | 16 | "processor": "at90usb1286", |
| 12 | "bootloader": "halfkay", | 17 | "bootloader": "halfkay", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/handwired/arrow_pad/config.h b/keyboards/handwired/arrow_pad/config.h index 9506696646..6861311460 100644 --- a/keyboards/handwired/arrow_pad/config.h +++ b/keyboards/handwired/arrow_pad/config.h | |||
| @@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 } | 31 | #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 } |
| 32 | #define MATRIX_COL_PINS { B0, B1, B2, B3 } | 32 | #define MATRIX_COL_PINS { B0, B1, B2, B3 } |
| 33 | 33 | ||
| 34 | #define BACKLIGHT_PIN B7 | ||
| 35 | |||
| 36 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 37 | #define DIODE_DIRECTION ROW2COL | 35 | #define DIODE_DIRECTION ROW2COL |
| 38 | 36 | ||
diff --git a/keyboards/handwired/arrow_pad/info.json b/keyboards/handwired/arrow_pad/info.json index 9adac5b74d..8451637df5 100644 --- a/keyboards/handwired/arrow_pad/info.json +++ b/keyboards/handwired/arrow_pad/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4096", | 8 | "pid": "0x4096", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "halfkay", | 15 | "bootloader": "halfkay", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/handwired/bdn9_ble/config.h b/keyboards/handwired/bdn9_ble/config.h index 2dc8bb5327..3ed1c2ed30 100644 --- a/keyboards/handwired/bdn9_ble/config.h +++ b/keyboards/handwired/bdn9_ble/config.h | |||
| @@ -17,9 +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_PIN F6 | ||
| 21 | #define BACKLIGHT_LEVELS 5 | ||
| 22 | |||
| 23 | /* 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 */ |
| 24 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 25 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/handwired/bdn9_ble/info.json b/keyboards/handwired/bdn9_ble/info.json index 303e26ba05..4e218e1dd8 100644 --- a/keyboards/handwired/bdn9_ble/info.json +++ b/keyboards/handwired/bdn9_ble/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1134", | 8 | "pid": "0x1134", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "F6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "matrix_pins": { | 17 | "matrix_pins": { |
diff --git a/keyboards/handwired/chiron/config.h b/keyboards/handwired/chiron/config.h index 578d13a472..d881fecbaa 100644 --- a/keyboards/handwired/chiron/config.h +++ b/keyboards/handwired/chiron/config.h | |||
| @@ -34,7 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | 34 | ||
| 35 | #define RGB_DI_PIN D3 | 35 | #define RGB_DI_PIN D3 |
| 36 | #define RGBLED_NUM 4 | 36 | #define RGBLED_NUM 4 |
| 37 | |||
| 38 | #define BACKLIGHT_PIN B6 | ||
| 39 | #define BACKLIGHT_LEVELS 7 | ||
| 40 | |||
diff --git a/keyboards/handwired/chiron/info.json b/keyboards/handwired/chiron/info.json index 6cf49275a7..b1590d8ded 100644 --- a/keyboards/handwired/chiron/info.json +++ b/keyboards/handwired/chiron/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 7 | ||
| 14 | }, | ||
| 11 | "split": { | 15 | "split": { |
| 12 | "soft_serial_pin": "D0" | 16 | "soft_serial_pin": "D0" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/handwired/co60/rev1/config.h b/keyboards/handwired/co60/rev1/config.h index 4d58091ef8..c42a0d5b0c 100644 --- a/keyboards/handwired/co60/rev1/config.h +++ b/keyboards/handwired/co60/rev1/config.h | |||
| @@ -34,11 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #ifdef __AVR__ | ||
| 38 | #define BACKLIGHT_PIN B7 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #endif | ||
| 41 | |||
| 42 | /* | 37 | /* |
| 43 | * Feature disable options | 38 | * Feature disable options |
| 44 | * These options are also useful to firmware size reduction. | 39 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/handwired/co60/rev1/info.json b/keyboards/handwired/co60/rev1/info.json index d48f322f87..05a7a3a336 100644 --- a/keyboards/handwired/co60/rev1/info.json +++ b/keyboards/handwired/co60/rev1/info.json | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "1.0.0" | 4 | "device_version": "1.0.0" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "B7", | ||
| 8 | "breathing": true | ||
| 9 | }, | ||
| 6 | "processor": "atmega32u4", | 10 | "processor": "atmega32u4", |
| 7 | "bootloader": "atmel-dfu" | 11 | "bootloader": "atmel-dfu" |
| 8 | } | 12 | } |
diff --git a/keyboards/handwired/co60/rev6/config.h b/keyboards/handwired/co60/rev6/config.h index aa7079f247..6f938b06b7 100644 --- a/keyboards/handwired/co60/rev6/config.h +++ b/keyboards/handwired/co60/rev6/config.h | |||
| @@ -29,9 +29,3 @@ | |||
| 29 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 30 | /* Locking resynchronize hack */ | 30 | /* Locking resynchronize hack */ |
| 31 | #define LOCKING_RESYNC_ENABLE | 31 | #define LOCKING_RESYNC_ENABLE |
| 32 | |||
| 33 | /* Backlight configuration | ||
| 34 | * Backlight LEDs on B8 | ||
| 35 | */ | ||
| 36 | #define BACKLIGHT_PIN B8 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
diff --git a/keyboards/handwired/co60/rev6/info.json b/keyboards/handwired/co60/rev6/info.json index 48bc08982b..a189309496 100644 --- a/keyboards/handwired/co60/rev6/info.json +++ b/keyboards/handwired/co60/rev6/info.json | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "6.0.0" | 4 | "device_version": "6.0.0" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "B8", | ||
| 8 | "breathing": true | ||
| 9 | }, | ||
| 6 | "processor": "STM32F303", | 10 | "processor": "STM32F303", |
| 7 | "bootloader": "stm32-dfu", | 11 | "bootloader": "stm32-dfu", |
| 8 | "board": "QMK_PROTON_C" | 12 | "board": "QMK_PROTON_C" |
diff --git a/keyboards/handwired/co60/rev7/config.h b/keyboards/handwired/co60/rev7/config.h index 19ddb6be2c..6647698dfb 100644 --- a/keyboards/handwired/co60/rev7/config.h +++ b/keyboards/handwired/co60/rev7/config.h | |||
| @@ -31,12 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 32 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 33 | 33 | ||
| 34 | /* Backlight configuration | ||
| 35 | * Backlight LEDs on B8 | ||
| 36 | */ | ||
| 37 | #define BACKLIGHT_PIN B8 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* RGB underglow configuration */ | 34 | /* RGB underglow configuration */ |
| 41 | #define WS2812_SPI SPID1 | 35 | #define WS2812_SPI SPID1 |
| 42 | #define WS2812_SPI_MOSI_PAL_MODE 5 | 36 | #define WS2812_SPI_MOSI_PAL_MODE 5 |
diff --git a/keyboards/handwired/co60/rev7/info.json b/keyboards/handwired/co60/rev7/info.json index 1c2c38f0fe..67d54fb0fb 100644 --- a/keyboards/handwired/co60/rev7/info.json +++ b/keyboards/handwired/co60/rev7/info.json | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "7.0.0" | 4 | "device_version": "7.0.0" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "B8", | ||
| 8 | "breathing": true | ||
| 9 | }, | ||
| 6 | "processor": "STM32F303", | 10 | "processor": "STM32F303", |
| 7 | "bootloader": "stm32-dfu", | 11 | "bootloader": "stm32-dfu", |
| 8 | "board": "QMK_PROTON_C" | 12 | "board": "QMK_PROTON_C" |
diff --git a/keyboards/handwired/hacked_motospeed/config.h b/keyboards/handwired/hacked_motospeed/config.h index e5c60800af..2f3caa2b2f 100644 --- a/keyboards/handwired/hacked_motospeed/config.h +++ b/keyboards/handwired/hacked_motospeed/config.h | |||
| @@ -38,8 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | /* COL2ROW, ROW2COL*/ | 38 | /* COL2ROW, ROW2COL*/ |
| 39 | #define DIODE_DIRECTION COL2ROW | 39 | #define DIODE_DIRECTION COL2ROW |
| 40 | 40 | ||
| 41 | #define BACKLIGHT_PIN B7 | ||
| 42 | |||
| 43 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 41 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 44 | #define MATRIX_HAS_GHOST | 42 | #define MATRIX_HAS_GHOST |
| 45 | 43 | ||
diff --git a/keyboards/handwired/hacked_motospeed/info.json b/keyboards/handwired/hacked_motospeed/info.json index e0c8c42566..57b66e3bdf 100644 --- a/keyboards/handwired/hacked_motospeed/info.json +++ b/keyboards/handwired/hacked_motospeed/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0690", | 8 | "pid": "0x0690", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "at90usb1286", | 14 | "processor": "at90usb1286", |
| 12 | "bootloader": "halfkay", | 15 | "bootloader": "halfkay", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/handwired/hnah108/config.h b/keyboards/handwired/hnah108/config.h index 13367a2577..a942bd253d 100644 --- a/keyboards/handwired/hnah108/config.h +++ b/keyboards/handwired/hnah108/config.h | |||
| @@ -37,10 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define ENCODERS_PAD_A { B2 } | 37 | #define ENCODERS_PAD_A { B2 } |
| 38 | #define ENCODERS_PAD_B { B3 } | 38 | #define ENCODERS_PAD_B { B3 } |
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN B7 | ||
| 41 | #define BACKLIGHT_BREATHING | ||
| 42 | #define BACKLIGHT_LEVELS 4 | ||
| 43 | |||
| 44 | #define RGB_DI_PIN E2 | 40 | #define RGB_DI_PIN E2 |
| 45 | #define RGB_MATRIX_LED_COUNT 30 | 41 | #define RGB_MATRIX_LED_COUNT 30 |
| 46 | // RGB Matrix Animation modes. Explicitly enabled | 42 | // RGB Matrix Animation modes. Explicitly enabled |
diff --git a/keyboards/handwired/hnah108/info.json b/keyboards/handwired/hnah108/info.json index 257fcf279c..c9dcc020cc 100644 --- a/keyboards/handwired/hnah108/info.json +++ b/keyboards/handwired/hnah108/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/handwired/jot50/config.h b/keyboards/handwired/jot50/config.h index 7f9a8c5ab6..4cb70762fb 100644 --- a/keyboards/handwired/jot50/config.h +++ b/keyboards/handwired/jot50/config.h | |||
| @@ -5,10 +5,6 @@ | |||
| 5 | #define MATRIX_ROW_PINS { D7, E6, B4, B6, B2 } | 5 | #define MATRIX_ROW_PINS { D7, E6, B4, B6, B2 } |
| 6 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 } | 6 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 } |
| 7 | 7 | ||
| 8 | /* leds */ | ||
| 9 | #define BACKLIGHT_PIN B5 | ||
| 10 | #define BACKLIGHT_BREATHING | ||
| 11 | |||
| 12 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 13 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 14 | 10 | ||
diff --git a/keyboards/handwired/jot50/info.json b/keyboards/handwired/jot50/info.json index db08eef195..1bcf932946 100644 --- a/keyboards/handwired/jot50/info.json +++ b/keyboards/handwired/jot50/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "community_layouts": ["ortho_5x12"], | 17 | "community_layouts": ["ortho_5x12"], |
diff --git a/keyboards/handwired/nozbe_macro/config.h b/keyboards/handwired/nozbe_macro/config.h index 7e54b2636f..66b0bf2b75 100644 --- a/keyboards/handwired/nozbe_macro/config.h +++ b/keyboards/handwired/nozbe_macro/config.h | |||
| @@ -27,8 +27,6 @@ | |||
| 27 | /* COL2ROW or ROW2COL */ | 27 | /* COL2ROW or ROW2COL */ |
| 28 | #define DIODE_DIRECTION COL2ROW | 28 | #define DIODE_DIRECTION COL2ROW |
| 29 | 29 | ||
| 30 | #define BACKLIGHT_PIN B5 | ||
| 31 | |||
| 32 | /* 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 */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 31 | #define LOCKING_SUPPORT_ENABLE |
| 34 | 32 | ||
diff --git a/keyboards/handwired/nozbe_macro/info.json b/keyboards/handwired/nozbe_macro/info.json index 27b088958b..162b3a6803 100644 --- a/keyboards/handwired/nozbe_macro/info.json +++ b/keyboards/handwired/nozbe_macro/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 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/handwired/pill60/config.h b/keyboards/handwired/pill60/config.h index 1544eb0e19..d374143192 100644 --- a/keyboards/handwired/pill60/config.h +++ b/keyboards/handwired/pill60/config.h | |||
| @@ -18,11 +18,8 @@ | |||
| 18 | 18 | ||
| 19 | #define DIODE_DIRECTION COL2ROW | 19 | #define DIODE_DIRECTION COL2ROW |
| 20 | 20 | ||
| 21 | /* Backlighting include */ | ||
| 22 | #define BACKLIGHT_PIN B14 | ||
| 23 | #define BACKLIGHT_PWM_DRIVER PWMD5 | 21 | #define BACKLIGHT_PWM_DRIVER PWMD5 |
| 24 | #define BACKLIGHT_PWM_CHANNEL 1 | 22 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 25 | #define BACKLIGHT_LEVELS 5 | ||
| 26 | 23 | ||
| 27 | /* Encoder */ | 24 | /* Encoder */ |
| 28 | #define ENCODERS_PAD_A \ | 25 | #define ENCODERS_PAD_A \ |
diff --git a/keyboards/handwired/pill60/info.json b/keyboards/handwired/pill60/info.json index bc92cf7585..891196f87b 100644 --- a/keyboards/handwired/pill60/info.json +++ b/keyboards/handwired/pill60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x5444", | 8 | "pid": "0x5444", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "software", | ||
| 13 | "pin": "B14", | ||
| 14 | "levels": 5 | ||
| 15 | }, | ||
| 11 | "debounce": 1, | 16 | "debounce": 1, |
| 12 | "layouts": { | 17 | "layouts": { |
| 13 | "LAYOUT": { | 18 | "LAYOUT": { |
diff --git a/keyboards/handwired/pill60/rules.mk b/keyboards/handwired/pill60/rules.mk index 57681a7cda..f8bae6b6df 100644 --- a/keyboards/handwired/pill60/rules.mk +++ b/keyboards/handwired/pill60/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = software | ||
| 12 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | SLEEP_LED_ENABLE = yes | 13 | SLEEP_LED_ENABLE = yes |
diff --git a/keyboards/handwired/prime_exl/config.h b/keyboards/handwired/prime_exl/config.h index b08731f0a2..c4d0c8a8a2 100644 --- a/keyboards/handwired/prime_exl/config.h +++ b/keyboards/handwired/prime_exl/config.h | |||
| @@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL*/ | 25 | /* COL2ROW, ROW2COL*/ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | #define BACKLIGHT_LEVELS 5 | ||
| 30 | |||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 33 | /* Locking resynchronize hack */ | 30 | /* Locking resynchronize hack */ |
diff --git a/keyboards/handwired/prime_exl/info.json b/keyboards/handwired/prime_exl/info.json index d8949ec389..e1a3955d5d 100644 --- a/keyboards/handwired/prime_exl/info.json +++ b/keyboards/handwired/prime_exl/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6578", | 8 | "pid": "0x6578", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/handwired/riblee_f401/config.h b/keyboards/handwired/riblee_f401/config.h index 886c1f7fc7..2cee851436 100644 --- a/keyboards/handwired/riblee_f401/config.h +++ b/keyboards/handwired/riblee_f401/config.h | |||
| @@ -22,9 +22,6 @@ | |||
| 22 | 22 | ||
| 23 | #define DIODE_DIRECTION COL2ROW | 23 | #define DIODE_DIRECTION COL2ROW |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN A0 | ||
| 26 | #define BACKLIGHT_LEVELS 5 | ||
| 27 | |||
| 28 | #define MOUSEKEY_INTERVAL 32 | 25 | #define MOUSEKEY_INTERVAL 32 |
| 29 | 26 | ||
| 30 | #define TAPPING_TERM 175 \ No newline at end of file | 27 | #define TAPPING_TERM 175 \ No newline at end of file |
diff --git a/keyboards/handwired/riblee_f401/info.json b/keyboards/handwired/riblee_f401/info.json index ec9c7631af..94cc2c35f2 100644 --- a/keyboards/handwired/riblee_f401/info.json +++ b/keyboards/handwired/riblee_f401/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x002A", | 8 | "pid": "0x002A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "software", | ||
| 13 | "pin": "A0", | ||
| 14 | "levels": 5 | ||
| 15 | }, | ||
| 11 | "processor": "STM32F401", | 16 | "processor": "STM32F401", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "board": "BLACKPILL_STM32_F401", | 18 | "board": "BLACKPILL_STM32_F401", |
diff --git a/keyboards/handwired/riblee_f401/rules.mk b/keyboards/handwired/riblee_f401/rules.mk index 6f9a638f4b..4c2d255a18 100644 --- a/keyboards/handwired/riblee_f401/rules.mk +++ b/keyboards/handwired/riblee_f401/rules.mk | |||
| @@ -9,6 +9,5 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 9 | COMMAND_ENABLE = no # Commands for debug and configuration | 9 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 10 | NKRO_ENABLE = yes # Enable N-Key Rollover | 10 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 11 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 11 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 12 | BACKLIGHT_DRIVER = software | ||
| 13 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 12 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 14 | AUDIO_ENABLE = no # Audio output | 13 | AUDIO_ENABLE = no # Audio output |
diff --git a/keyboards/handwired/steamvan/rev1/config.h b/keyboards/handwired/steamvan/rev1/config.h index a953888dc8..b52e370419 100644 --- a/keyboards/handwired/steamvan/rev1/config.h +++ b/keyboards/handwired/steamvan/rev1/config.h | |||
| @@ -31,12 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 32 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 33 | 33 | ||
| 34 | /* Backlight configuration | ||
| 35 | * Backlight LEDs on B8 | ||
| 36 | */ | ||
| 37 | #define BACKLIGHT_PIN B8 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define WS2812_SPI SPID1 | 34 | #define WS2812_SPI SPID1 |
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 5 | 35 | #define WS2812_SPI_MOSI_PAL_MODE 5 |
| 42 | 36 | ||
diff --git a/keyboards/handwired/steamvan/rev1/info.json b/keyboards/handwired/steamvan/rev1/info.json index ddadbcb97c..ed10d8005b 100644 --- a/keyboards/handwired/steamvan/rev1/info.json +++ b/keyboards/handwired/steamvan/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B8", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "STM32F303", | 15 | "processor": "STM32F303", |
| 12 | "bootloader": "stm32-dfu", | 16 | "bootloader": "stm32-dfu", |
| 13 | "board": "QMK_PROTON_C", | 17 | "board": "QMK_PROTON_C", |
diff --git a/keyboards/handwired/tritium_numpad/config.h b/keyboards/handwired/tritium_numpad/config.h index 21e3abe491..5782f0e058 100644 --- a/keyboards/handwired/tritium_numpad/config.h +++ b/keyboards/handwired/tritium_numpad/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6 } | 23 | #define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6 } |
| 24 | #define MATRIX_COL_PINS { F4, F6, B1, B2 } | 24 | #define MATRIX_COL_PINS { F4, F6, B1, B2 } |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B6 | ||
| 27 | |||
| 28 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 29 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 30 | 28 | ||
| @@ -33,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 34 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 35 | 33 | ||
| 36 | /* Backlight configuration | ||
| 37 | */ | ||
| 38 | #define BACKLIGHT_LEVELS 4 | ||
| 39 | |||
| 40 | /* Underlight configuration | 34 | /* Underlight configuration |
| 41 | */ | 35 | */ |
| 42 | 36 | ||
diff --git a/keyboards/handwired/tritium_numpad/info.json b/keyboards/handwired/tritium_numpad/info.json index 8dc967df96..b2ca85264e 100644 --- a/keyboards/handwired/tritium_numpad/info.json +++ b/keyboards/handwired/tritium_numpad/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "num_lock": "D5", | 16 | "num_lock": "D5", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/heliar/wm1_hotswap/config.h b/keyboards/heliar/wm1_hotswap/config.h index e9ddfdcae8..410d9732ef 100644 --- a/keyboards/heliar/wm1_hotswap/config.h +++ b/keyboards/heliar/wm1_hotswap/config.h | |||
| @@ -31,5 +31,3 @@ | |||
| 31 | #define MATRIX_COL_PINS { D2, B0, B1, B2, D1, D0, C7, C6, B6, B5, B4, F4, F5, F6, F1 } | 31 | #define MATRIX_COL_PINS { D2, B0, B1, B2, D1, D0, C7, C6, B6, B5, B4, F4, F5, F6, F1 } |
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | |||
| 35 | #define BACKLIGHT_PIN B7 | ||
diff --git a/keyboards/heliar/wm1_hotswap/info.json b/keyboards/heliar/wm1_hotswap/info.json index c6dda77a58..361325953d 100644 --- a/keyboards/heliar/wm1_hotswap/info.json +++ b/keyboards/heliar/wm1_hotswap/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xD070", | 8 | "pid": "0xD070", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/hineybush/h10/config.h b/keyboards/hineybush/h10/config.h index 13cc31550e..2fc1c25eb6 100644 --- a/keyboards/hineybush/h10/config.h +++ b/keyboards/hineybush/h10/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/hineybush/h10/info.json b/keyboards/hineybush/h10/info.json index d62ce90c6a..e59ba7f3e4 100644 --- a/keyboards/hineybush/h10/info.json +++ b/keyboards/hineybush/h10/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xEBD8", | 8 | "pid": "0xEBD8", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_6x4", "numpad_6x4"], | 17 | "community_layouts": ["ortho_6x4", "numpad_6x4"], |
diff --git a/keyboards/hineybush/h60/config.h b/keyboards/hineybush/h60/config.h index 231ad9cbc3..ca8f344793 100644 --- a/keyboards/hineybush/h60/config.h +++ b/keyboards/hineybush/h60/config.h | |||
| @@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW, ROW2COL*/ | 24 | /* COL2ROW, ROW2COL*/ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B7 | ||
| 28 | #define BACKLIGHT_LEVELS 12 | ||
| 29 | |||
| 30 | #define RGB_DI_PIN B0 | 27 | #define RGB_DI_PIN B0 |
| 31 | #ifdef RGB_DI_PIN | 28 | #ifdef RGB_DI_PIN |
| 32 | #define RGBLED_NUM 16 | 29 | #define RGBLED_NUM 16 |
diff --git a/keyboards/hineybush/h60/info.json b/keyboards/hineybush/h60/info.json index e4c62971b2..eece82f5f2 100644 --- a/keyboards/hineybush/h60/info.json +++ b/keyboards/hineybush/h60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xEBBE", | 8 | "pid": "0xEBBE", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 12 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_hhkb", "60_tsangan_hhkb"], | 17 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_hhkb", "60_tsangan_hhkb"], |
diff --git a/keyboards/hineybush/h65/config.h b/keyboards/hineybush/h65/config.h index 33c411b32d..925f0498ca 100644 --- a/keyboards/hineybush/h65/config.h +++ b/keyboards/hineybush/h65/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN D2 | 37 | #define RGB_DI_PIN D2 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | # define RGBLED_NUM 17 | 39 | # define RGBLED_NUM 17 |
diff --git a/keyboards/hineybush/h65/info.json b/keyboards/hineybush/h65/info.json index 7a6658bf89..e1bebb560c 100644 --- a/keyboards/hineybush/h65/info.json +++ b/keyboards/hineybush/h65/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xE9E4", | 8 | "pid": "0xE9E4", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "E6" | 16 | "caps_lock": "E6" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/hineybush/h65_hotswap/config.h b/keyboards/hineybush/h65_hotswap/config.h index 33c411b32d..925f0498ca 100644 --- a/keyboards/hineybush/h65_hotswap/config.h +++ b/keyboards/hineybush/h65_hotswap/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN D2 | 37 | #define RGB_DI_PIN D2 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | # define RGBLED_NUM 17 | 39 | # define RGBLED_NUM 17 |
diff --git a/keyboards/hineybush/h65_hotswap/info.json b/keyboards/hineybush/h65_hotswap/info.json index c69a6c1491..9eebb77345 100644 --- a/keyboards/hineybush/h65_hotswap/info.json +++ b/keyboards/hineybush/h65_hotswap/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xE8B7", | 8 | "pid": "0xE8B7", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "E6" | 16 | "caps_lock": "E6" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/hineybush/h660s/config.h b/keyboards/hineybush/h660s/config.h index d96fbfe078..e8e84f1117 100644 --- a/keyboards/hineybush/h660s/config.h +++ b/keyboards/hineybush/h660s/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN B0 | 37 | #define RGB_DI_PIN B0 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | # define RGBLED_NUM 16 | 39 | # define RGBLED_NUM 16 |
diff --git a/keyboards/hineybush/h660s/info.json b/keyboards/hineybush/h660s/info.json index 880f31c923..d773651ee6 100644 --- a/keyboards/hineybush/h660s/info.json +++ b/keyboards/hineybush/h660s/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xEB1B", | 8 | "pid": "0xEB1B", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/hineybush/h75_singa/config.h b/keyboards/hineybush/h75_singa/config.h index 0bfcc3e935..55b920a2b9 100644 --- a/keyboards/hineybush/h75_singa/config.h +++ b/keyboards/hineybush/h75_singa/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | |||
| 38 | #define BACKLIGHT_PIN B7 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | #define RGB_DI_PIN B3 | 37 | #define RGB_DI_PIN B3 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 22 | 39 | #define RGBLED_NUM 22 |
diff --git a/keyboards/hineybush/h75_singa/info.json b/keyboards/hineybush/h75_singa/info.json index 6ca317e720..94e8d256fd 100644 --- a/keyboards/hineybush/h75_singa/info.json +++ b/keyboards/hineybush/h75_singa/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xEC9A", | 8 | "pid": "0xEC9A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/hineybush/h87a/config.h b/keyboards/hineybush/h87a/config.h index 217f69a296..f267f09020 100644 --- a/keyboards/hineybush/h87a/config.h +++ b/keyboards/hineybush/h87a/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | |||
| 38 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 36 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 39 | #define LOCKING_SUPPORT_ENABLE | 37 | #define LOCKING_SUPPORT_ENABLE |
| 40 | /* Locking resynchronize hack */ | 38 | /* Locking resynchronize hack */ |
diff --git a/keyboards/hineybush/h87a/info.json b/keyboards/hineybush/h87a/info.json index c24e1082dc..db1fd91d13 100644 --- a/keyboards/hineybush/h87a/info.json +++ b/keyboards/hineybush/h87a/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xECE9", | 8 | "pid": "0xECE9", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/hineybush/h88/config.h b/keyboards/hineybush/h88/config.h index 7d245ed294..9a75238cb3 100644 --- a/keyboards/hineybush/h88/config.h +++ b/keyboards/hineybush/h88/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/hineybush/h88/info.json b/keyboards/hineybush/h88/info.json index c011d100ae..bd362c74b5 100644 --- a/keyboards/hineybush/h88/info.json +++ b/keyboards/hineybush/h88/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xECA2", | 8 | "pid": "0xECA2", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/hineybush/hbcp/config.h b/keyboards/hineybush/hbcp/config.h index 6fbd5c2580..e0eed7f414 100644 --- a/keyboards/hineybush/hbcp/config.h +++ b/keyboards/hineybush/hbcp/config.h | |||
| @@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | //EITHERWAY is supported through a custom matrix | 38 | //EITHERWAY is supported through a custom matrix |
| 39 | //#define DIODE_DIRECTION EITHERWAY | 39 | //#define DIODE_DIRECTION EITHERWAY |
| 40 | 40 | ||
| 41 | #define BACKLIGHT_PIN B7 | ||
| 42 | #define BACKLIGHT_BREATHING | ||
| 43 | |||
| 44 | #define RGB_DI_PIN B0 | 41 | #define RGB_DI_PIN B0 |
| 45 | #ifdef RGB_DI_PIN | 42 | #ifdef RGB_DI_PIN |
| 46 | #define RGBLED_NUM 27 | 43 | #define RGBLED_NUM 27 |
diff --git a/keyboards/hineybush/hbcp/info.json b/keyboards/hineybush/hbcp/info.json index 8e1b8bbbcc..0e31272ed4 100644 --- a/keyboards/hineybush/hbcp/info.json +++ b/keyboards/hineybush/hbcp/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xECE8", | 8 | "pid": "0xECE8", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "at90usb1286", | 15 | "processor": "at90usb1286", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/hineybush/physix/config.h b/keyboards/hineybush/physix/config.h index 8c62417078..ee7b90de23 100644 --- a/keyboards/hineybush/physix/config.h +++ b/keyboards/hineybush/physix/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN E6 | 37 | #define RGB_DI_PIN E6 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLED_NUM 26 | 39 | #define RGBLED_NUM 26 |
diff --git a/keyboards/hineybush/physix/info.json b/keyboards/hineybush/physix/info.json index 828e8fbb4f..b611de62e4 100644 --- a/keyboards/hineybush/physix/info.json +++ b/keyboards/hineybush/physix/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xEC81", | 8 | "pid": "0xEC81", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/hnahkb/freyr/config.h b/keyboards/hnahkb/freyr/config.h index 9a2833ebe7..1903af4ff1 100644 --- a/keyboards/hnahkb/freyr/config.h +++ b/keyboards/hnahkb/freyr/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/hnahkb/freyr/info.json b/keyboards/hnahkb/freyr/info.json index 547aabaade..7c946bd78a 100644 --- a/keyboards/hnahkb/freyr/info.json +++ b/keyboards/hnahkb/freyr/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1895", | 8 | "pid": "0x1895", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B3", | 16 | "caps_lock": "B3", |
| 13 | "scroll_lock": "B7", | 17 | "scroll_lock": "B7", |
diff --git a/keyboards/hnahkb/stella/config.h b/keyboards/hnahkb/stella/config.h index 2a1ea8a0ff..34c3aafab4 100644 --- a/keyboards/hnahkb/stella/config.h +++ b/keyboards/hnahkb/stella/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 41 | #define RGBLED_NUM 14 | 38 | #define RGBLED_NUM 14 |
| 42 | 39 | ||
diff --git a/keyboards/hnahkb/stella/info.json b/keyboards/hnahkb/stella/info.json index 59465e3be9..593dc47771 100644 --- a/keyboards/hnahkb/stella/info.json +++ b/keyboards/hnahkb/stella/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0AB7", | 8 | "pid": "0x0AB7", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B3", | 16 | "caps_lock": "B3", |
| 13 | "scroll_lock": "B7", | 17 | "scroll_lock": "B7", |
diff --git a/keyboards/hnahkb/vn66/config.h b/keyboards/hnahkb/vn66/config.h index 780ed729a3..6388d79320 100644 --- a/keyboards/hnahkb/vn66/config.h +++ b/keyboards/hnahkb/vn66/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_LEVELS 4 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | #define ENCODERS_PAD_A { B0 } | 37 | #define ENCODERS_PAD_A { B0 } |
| 42 | #define ENCODERS_PAD_B { B7 } | 38 | #define ENCODERS_PAD_B { B7 } |
| 43 | #define ENCODER_RESOLUTION 2 | 39 | #define ENCODER_RESOLUTION 2 |
diff --git a/keyboards/hnahkb/vn66/info.json b/keyboards/hnahkb/vn66/info.json index a85d29b644..6a3f12e65e 100644 --- a/keyboards/hnahkb/vn66/info.json +++ b/keyboards/hnahkb/vn66/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xCA2C", | 8 | "pid": "0xCA2C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "E6", | 17 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/config.h b/keyboards/horrortroll/chinese_pcb/black_e65/config.h index f058f17f82..9e040808d2 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/config.h +++ b/keyboards/horrortroll/chinese_pcb/black_e65/config.h | |||
| @@ -27,12 +27,6 @@ | |||
| 27 | /* Forcing to use NKRO instead 6KRO */ | 27 | /* Forcing to use NKRO instead 6KRO */ |
| 28 | #define FORCE_NKRO | 28 | #define FORCE_NKRO |
| 29 | 29 | ||
| 30 | #ifdef BACKLIGHT_ENABLE | ||
| 31 | /* Backlight config */ | ||
| 32 | #define BACKLIGHT_PIN B6 | ||
| 33 | #define BACKLIGHT_LEVELS 6 | ||
| 34 | #endif | ||
| 35 | |||
| 36 | #ifdef RGBLIGHT_ENABLE | 30 | #ifdef RGBLIGHT_ENABLE |
| 37 | /* RGB Lighting config */ | 31 | /* RGB Lighting config */ |
| 38 | #define RGB_DI_PIN E2 | 32 | #define RGB_DI_PIN E2 |
diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/info.json b/keyboards/horrortroll/chinese_pcb/black_e65/info.json index c1927fc3d1..24fae0c08a 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/info.json +++ b/keyboards/horrortroll/chinese_pcb/black_e65/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x7000", | 8 | "pid": "0x7000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "C7" | 16 | "caps_lock": "C7" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/hotdox/config.h b/keyboards/hotdox/config.h index 284f7026e6..ee7b25cf6f 100644 --- a/keyboards/hotdox/config.h +++ b/keyboards/hotdox/config.h | |||
| @@ -29,8 +29,6 @@ | |||
| 29 | ) | 29 | ) |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN B7 | ||
| 33 | |||
| 34 | #define LED_BRIGHTNESS_LO 15 | 32 | #define LED_BRIGHTNESS_LO 15 |
| 35 | #define LED_BRIGHTNESS_HI 255 | 33 | #define LED_BRIGHTNESS_HI 255 |
| 36 | 34 | ||
diff --git a/keyboards/hotdox/info.json b/keyboards/hotdox/info.json index 8a67473fb8..2e2352b7ee 100644 --- a/keyboards/hotdox/info.json +++ b/keyboards/hotdox/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x0001", | 7 | "pid": "0x0001", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B7" | ||
| 12 | }, | ||
| 10 | "processor": "atmega32u4", | 13 | "processor": "atmega32u4", |
| 11 | "bootloader": "atmel-dfu", | 14 | "bootloader": "atmel-dfu", |
| 12 | "community_layouts": ["ergodox"], | 15 | "community_layouts": ["ergodox"], |
diff --git a/keyboards/idobao/id75/v1/config.h b/keyboards/idobao/id75/v1/config.h index 8185c4f3ff..54f0fc0c7c 100644 --- a/keyboards/idobao/id75/v1/config.h +++ b/keyboards/idobao/id75/v1/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN F0 | 37 | #define RGB_DI_PIN F0 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLIGHT_EFFECT_ALTERNATING | 39 | #define RGBLIGHT_EFFECT_ALTERNATING |
diff --git a/keyboards/idobao/id75/v1/info.json b/keyboards/idobao/id75/v1/info.json index 16285f6819..a192072701 100644 --- a/keyboards/idobao/id75/v1/info.json +++ b/keyboards/idobao/id75/v1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0075", | 8 | "pid": "0x0075", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_5x15"], | 17 | "community_layouts": ["ortho_5x15"], |
diff --git a/keyboards/idobao/id80/v2/config.h b/keyboards/idobao/id80/v2/config.h index 960dcbc9be..d3eb71dc92 100644 --- a/keyboards/idobao/id80/v2/config.h +++ b/keyboards/idobao/id80/v2/config.h | |||
| @@ -48,11 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | 48 | ||
| 49 | #define DIODE_DIRECTION COL2ROW | 49 | #define DIODE_DIRECTION COL2ROW |
| 50 | 50 | ||
| 51 | #ifdef BACKLIGHT_ENABLE | ||
| 52 | #define BACKLIGHT_PIN B6 | ||
| 53 | #define BACKLIGHT_BREATHING | ||
| 54 | #endif | ||
| 55 | |||
| 56 | #define RGB_DI_PIN E2 | 51 | #define RGB_DI_PIN E2 |
| 57 | #ifdef RGB_DI_PIN | 52 | #ifdef RGB_DI_PIN |
| 58 | #define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */ | 53 | #define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */ |
diff --git a/keyboards/idobao/id80/v2/info.json b/keyboards/idobao/id80/v2/info.json index 0fd9def9de..89b64f3951 100644 --- a/keyboards/idobao/id80/v2/info.json +++ b/keyboards/idobao/id80/v2/info.json | |||
| @@ -6,6 +6,10 @@ | |||
| 6 | "vid": "0x6964", | 6 | "vid": "0x6964", |
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "B6", | ||
| 11 | "breathing": true | ||
| 12 | }, | ||
| 9 | "indicators": { | 13 | "indicators": { |
| 10 | "caps_lock": "C7", | 14 | "caps_lock": "C7", |
| 11 | "on_state": 0 | 15 | "on_state": 0 |
diff --git a/keyboards/idobao/id87/v1/config.h b/keyboards/idobao/id87/v1/config.h index 2d3348e4e7..2f4ebd7744 100644 --- a/keyboards/idobao/id87/v1/config.h +++ b/keyboards/idobao/id87/v1/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION ROW2COL | 34 | #define DIODE_DIRECTION ROW2COL |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B6 | ||
| 37 | |||
| 38 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 39 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 40 | #define RGBLIGHT_EFFECT_ALTERNATING | 38 | #define RGBLIGHT_EFFECT_ALTERNATING |
diff --git a/keyboards/idobao/id87/v1/info.json b/keyboards/idobao/id87/v1/info.json index 6d96abf860..ca39654575 100644 --- a/keyboards/idobao/id87/v1/info.json +++ b/keyboards/idobao/id87/v1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0087", | 8 | "pid": "0x0087", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "C7" | 15 | "caps_lock": "C7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/idobao/id96/config.h b/keyboards/idobao/id96/config.h index ab5d7513db..7f48dc7752 100644 --- a/keyboards/idobao/id96/config.h +++ b/keyboards/idobao/id96/config.h | |||
| @@ -26,12 +26,6 @@ | |||
| 26 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 27 | #define DIODE_DIRECTION ROW2COL | 27 | #define DIODE_DIRECTION ROW2COL |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN B6 | ||
| 30 | #ifdef BACKLIGHT_PIN | ||
| 31 | #define BACKLIGHT_LEVELS 7 | ||
| 32 | #define BACKLIGHT_BREATHING | ||
| 33 | #endif | ||
| 34 | |||
| 35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 36 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
| 37 | 31 | ||
diff --git a/keyboards/idobao/id96/info.json b/keyboards/idobao/id96/info.json index 2e09232dae..2046283d8e 100644 --- a/keyboards/idobao/id96/info.json +++ b/keyboards/idobao/id96/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0096", | 8 | "pid": "0x0096", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 7, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "C7", | 17 | "caps_lock": "C7", |
| 13 | "num_lock": "C6", | 18 | "num_lock": "C6", |
diff --git a/keyboards/idobao/montex/v1/config.h b/keyboards/idobao/montex/v1/config.h index 314d812937..5c612855fb 100644 --- a/keyboards/idobao/montex/v1/config.h +++ b/keyboards/idobao/montex/v1/config.h | |||
| @@ -24,8 +24,6 @@ | |||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION ROW2COL | 25 | #define DIODE_DIRECTION ROW2COL |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B6 | ||
| 28 | |||
| 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 30 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
| 31 | 29 | ||
diff --git a/keyboards/idobao/montex/v1/info.json b/keyboards/idobao/montex/v1/info.json index cd4ccc6256..725ddc0c4d 100644 --- a/keyboards/idobao/montex/v1/info.json +++ b/keyboards/idobao/montex/v1/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 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/illuminati/is0/config.h b/keyboards/illuminati/is0/config.h index 890452e54e..f7f6409149 100644 --- a/keyboards/illuminati/is0/config.h +++ b/keyboards/illuminati/is0/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/illuminati/is0/info.json b/keyboards/illuminati/is0/info.json index 04964b0955..1d201e3535 100644 --- a/keyboards/illuminati/is0/info.json +++ b/keyboards/illuminati/is0/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0012", | 8 | "pid": "0x0012", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u2", | 16 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/ilumkb/primus75/config.h b/keyboards/ilumkb/primus75/config.h index 7516f571e1..5e8abdf2e0 100644 --- a/keyboards/ilumkb/primus75/config.h +++ b/keyboards/ilumkb/primus75/config.h | |||
| @@ -23,11 +23,6 @@ | |||
| 23 | /* COL2ROW or ROW2COL */ | 23 | /* COL2ROW or ROW2COL */ |
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B6 | ||
| 27 | #ifdef BACKLIGHT_PIN | ||
| 28 | #define BACKLIGHT_LEVELS 5 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | /* 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 */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 27 | #define LOCKING_SUPPORT_ENABLE |
| 33 | 28 | ||
diff --git a/keyboards/ilumkb/primus75/info.json b/keyboards/ilumkb/primus75/info.json index ac5f0280a1..9b665dda74 100644 --- a/keyboards/ilumkb/primus75/info.json +++ b/keyboards/ilumkb/primus75/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1014", | 8 | "pid": "0x1014", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "num_lock": "E2", | 17 | "num_lock": "E2", |
diff --git a/keyboards/ilumkb/volcano660/config.h b/keyboards/ilumkb/volcano660/config.h index 4ca91111f1..c63b26264e 100644 --- a/keyboards/ilumkb/volcano660/config.h +++ b/keyboards/ilumkb/volcano660/config.h | |||
| @@ -32,9 +32,6 @@ | |||
| 32 | /* COL2ROW, ROW2COL*/ | 32 | /* COL2ROW, ROW2COL*/ |
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B7 | ||
| 36 | #define BACKLIGHT_LEVELS 5 | ||
| 37 | |||
| 38 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 39 | #define LOCKING_SUPPORT_ENABLE | 36 | #define LOCKING_SUPPORT_ENABLE |
| 40 | /* Locking resynchronize hack */ | 37 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ilumkb/volcano660/info.json b/keyboards/ilumkb/volcano660/info.json index c6eb8bb5c5..9e5ec18b67 100644 --- a/keyboards/ilumkb/volcano660/info.json +++ b/keyboards/ilumkb/volcano660/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0002", | 8 | "pid": "0x0002", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/iron180/config.h b/keyboards/iron180/config.h index 2e57ae8470..b47b2ccf50 100644 --- a/keyboards/iron180/config.h +++ b/keyboards/iron180/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B9 , B8 , A15, B0 , A7 , A5 } | 21 | #define MATRIX_ROW_PINS { B9 , B8 , A15, B0 , A7 , A5 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 20 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/iron180/info.json b/keyboards/iron180/info.json index 3092b2021f..3c7798508f 100644 --- a/keyboards/iron180/info.json +++ b/keyboards/iron180/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1180", | 8 | "pid": "0x1180", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 20, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/iron180/rules.mk b/keyboards/iron180/rules.mk index 924e14bfe4..488d0df4b9 100644 --- a/keyboards/iron180/rules.mk +++ b/keyboards/iron180/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug | |||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | 8 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = pwm | ||
| 12 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 14 | ENCODER_ENABLE = no | 13 | ENCODER_ENABLE = no |
diff --git a/keyboards/j80/config.h b/keyboards/j80/config.h index 0caaf513c3..47eac652c5 100644 --- a/keyboards/j80/config.h +++ b/keyboards/j80/config.h | |||
| @@ -22,5 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, A0 } | 22 | #define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, A0 } |
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | |||
| 26 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/j80/info.json b/keyboards/j80/info.json index a802143866..c57e9e3e2a 100644 --- a/keyboards/j80/info.json +++ b/keyboards/j80/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/jacky_studio/bear_65/config.h b/keyboards/jacky_studio/bear_65/config.h index 2d9015cc4c..0caf635045 100644 --- a/keyboards/jacky_studio/bear_65/config.h +++ b/keyboards/jacky_studio/bear_65/config.h | |||
| @@ -20,12 +20,6 @@ | |||
| 20 | /* COL2ROW or ROW2COL */ | 20 | /* COL2ROW or ROW2COL */ |
| 21 | #define DIODE_DIRECTION ROW2COL | 21 | #define DIODE_DIRECTION ROW2COL |
| 22 | 22 | ||
| 23 | /* number of backlight levels */ | ||
| 24 | #define BACKLIGHT_PIN B6 | ||
| 25 | |||
| 26 | /* Set 0 if debouncing isn't needed */ | ||
| 27 | #define DEBOUNCE 5 | ||
| 28 | |||
| 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 23 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 30 | #define LOCKING_SUPPORT_ENABLE | 24 | #define LOCKING_SUPPORT_ENABLE |
| 31 | 25 | ||
diff --git a/keyboards/jacky_studio/bear_65/rev1/info.json b/keyboards/jacky_studio/bear_65/rev1/info.json index 82e7d33eb5..ed5768bf32 100644 --- a/keyboards/jacky_studio/bear_65/rev1/info.json +++ b/keyboards/jacky_studio/bear_65/rev1/info.json | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | "pid": "0x000A", | 10 | "pid": "0x000A", |
| 11 | "device_version": "0.0.1" | 11 | "device_version": "0.0.1" |
| 12 | }, | 12 | }, |
| 13 | "backlight": { | ||
| 14 | "pin": "B6" | ||
| 15 | }, | ||
| 13 | "indicators": { | 16 | "indicators": { |
| 14 | "caps_lock": "C7", | 17 | "caps_lock": "C7", |
| 15 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/jacky_studio/bear_65/rev2/info.json b/keyboards/jacky_studio/bear_65/rev2/info.json index 43200ec5d5..147dc2ade4 100644 --- a/keyboards/jacky_studio/bear_65/rev2/info.json +++ b/keyboards/jacky_studio/bear_65/rev2/info.json | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | "pid": "0x0428", | 10 | "pid": "0x0428", |
| 11 | "device_version": "0.0.1" | 11 | "device_version": "0.0.1" |
| 12 | }, | 12 | }, |
| 13 | "backlight": { | ||
| 14 | "pin": "B6" | ||
| 15 | }, | ||
| 13 | "indicators": { | 16 | "indicators": { |
| 14 | "caps_lock": "C7", | 17 | "caps_lock": "C7", |
| 15 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/jacky_studio/s7_elephant/rev2/config.h b/keyboards/jacky_studio/s7_elephant/rev2/config.h index edfc458a2a..1a6e9cea9e 100644 --- a/keyboards/jacky_studio/s7_elephant/rev2/config.h +++ b/keyboards/jacky_studio/s7_elephant/rev2/config.h | |||
| @@ -33,9 +33,6 @@ | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION ROW2COL | 34 | #define DIODE_DIRECTION ROW2COL |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B6 | ||
| 37 | #define BACKLIGHT_LEVELS 15 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 40 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLIGHT_EFFECT_BREATHING | 38 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/jacky_studio/s7_elephant/rev2/info.json b/keyboards/jacky_studio/s7_elephant/rev2/info.json index 0b63a48b6a..639b5a3897 100644 --- a/keyboards/jacky_studio/s7_elephant/rev2/info.json +++ b/keyboards/jacky_studio/s7_elephant/rev2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0008", | 8 | "pid": "0x0008", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 15 | ||
| 14 | }, | ||
| 11 | "bootmagic": { | 15 | "bootmagic": { |
| 12 | "matrix": [0, 15] | 16 | "matrix": [0, 15] |
| 13 | }, | 17 | }, |
diff --git a/keyboards/jae/j01/config.h b/keyboards/jae/j01/config.h index 34acf79062..8afbaabca0 100644 --- a/keyboards/jae/j01/config.h +++ b/keyboards/jae/j01/config.h | |||
| @@ -35,10 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | /* COL2ROW, ROW2COL*/ | 35 | /* COL2ROW, ROW2COL*/ |
| 36 | #define DIODE_DIRECTION COL2ROW | 36 | #define DIODE_DIRECTION COL2ROW |
| 37 | 37 | ||
| 38 | #define BACKLIGHT_PIN B7 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #define BACKLIGHT_LEVELS 4 | ||
| 41 | |||
| 42 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 38 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 43 | #define LOCKING_SUPPORT_ENABLE | 39 | #define LOCKING_SUPPORT_ENABLE |
| 44 | /* Locking resynchronize hack */ | 40 | /* Locking resynchronize hack */ |
diff --git a/keyboards/jae/j01/info.json b/keyboards/jae/j01/info.json index 1f2b843d6f..6f0b5d485d 100644 --- a/keyboards/jae/j01/info.json +++ b/keyboards/jae/j01/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0143", | 8 | "pid": "0x0143", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "bootmagic": { | 16 | "bootmagic": { |
| 12 | "matrix": [0, 2] | 17 | "matrix": [0, 2] |
| 13 | }, | 18 | }, |
diff --git a/keyboards/jc65/v32a/config.h b/keyboards/jc65/v32a/config.h index 4d27750629..62501a05d1 100644 --- a/keyboards/jc65/v32a/config.h +++ b/keyboards/jc65/v32a/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } | 22 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } |
| 23 | #define DIODE_DIRECTION COL2ROW | 23 | #define DIODE_DIRECTION COL2ROW |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN D4 | ||
| 26 | |||
| 27 | #define RGBLED_NUM 16 | 25 | #define RGBLED_NUM 16 |
| 28 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/jc65/v32a/info.json b/keyboards/jc65/v32a/info.json index b03bb73a6e..b9693c8e72 100644 --- a/keyboards/jc65/v32a/info.json +++ b/keyboards/jc65/v32a/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5679", | 8 | "pid": "0x5679", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/jc65/v32u4/config.h b/keyboards/jc65/v32u4/config.h index f7a182895a..eca08d7d92 100644 --- a/keyboards/jc65/v32u4/config.h +++ b/keyboards/jc65/v32u4/config.h | |||
| @@ -40,6 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | #define RGBLIGHT_VAL_STEP 8 | 40 | #define RGBLIGHT_VAL_STEP 8 |
| 41 | #endif | 41 | #endif |
| 42 | 42 | ||
| 43 | #define BACKLIGHT_PIN B6 | ||
| 44 | |||
| 45 | #define DIODE_DIRECTION COL2ROW | 43 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/jc65/v32u4/info.json b/keyboards/jc65/v32u4/info.json index 76adb227c7..e20dccdbfa 100644 --- a/keyboards/jc65/v32u4/info.json +++ b/keyboards/jc65/v32u4/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 | "pin": "B6" | ||
| 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/jd45/config.h b/keyboards/jd45/config.h index 68823699ab..25153db750 100644 --- a/keyboards/jd45/config.h +++ b/keyboards/jd45/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_ROW_PINS { F0, F1, F5, B4 } | 22 | #define MATRIX_ROW_PINS { F0, F1, F5, B4 } |
| 23 | #define MATRIX_COL_PINS { F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2, B0 } | 23 | #define MATRIX_COL_PINS { F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2, B0 } |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN B7 | ||
| 26 | |||
| 27 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 28 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 29 | 27 | ||
diff --git a/keyboards/jd45/info.json b/keyboards/jd45/info.json index 9113ae7e0d..725431c672 100644 --- a/keyboards/jd45/info.json +++ b/keyboards/jd45/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 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h index eba3f5247b..3e2fa93f31 100644 --- a/keyboards/jian/nsrev2/config.h +++ b/keyboards/jian/nsrev2/config.h | |||
| @@ -27,12 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | 27 | ||
| 28 | #define PHYSICAL_LEDS_ENABLE | 28 | #define PHYSICAL_LEDS_ENABLE |
| 29 | 29 | ||
| 30 | #ifdef BACKLIGHT_ENABLE | ||
| 31 | #define BACKLIGHT_PIN C6 | ||
| 32 | #define BACKLIGHT_LEVELS 5 | ||
| 33 | #define BACKLIGHT_BREATHING //not working with splits right now | ||
| 34 | #endif | ||
| 35 | |||
| 36 | /* ws2812 RGB LED */ | 30 | /* ws2812 RGB LED */ |
| 37 | #define RGB_DI_PIN D4 | 31 | #define RGB_DI_PIN D4 |
| 38 | #define RGBLIGHT_TIMER | 32 | #define RGBLIGHT_TIMER |
diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json index bb64f79e58..74121b2fda 100644 --- a/keyboards/jian/nsrev2/info.json +++ b/keyboards/jian/nsrev2/info.json | |||
| @@ -3,6 +3,11 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "2.1.0" | 4 | "device_version": "2.1.0" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "C6", | ||
| 8 | "levels": 5, | ||
| 9 | "breathing": true | ||
| 10 | }, | ||
| 6 | "qmk_lufa_bootloader": { | 11 | "qmk_lufa_bootloader": { |
| 7 | "esc_input": "B1", | 12 | "esc_input": "B1", |
| 8 | "esc_output": "D3" | 13 | "esc_output": "D3" |
diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h index 4b32d8fc0b..083b235a2e 100644 --- a/keyboards/jian/rev1/config.h +++ b/keyboards/jian/rev1/config.h | |||
| @@ -78,11 +78,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 78 | #define UPDATE_SCROLL_LOCK_LED() writePin(SCROLL_LOCK_LED_PIN, !led_state.scroll_lock) | 78 | #define UPDATE_SCROLL_LOCK_LED() writePin(SCROLL_LOCK_LED_PIN, !led_state.scroll_lock) |
| 79 | #endif // SCROLL_NMOSFET | 79 | #endif // SCROLL_NMOSFET |
| 80 | 80 | ||
| 81 | #ifdef BACKLIGHT_ENABLE | ||
| 82 | #define BACKLIGHT_PIN B6 | ||
| 83 | #define BACKLIGHT_LEVELS 5 | ||
| 84 | #endif | ||
| 85 | |||
| 86 | /* ws2812 RGB LED */ | 81 | /* ws2812 RGB LED */ |
| 87 | #define RGB_DI_PIN D4 | 82 | #define RGB_DI_PIN D4 |
| 88 | #define RGBLIGHT_TIMER | 83 | #define RGBLIGHT_TIMER |
diff --git a/keyboards/jian/rev1/info.json b/keyboards/jian/rev1/info.json index bcd7c88d69..fc65cb13b8 100644 --- a/keyboards/jian/rev1/info.json +++ b/keyboards/jian/rev1/info.json | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "1.0.0" | 4 | "device_version": "1.0.0" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "B6", | ||
| 8 | "levels": 5 | ||
| 9 | }, | ||
| 6 | "processor": "atmega32u4", | 10 | "processor": "atmega32u4", |
| 7 | "bootloader": "caterina" | 11 | "bootloader": "caterina" |
| 8 | } | 12 | } |
diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index 061e1185cf..37e8f0458d 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h | |||
| @@ -30,11 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #define PHYSICAL_LEDS_ENABLE | 30 | #define PHYSICAL_LEDS_ENABLE |
| 31 | #define IOS_DEVICE_ENABLE | 31 | #define IOS_DEVICE_ENABLE |
| 32 | 32 | ||
| 33 | #ifdef BACKLIGHT_ENABLE | ||
| 34 | #define BACKLIGHT_PIN C6 | ||
| 35 | #define BACKLIGHT_LEVELS 5 | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* ws2812 RGB LED */ | 33 | /* ws2812 RGB LED */ |
| 39 | #define RGB_DI_PIN D4 | 34 | #define RGB_DI_PIN D4 |
| 40 | #define RGBLIGHT_TIMER | 35 | #define RGBLIGHT_TIMER |
diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json index 0e87ca3bb6..642bf83efc 100644 --- a/keyboards/jian/rev2/info.json +++ b/keyboards/jian/rev2/info.json | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "2.0.0" | 4 | "device_version": "2.0.0" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "C6", | ||
| 8 | "levels": 5 | ||
| 9 | }, | ||
| 6 | "qmk_lufa_bootloader": { | 10 | "qmk_lufa_bootloader": { |
| 7 | "esc_input": "B1", | 11 | "esc_input": "B1", |
| 8 | "esc_output": "D3" | 12 | "esc_output": "D3" |
diff --git a/keyboards/jiran/rev1/config.h b/keyboards/jiran/rev1/config.h deleted file mode 100644 index d676c4b6b0..0000000000 --- a/keyboards/jiran/rev1/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Danny Nguyen <danny@keeb.io> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | #define BACKLIGHT_PIN B6 | ||
| 20 | #define BACKLIGHT_LEVELS 5 | ||
diff --git a/keyboards/jiran/rev1/info.json b/keyboards/jiran/rev1/info.json new file mode 100644 index 0000000000..830440f4f6 --- /dev/null +++ b/keyboards/jiran/rev1/info.json | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | { | ||
| 2 | "backlight": { | ||
| 3 | "pin": "B6", | ||
| 4 | "levels": 5 | ||
| 5 | } | ||
| 6 | } | ||
diff --git a/keyboards/kagizaraya/scythe/config.h b/keyboards/kagizaraya/scythe/config.h index ba2c696cb9..481d3400dd 100644 --- a/keyboards/kagizaraya/scythe/config.h +++ b/keyboards/kagizaraya/scythe/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* COL2ROW, ROW2COL */ | 33 | /* COL2ROW, ROW2COL */ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | |||
| 38 | #define RGBLIGHT_SPLIT 1 | 36 | #define RGBLIGHT_SPLIT 1 |
| 39 | #define RGB_DI_PIN F0 | 37 | #define RGB_DI_PIN F0 |
| 40 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/kagizaraya/scythe/info.json b/keyboards/kagizaraya/scythe/info.json index 1df3883ff2..acab68f80b 100644 --- a/keyboards/kagizaraya/scythe/info.json +++ b/keyboards/kagizaraya/scythe/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3941", | 8 | "pid": "0x3941", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "split": { | 14 | "split": { |
| 12 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kb_elmo/twelvekey/config.h b/keyboards/kb_elmo/twelvekey/config.h index aae47646bd..19bd22c473 100644 --- a/keyboards/kb_elmo/twelvekey/config.h +++ b/keyboards/kb_elmo/twelvekey/config.h | |||
| @@ -24,7 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | 24 | ||
| 25 | /* COL2ROW, ROW2COL */ | 25 | /* COL2ROW, ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | |||
| 28 | /* Backlight */ | ||
| 29 | #define BACKLIGHT_PIN B1 | ||
| 30 | #define BACKLIGHT_LEVELS 8 | ||
diff --git a/keyboards/kb_elmo/twelvekey/info.json b/keyboards/kb_elmo/twelvekey/info.json index 3155d03b89..0dfc233ff5 100644 --- a/keyboards/kb_elmo/twelvekey/info.json +++ b/keyboards/kb_elmo/twelvekey/info.json | |||
| @@ -9,6 +9,8 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "B1", | ||
| 13 | "levels": 8, | ||
| 12 | "on_state": 0 | 14 | "on_state": 0 |
| 13 | }, | 15 | }, |
| 14 | "processor": "atmega328p", | 16 | "processor": "atmega328p", |
diff --git a/keyboards/kbdfans/bella/soldered/config.h b/keyboards/kbdfans/bella/soldered/config.h index e57f1c261d..cd44097127 100755 --- a/keyboards/kbdfans/bella/soldered/config.h +++ b/keyboards/kbdfans/bella/soldered/config.h | |||
| @@ -20,7 +20,5 @@ | |||
| 20 | 20 | ||
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN B7 | ||
| 24 | |||
| 25 | #define LOCKING_SUPPORT_ENABLE | 23 | #define LOCKING_SUPPORT_ENABLE |
| 26 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
diff --git a/keyboards/kbdfans/bella/soldered/info.json b/keyboards/kbdfans/bella/soldered/info.json index ebe65f8348..a98dfd3712 100644 --- a/keyboards/kbdfans/bella/soldered/info.json +++ b/keyboards/kbdfans/bella/soldered/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 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/kbdfans/kbd19x/config.h b/keyboards/kbdfans/kbd19x/config.h index 804446cb19..0fd9b10373 100644 --- a/keyboards/kbdfans/kbd19x/config.h +++ b/keyboards/kbdfans/kbd19x/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 40 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/kbdfans/kbd19x/info.json b/keyboards/kbdfans/kbd19x/info.json index f7cdb23dfa..9333221c57 100644 --- a/keyboards/kbdfans/kbd19x/info.json +++ b/keyboards/kbdfans/kbd19x/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0191", | 8 | "pid": "0x0191", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B0", | 15 | "caps_lock": "B0", |
| 13 | "num_lock": "B2", | 16 | "num_lock": "B2", |
diff --git a/keyboards/kbdfans/kbd4x/config.h b/keyboards/kbdfans/kbd4x/config.h index a034e81a6e..fd338e9214 100644 --- a/keyboards/kbdfans/kbd4x/config.h +++ b/keyboards/kbdfans/kbd4x/config.h | |||
| @@ -33,10 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | #define BACKLIGHT_PIN B6 | 36 | |
| 37 | #ifdef BACKLIGHT_PIN | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #endif | ||
| 40 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/kbdfans/kbd4x/info.json b/keyboards/kbdfans/kbd4x/info.json index 620855a79f..e8e7168ccc 100644 --- a/keyboards/kbdfans/kbd4x/info.json +++ b/keyboards/kbdfans/kbd4x/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 17 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/kbdfans/kbd66/config.h b/keyboards/kbdfans/kbd66/config.h index 761579ba51..3c24eaa645 100644 --- a/keyboards/kbdfans/kbd66/config.h +++ b/keyboards/kbdfans/kbd66/config.h | |||
| @@ -33,10 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | #define BACKLIGHT_PIN B6 | ||
| 37 | #ifdef BACKLIGHT_PIN | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #endif | ||
| 40 | 36 | ||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/kbdfans/kbd66/info.json b/keyboards/kbdfans/kbd66/info.json index 3d12131cae..c3824412b9 100644 --- a/keyboards/kbdfans/kbd66/info.json +++ b/keyboards/kbdfans/kbd66/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xBD66", | 8 | "pid": "0xBD66", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/kbdfans/kbd67/hotswap/config.h b/keyboards/kbdfans/kbd67/hotswap/config.h index 3bf46dc318..d509761fee 100644 --- a/keyboards/kbdfans/kbd67/hotswap/config.h +++ b/keyboards/kbdfans/kbd67/hotswap/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #ifdef BACKLIGHT_PIN | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #endif | ||
| 41 | #define RGB_DI_PIN B4 | 37 | #define RGB_DI_PIN B4 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 8 | 39 | #define RGBLED_NUM 8 |
diff --git a/keyboards/kbdfans/kbd67/hotswap/info.json b/keyboards/kbdfans/kbd67/hotswap/info.json index 25ffaef251..e81600b117 100644 --- a/keyboards/kbdfans/kbd67/hotswap/info.json +++ b/keyboards/kbdfans/kbd67/hotswap/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6065", | 8 | "pid": "0x6065", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi_blocker_split_bs"], | 17 | "community_layouts": ["65_ansi_blocker_split_bs"], |
diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/config.h b/keyboards/kbdfans/kbd67/mkii_soldered/config.h index 9b25d0a2db..1061f94bc2 100644 --- a/keyboards/kbdfans/kbd67/mkii_soldered/config.h +++ b/keyboards/kbdfans/kbd67/mkii_soldered/config.h | |||
| @@ -34,11 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #ifdef BACKLIGHT_PIN | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #endif | ||
| 41 | |||
| 42 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 43 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 44 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/info.json b/keyboards/kbdfans/kbd67/mkii_soldered/info.json index 99fa935900..b439b97736 100644 --- a/keyboards/kbdfans/kbd67/mkii_soldered/info.json +++ b/keyboards/kbdfans/kbd67/mkii_soldered/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0013", | 8 | "pid": "0x0013", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"], | 17 | "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"], |
diff --git a/keyboards/kbdfans/kbd67/rev1/config.h b/keyboards/kbdfans/kbd67/rev1/config.h index 2b306cc41d..0980b80ed3 100644 --- a/keyboards/kbdfans/kbd67/rev1/config.h +++ b/keyboards/kbdfans/kbd67/rev1/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #ifdef BACKLIGHT_PIN | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #endif | ||
| 41 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 20 | 39 | #define RGBLED_NUM 20 |
diff --git a/keyboards/kbdfans/kbd67/rev1/info.json b/keyboards/kbdfans/kbd67/rev1/info.json index 0c0e80ee2d..f4e5ca006d 100644 --- a/keyboards/kbdfans/kbd67/rev1/info.json +++ b/keyboards/kbdfans/kbd67/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6066", | 8 | "pid": "0x6066", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/kbdfans/kbd67/rev2/config.h b/keyboards/kbdfans/kbd67/rev2/config.h index 0dde4254f9..89bb76ca9f 100644 --- a/keyboards/kbdfans/kbd67/rev2/config.h +++ b/keyboards/kbdfans/kbd67/rev2/config.h | |||
| @@ -24,8 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B5 | ||
| 28 | |||
| 29 | #define RGB_DI_PIN E2 | 27 | #define RGB_DI_PIN E2 |
| 30 | #ifdef RGB_DI_PIN | 28 | #ifdef RGB_DI_PIN |
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/kbdfans/kbd67/rev2/info.json b/keyboards/kbdfans/kbd67/rev2/info.json index 108d462993..b148eff402 100644 --- a/keyboards/kbdfans/kbd67/rev2/info.json +++ b/keyboards/kbdfans/kbd67/rev2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6067", | 8 | "pid": "0x6067", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D4", | 15 | "caps_lock": "D4", |
| 13 | "on_state": 0 | 16 | "on_state": 0 |
diff --git a/keyboards/kbdfans/kbd6x/config.h b/keyboards/kbdfans/kbd6x/config.h index 6efda14b8e..823f3c6f35 100644 --- a/keyboards/kbdfans/kbd6x/config.h +++ b/keyboards/kbdfans/kbd6x/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #ifdef BACKLIGHT_PIN | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #endif | ||
| 41 | #define RGB_DI_PIN F0 | 37 | #define RGB_DI_PIN F0 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/kbdfans/kbd6x/info.json b/keyboards/kbdfans/kbd6x/info.json index 7c64c7e789..1aa4481830 100644 --- a/keyboards/kbdfans/kbd6x/info.json +++ b/keyboards/kbdfans/kbd6x/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x3658", | 8 | "pid": "0x3658", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B6" | 16 | "caps_lock": "B6" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/kbdfans/kbd75/config.h b/keyboards/kbdfans/kbd75/config.h index e7c27255c9..7b630434d4 100644 --- a/keyboards/kbdfans/kbd75/config.h +++ b/keyboards/kbdfans/kbd75/config.h | |||
| @@ -11,11 +11,6 @@ | |||
| 11 | /* COL2ROW or ROW2COL */ | 11 | /* COL2ROW or ROW2COL */ |
| 12 | #define DIODE_DIRECTION COL2ROW | 12 | #define DIODE_DIRECTION COL2ROW |
| 13 | 13 | ||
| 14 | #define BACKLIGHT_PIN B6 | ||
| 15 | #ifdef BACKLIGHT_PIN | ||
| 16 | #define BACKLIGHT_LEVELS 5 | ||
| 17 | #endif | ||
| 18 | |||
| 19 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 14 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 20 | #define LOCKING_SUPPORT_ENABLE | 15 | #define LOCKING_SUPPORT_ENABLE |
| 21 | 16 | ||
diff --git a/keyboards/kbdfans/kbd75/rev1/info.json b/keyboards/kbdfans/kbd75/rev1/info.json index 4193137ff2..e1cc9ee7bc 100644 --- a/keyboards/kbdfans/kbd75/rev1/info.json +++ b/keyboards/kbdfans/kbd75/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/kbdfans/kbd75/rev2/info.json b/keyboards/kbdfans/kbd75/rev2/info.json index d76879ded0..a5436f05ac 100644 --- a/keyboards/kbdfans/kbd75/rev2/info.json +++ b/keyboards/kbdfans/kbd75/rev2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6061", | 8 | "pid": "0x6061", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/kbdfans/kbd8x/config.h b/keyboards/kbdfans/kbd8x/config.h index f4e3dc2070..26f5030f4d 100644 --- a/keyboards/kbdfans/kbd8x/config.h +++ b/keyboards/kbdfans/kbd8x/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #ifdef BACKLIGHT_PIN | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #endif | ||
| 41 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/kbdfans/kbd8x/info.json b/keyboards/kbdfans/kbd8x/info.json index 53c2c5f17a..400e29bb3f 100644 --- a/keyboards/kbdfans/kbd8x/info.json +++ b/keyboards/kbdfans/kbd8x/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B3", | 16 | "caps_lock": "B3", |
| 13 | "num_lock": "B1", | 17 | "num_lock": "B1", |
diff --git a/keyboards/kbdfans/kbd8x_mk2/config.h b/keyboards/kbdfans/kbd8x_mk2/config.h index 58b5ec51ee..c11821425f 100644 --- a/keyboards/kbdfans/kbd8x_mk2/config.h +++ b/keyboards/kbdfans/kbd8x_mk2/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #ifdef BACKLIGHT_PIN | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #endif | ||
| 41 | #define RGB_DI_PIN B3 | 37 | #define RGB_DI_PIN B3 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 20 | 39 | #define RGBLED_NUM 20 |
diff --git a/keyboards/kbdfans/kbd8x_mk2/info.json b/keyboards/kbdfans/kbd8x_mk2/info.json index 236aefeb3f..5fb4c7c089 100644 --- a/keyboards/kbdfans/kbd8x_mk2/info.json +++ b/keyboards/kbdfans/kbd8x_mk2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0005", | 8 | "pid": "0x0005", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "E6", | 16 | "caps_lock": "E6", |
| 13 | "scroll_lock": "B2", | 17 | "scroll_lock": "B2", |
diff --git a/keyboards/kbdfans/kbdpad/mk1/config.h b/keyboards/kbdfans/kbdpad/mk1/config.h index 4d987ffdb9..acd78533ee 100644 --- a/keyboards/kbdfans/kbdpad/mk1/config.h +++ b/keyboards/kbdfans/kbdpad/mk1/config.h | |||
| @@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN D4 | ||
| 27 | #define BACKLIGHT_BREATHING | ||
| 28 | |||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kbdfans/kbdpad/mk1/info.json b/keyboards/kbdfans/kbdpad/mk1/info.json index dcd35e62f2..97d4c827a1 100644 --- a/keyboards/kbdfans/kbdpad/mk1/info.json +++ b/keyboards/kbdfans/kbdpad/mk1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "num_lock": "D0" | 16 | "num_lock": "D0" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/kbdfans/kbdpad/mk2/config.h b/keyboards/kbdfans/kbdpad/mk2/config.h index 89fd2bd2a5..ffc9d00e5f 100644 --- a/keyboards/kbdfans/kbdpad/mk2/config.h +++ b/keyboards/kbdfans/kbdpad/mk2/config.h | |||
| @@ -34,11 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #ifdef BACKLIGHT_PIN | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | #define BACKLIGHT_LEVELS 5 | ||
| 41 | #endif | ||
| 42 | #define RGB_DI_PIN B5 | 37 | #define RGB_DI_PIN B5 |
| 43 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 44 | #define RGBLED_NUM 16 | 39 | #define RGBLED_NUM 16 |
diff --git a/keyboards/kbdfans/kbdpad/mk2/info.json b/keyboards/kbdfans/kbdpad/mk2/info.json index c82e825551..54657e5c12 100644 --- a/keyboards/kbdfans/kbdpad/mk2/info.json +++ b/keyboards/kbdfans/kbdpad/mk2/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0006", | 8 | "pid": "0x0006", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "num_lock": "B4", | 17 | "num_lock": "B4", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/kbdfans/maja_soldered/config.h b/keyboards/kbdfans/maja_soldered/config.h index 8bb975f297..bf315f1ee3 100755 --- a/keyboards/kbdfans/maja_soldered/config.h +++ b/keyboards/kbdfans/maja_soldered/config.h | |||
| @@ -20,8 +20,6 @@ | |||
| 20 | #define MATRIX_COL_PINS { C6, C7, F7, F6, F5, F4, F1, B0, B1, B2, B3, B7, D2, D3, D5 } | 20 | #define MATRIX_COL_PINS { C6, C7, F7, F6, F5, F4, F1, B0, B1, B2, B3, B7, D2, D3, D5 } |
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN B5 | ||
| 24 | |||
| 25 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 23 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 26 | #define LOCKING_SUPPORT_ENABLE | 24 | #define LOCKING_SUPPORT_ENABLE |
| 27 | 25 | ||
diff --git a/keyboards/kbdfans/maja_soldered/info.json b/keyboards/kbdfans/maja_soldered/info.json index b6e15112a3..b59d3eae39 100644 --- a/keyboards/kbdfans/maja_soldered/info.json +++ b/keyboards/kbdfans/maja_soldered/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6069", | 8 | "pid": "0x6069", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "debounce": 3, | 16 | "debounce": 3, |
diff --git a/keyboards/kbdfans/niu_mini/config.h b/keyboards/kbdfans/niu_mini/config.h index 081823c777..bb78066a43 100644 --- a/keyboards/kbdfans/niu_mini/config.h +++ b/keyboards/kbdfans/niu_mini/config.h | |||
| @@ -25,11 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B6 | ||
| 29 | #ifdef BACKLIGHT_PIN | ||
| 30 | #define BACKLIGHT_LEVELS 4 | ||
| 31 | #endif | ||
| 32 | |||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 35 | 30 | ||
diff --git a/keyboards/kbdfans/niu_mini/info.json b/keyboards/kbdfans/niu_mini/info.json index 7b724cc38d..f381993ad3 100644 --- a/keyboards/kbdfans/niu_mini/info.json +++ b/keyboards/kbdfans/niu_mini/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 17 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/kc60/config.h b/keyboards/kc60/config.h index 70d0ea513c..fa74b02663 100644 --- a/keyboards/kc60/config.h +++ b/keyboards/kc60/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_LEVELS 5 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | #define RGB_DI_PIN F5 | 37 | #define RGB_DI_PIN F5 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | # define RGBLED_NUM 16 | 39 | # define RGBLED_NUM 16 |
diff --git a/keyboards/kc60/info.json b/keyboards/kc60/info.json index e1b13f46a0..7783ffee54 100644 --- a/keyboards/kc60/info.json +++ b/keyboards/kc60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6FFC", | 8 | "pid": "0x6FFC", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi"], | 18 | "community_layouts": ["60_ansi"], |
diff --git a/keyboards/kc60se/config.h b/keyboards/kc60se/config.h index f84ace19bf..2640ba6397 100644 --- a/keyboards/kc60se/config.h +++ b/keyboards/kc60se/config.h | |||
| @@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL*/ | 25 | /* COL2ROW, ROW2COL*/ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN F5 | ||
| 29 | #define BACKLIGHT_LEVELS 6 | ||
| 30 | |||
| 31 | /* | 28 | /* |
| 32 | * Feature disable options | 29 | * Feature disable options |
| 33 | * These options are also useful to firmware size reduction. | 30 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/kc60se/info.json b/keyboards/kc60se/info.json index 3815eaf7a3..8779172a97 100644 --- a/keyboards/kc60se/info.json +++ b/keyboards/kc60se/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "F5", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso", "60_iso_split_bs_rshift"], | 17 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso", "60_iso_split_bs_rshift"], |
diff --git a/keyboards/keebio/bdn9/rev1/config.h b/keyboards/keebio/bdn9/rev1/config.h index d34d9756f9..c9e0a63896 100644 --- a/keyboards/keebio/bdn9/rev1/config.h +++ b/keyboards/keebio/bdn9/rev1/config.h | |||
| @@ -20,9 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define ENCODERS_PAD_A { D0, F6, B6 } | 20 | #define ENCODERS_PAD_A { D0, F6, B6 } |
| 21 | #define ENCODERS_PAD_B { D1, F5, F7 } | 21 | #define ENCODERS_PAD_B { D1, F5, F7 } |
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN B5 | ||
| 24 | #define BACKLIGHT_LEVELS 7 | ||
| 25 | |||
| 26 | #define RGB_DI_PIN D3 | 23 | #define RGB_DI_PIN D3 |
| 27 | #ifdef RGB_DI_PIN | 24 | #ifdef RGB_DI_PIN |
| 28 | #define RGBLED_NUM 4 | 25 | #define RGBLED_NUM 4 |
diff --git a/keyboards/keebio/bdn9/rev1/info.json b/keyboards/keebio/bdn9/rev1/info.json index e5dea50260..ec52e8ef6b 100644 --- a/keyboards/keebio/bdn9/rev1/info.json +++ b/keyboards/keebio/bdn9/rev1/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x1133", | 4 | "pid": "0x1133", |
| 5 | "device_version": "1.0.0" | 5 | "device_version": "1.0.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B5", | ||
| 9 | "levels": 7 | ||
| 10 | }, | ||
| 7 | "processor": "atmega32u4", | 11 | "processor": "atmega32u4", |
| 8 | "bootloader": "caterina", | 12 | "bootloader": "caterina", |
| 9 | "matrix_pins": { | 13 | "matrix_pins": { |
diff --git a/keyboards/keebio/chocopad/config.h b/keyboards/keebio/chocopad/config.h index a5cac21f2f..6d28712e8c 100644 --- a/keyboards/keebio/chocopad/config.h +++ b/keyboards/keebio/chocopad/config.h | |||
| @@ -8,9 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B5 | ||
| 12 | #define BACKLIGHT_LEVELS 6 | ||
| 13 | |||
| 14 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 15 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 16 | 13 | ||
diff --git a/keyboards/keebio/chocopad/info.json b/keyboards/keebio/chocopad/info.json index eee4f8170d..9b047cc4fc 100644 --- a/keyboards/keebio/chocopad/info.json +++ b/keyboards/keebio/chocopad/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1144", | 8 | "pid": "0x1144", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "community_layouts": ["ortho_4x4"], | 17 | "community_layouts": ["ortho_4x4"], |
diff --git a/keyboards/keebio/dilly/config.h b/keyboards/keebio/dilly/config.h index d84496664b..c10fe13a30 100644 --- a/keyboards/keebio/dilly/config.h +++ b/keyboards/keebio/dilly/config.h | |||
| @@ -8,8 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B5 | ||
| 12 | |||
| 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 14 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 15 | 13 | ||
diff --git a/keyboards/keebio/dilly/info.json b/keyboards/keebio/dilly/info.json index b1189b9e62..f69290454a 100644 --- a/keyboards/keebio/dilly/info.json +++ b/keyboards/keebio/dilly/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x113A", | 8 | "pid": "0x113A", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
| 13 | "community_layouts": ["ortho_3x10"], | 16 | "community_layouts": ["ortho_3x10"], |
diff --git a/keyboards/keebio/dsp40/rev1/config.h b/keyboards/keebio/dsp40/rev1/config.h index 1ec02a68be..9aa38cbe07 100644 --- a/keyboards/keebio/dsp40/rev1/config.h +++ b/keyboards/keebio/dsp40/rev1/config.h | |||
| @@ -25,11 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define TAP_CODE_DELAY 10 | 25 | #define TAP_CODE_DELAY 10 |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN A6 | ||
| 29 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 28 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 30 | #define BACKLIGHT_PWM_CHANNEL 1 | 29 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 31 | #define BACKLIGHT_PAL_MODE 1 | 30 | #define BACKLIGHT_PAL_MODE 1 |
| 32 | #define BACKLIGHT_LEVELS 7 | ||
| 33 | 31 | ||
| 34 | #define RGB_DI_PIN D3 | 32 | #define RGB_DI_PIN D3 |
| 35 | #ifdef RGB_DI_PIN | 33 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/keebio/dsp40/rev1/info.json b/keyboards/keebio/dsp40/rev1/info.json index f50ee33ed3..5421218a6b 100644 --- a/keyboards/keebio/dsp40/rev1/info.json +++ b/keyboards/keebio/dsp40/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x144C", | 8 | "pid": "0x144C", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 7 | ||
| 14 | }, | ||
| 11 | "processor": "STM32F072", | 15 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 16 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/keebio/ergodicity/config.h b/keyboards/keebio/ergodicity/config.h index d20743ed45..c9f49ad1fb 100644 --- a/keyboards/keebio/ergodicity/config.h +++ b/keyboards/keebio/ergodicity/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B5 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 7 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN B2 | 37 | #define RGB_DI_PIN B2 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 12 | 39 | #define RGBLED_NUM 12 |
diff --git a/keyboards/keebio/ergodicity/info.json b/keyboards/keebio/ergodicity/info.json index 3e5ba3e17c..94203340ce 100644 --- a/keyboards/keebio/ergodicity/info.json +++ b/keyboards/keebio/ergodicity/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x125F", | 8 | "pid": "0x125F", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 7, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/keebio/foldkb/rev1/config.h b/keyboards/keebio/foldkb/rev1/config.h index 19fced2c36..002bf3b9a8 100644 --- a/keyboards/keebio/foldkb/rev1/config.h +++ b/keyboards/keebio/foldkb/rev1/config.h | |||
| @@ -24,8 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define ENCODERS_PAD_A { F5 } | 24 | #define ENCODERS_PAD_A { F5 } |
| 25 | #define ENCODERS_PAD_B { F6 } | 25 | #define ENCODERS_PAD_B { F6 } |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B5 | ||
| 28 | |||
| 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 30 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
| 31 | /* Locking resynchronize hack */ | 29 | /* Locking resynchronize hack */ |
diff --git a/keyboards/keebio/foldkb/rev1/info.json b/keyboards/keebio/foldkb/rev1/info.json index ee3721bad4..46617db128 100644 --- a/keyboards/keebio/foldkb/rev1/info.json +++ b/keyboards/keebio/foldkb/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x1258", | 8 | "pid": "0x1258", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "split": { | 14 | "split": { |
| 12 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keebio/iris/rev1/config.h b/keyboards/keebio/iris/rev1/config.h index fcb96a3911..436c47ccac 100644 --- a/keyboards/keebio/iris/rev1/config.h +++ b/keyboards/keebio/iris/rev1/config.h | |||
| @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | /* Locking resynchronize hack */ | 29 | /* Locking resynchronize hack */ |
| 30 | #define LOCKING_RESYNC_ENABLE | 30 | #define LOCKING_RESYNC_ENABLE |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN D2 | ||
| 33 | #define BACKLIGHT_LEVELS 5 | ||
| 34 | |||
| 35 | /* ws2812 RGB LED */ | 32 | /* ws2812 RGB LED */ |
| 36 | #define RGB_DI_PIN D3 | 33 | #define RGB_DI_PIN D3 |
| 37 | #define RGBLED_NUM 12 // Number of LEDs | 34 | #define RGBLED_NUM 12 // Number of LEDs |
diff --git a/keyboards/keebio/iris/rev1/info.json b/keyboards/keebio/iris/rev1/info.json index 788b92a7b4..736b6006b9 100644 --- a/keyboards/keebio/iris/rev1/info.json +++ b/keyboards/keebio/iris/rev1/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x1256", | 4 | "pid": "0x1256", |
| 5 | "device_version": "1.0.0" | 5 | "device_version": "1.0.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "D2", | ||
| 9 | "levels": 5 | ||
| 10 | }, | ||
| 7 | "split": { | 11 | "split": { |
| 8 | "soft_serial_pin": "D0" | 12 | "soft_serial_pin": "D0" |
| 9 | }, | 13 | }, |
diff --git a/keyboards/keebio/iris/rev1_led/config.h b/keyboards/keebio/iris/rev1_led/config.h index d639957d66..3bd96004be 100644 --- a/keyboards/keebio/iris/rev1_led/config.h +++ b/keyboards/keebio/iris/rev1_led/config.h | |||
| @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | /* Locking resynchronize hack */ | 29 | /* Locking resynchronize hack */ |
| 30 | #define LOCKING_RESYNC_ENABLE | 30 | #define LOCKING_RESYNC_ENABLE |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN B6 | ||
| 33 | #define BACKLIGHT_LEVELS 5 | ||
| 34 | |||
| 35 | /* ws2812 RGB LED */ | 32 | /* ws2812 RGB LED */ |
| 36 | #define RGB_DI_PIN D3 | 33 | #define RGB_DI_PIN D3 |
| 37 | #define RGBLED_NUM 12 // Number of LEDs | 34 | #define RGBLED_NUM 12 // Number of LEDs |
diff --git a/keyboards/keebio/iris/rev1_led/info.json b/keyboards/keebio/iris/rev1_led/info.json index c58770c3ce..e5d71a70b0 100644 --- a/keyboards/keebio/iris/rev1_led/info.json +++ b/keyboards/keebio/iris/rev1_led/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x1256", | 4 | "pid": "0x1256", |
| 5 | "device_version": "1.1.0" | 5 | "device_version": "1.1.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B6", | ||
| 9 | "levels": 5 | ||
| 10 | }, | ||
| 7 | "split": { | 11 | "split": { |
| 8 | "soft_serial_pin": "D0" | 12 | "soft_serial_pin": "D0" |
| 9 | }, | 13 | }, |
diff --git a/keyboards/keebio/iris/rev2/config.h b/keyboards/keebio/iris/rev2/config.h index 17f35564b1..71a5e3ad01 100644 --- a/keyboards/keebio/iris/rev2/config.h +++ b/keyboards/keebio/iris/rev2/config.h | |||
| @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | /* Locking resynchronize hack */ | 29 | /* Locking resynchronize hack */ |
| 30 | #define LOCKING_RESYNC_ENABLE | 30 | #define LOCKING_RESYNC_ENABLE |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN B5 | ||
| 33 | #define BACKLIGHT_LEVELS 5 | ||
| 34 | |||
| 35 | /* ws2812 RGB LED */ | 32 | /* ws2812 RGB LED */ |
| 36 | #define RGB_DI_PIN D3 | 33 | #define RGB_DI_PIN D3 |
| 37 | #define RGBLED_NUM 12 // Number of LEDs | 34 | #define RGBLED_NUM 12 // Number of LEDs |
diff --git a/keyboards/keebio/iris/rev2/info.json b/keyboards/keebio/iris/rev2/info.json index 1f3d5c7d61..7ac3883bb5 100644 --- a/keyboards/keebio/iris/rev2/info.json +++ b/keyboards/keebio/iris/rev2/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x2256", | 4 | "pid": "0x2256", |
| 5 | "device_version": "2.0.0" | 5 | "device_version": "2.0.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B5", | ||
| 9 | "levels": 5 | ||
| 10 | }, | ||
| 7 | "split": { | 11 | "split": { |
| 8 | "soft_serial_pin": "D0" | 12 | "soft_serial_pin": "D0" |
| 9 | }, | 13 | }, |
diff --git a/keyboards/keebio/iris/rev3/config.h b/keyboards/keebio/iris/rev3/config.h index 17dd3d35e4..1834b0573d 100644 --- a/keyboards/keebio/iris/rev3/config.h +++ b/keyboards/keebio/iris/rev3/config.h | |||
| @@ -33,9 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* Locking resynchronize hack */ | 33 | /* Locking resynchronize hack */ |
| 34 | #define LOCKING_RESYNC_ENABLE | 34 | #define LOCKING_RESYNC_ENABLE |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B6 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | /* ws2812 RGB LED */ | 36 | /* ws2812 RGB LED */ |
| 40 | #define RGB_DI_PIN F7 | 37 | #define RGB_DI_PIN F7 |
| 41 | #define RGBLED_NUM 12 // Number of LEDs | 38 | #define RGBLED_NUM 12 // Number of LEDs |
diff --git a/keyboards/keebio/iris/rev3/info.json b/keyboards/keebio/iris/rev3/info.json index f930160d0f..a90be8a1b6 100644 --- a/keyboards/keebio/iris/rev3/info.json +++ b/keyboards/keebio/iris/rev3/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x3256", | 4 | "pid": "0x3256", |
| 5 | "device_version": "3.0.0" | 5 | "device_version": "3.0.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B6", | ||
| 9 | "levels": 5 | ||
| 10 | }, | ||
| 7 | "qmk_lufa_bootloader": { | 11 | "qmk_lufa_bootloader": { |
| 8 | "esc_input": "D2", | 12 | "esc_input": "D2", |
| 9 | "esc_output": "F1", | 13 | "esc_output": "F1", |
diff --git a/keyboards/keebio/iris/rev4/config.h b/keyboards/keebio/iris/rev4/config.h index 35d4d59721..afac7c80ee 100644 --- a/keyboards/keebio/iris/rev4/config.h +++ b/keyboards/keebio/iris/rev4/config.h | |||
| @@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | /* Locking resynchronize hack */ | 37 | /* Locking resynchronize hack */ |
| 38 | #define LOCKING_RESYNC_ENABLE | 38 | #define LOCKING_RESYNC_ENABLE |
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN B5 | ||
| 41 | #define BACKLIGHT_LEVELS 5 | ||
| 42 | |||
| 43 | /* ws2812 RGB LED */ | 40 | /* ws2812 RGB LED */ |
| 44 | #define RGB_DI_PIN D6 | 41 | #define RGB_DI_PIN D6 |
| 45 | #define RGBLED_NUM 12 // Number of LEDs | 42 | #define RGBLED_NUM 12 // Number of LEDs |
diff --git a/keyboards/keebio/iris/rev4/info.json b/keyboards/keebio/iris/rev4/info.json index 8288b2fdf4..6915619b0f 100644 --- a/keyboards/keebio/iris/rev4/info.json +++ b/keyboards/keebio/iris/rev4/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x4256", | 4 | "pid": "0x4256", |
| 5 | "device_version": "4.0.0" | 5 | "device_version": "4.0.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B5", | ||
| 9 | "levels": 5 | ||
| 10 | }, | ||
| 7 | "qmk_lufa_bootloader": { | 11 | "qmk_lufa_bootloader": { |
| 8 | "esc_input": "B1", | 12 | "esc_input": "B1", |
| 9 | "esc_output": "F1", | 13 | "esc_output": "F1", |
diff --git a/keyboards/keebio/iris/rev5/config.h b/keyboards/keebio/iris/rev5/config.h index fcfe3b5b68..086bddd8ce 100644 --- a/keyboards/keebio/iris/rev5/config.h +++ b/keyboards/keebio/iris/rev5/config.h | |||
| @@ -32,8 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | /* COL2ROW or ROW2COL */ | 32 | /* COL2ROW or ROW2COL */ |
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B5 | ||
| 36 | #define BACKLIGHT_LEVELS 5 | ||
| 37 | #define BACKLIGHT_DEFAULT_LEVEL 3 | 35 | #define BACKLIGHT_DEFAULT_LEVEL 3 |
| 38 | 36 | ||
| 39 | /* ws2812 RGB LED */ | 37 | /* ws2812 RGB LED */ |
diff --git a/keyboards/keebio/iris/rev5/info.json b/keyboards/keebio/iris/rev5/info.json index 11b8bed530..c45d09a8df 100644 --- a/keyboards/keebio/iris/rev5/info.json +++ b/keyboards/keebio/iris/rev5/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x5256", | 4 | "pid": "0x5256", |
| 5 | "device_version": "5.0.0" | 5 | "device_version": "5.0.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B5", | ||
| 9 | "levels": 5 | ||
| 10 | }, | ||
| 7 | "qmk_lufa_bootloader": { | 11 | "qmk_lufa_bootloader": { |
| 8 | "esc_input": "B1", | 12 | "esc_input": "B1", |
| 9 | "esc_output": "F1", | 13 | "esc_output": "F1", |
diff --git a/keyboards/keebio/kbo5000/rev1/config.h b/keyboards/keebio/kbo5000/rev1/config.h index 5705fe7c9a..df4180f9c2 100644 --- a/keyboards/keebio/kbo5000/rev1/config.h +++ b/keyboards/keebio/kbo5000/rev1/config.h | |||
| @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #define ENCODERS_PAD_A_RIGHT { D6, C7 } | 30 | #define ENCODERS_PAD_A_RIGHT { D6, C7 } |
| 31 | #define ENCODERS_PAD_B_RIGHT { D4, C6 } | 31 | #define ENCODERS_PAD_B_RIGHT { D4, C6 } |
| 32 | 32 | ||
| 33 | #define BACKLIGHT_PIN B5 | ||
| 34 | #define CAPS_LOCK_LED_PIN B6 | 33 | #define CAPS_LOCK_LED_PIN B6 |
| 35 | 34 | ||
| 36 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
diff --git a/keyboards/keebio/kbo5000/rev1/info.json b/keyboards/keebio/kbo5000/rev1/info.json index 54db6d97a5..8d0b9877a1 100644 --- a/keyboards/keebio/kbo5000/rev1/info.json +++ b/keyboards/keebio/kbo5000/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x126A", | 8 | "pid": "0x126A", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "split": { | 14 | "split": { |
| 12 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keebio/levinson/rev1/config.h b/keyboards/keebio/levinson/rev1/config.h index 3f25206780..c64d1a9e9e 100644 --- a/keyboards/keebio/levinson/rev1/config.h +++ b/keyboards/keebio/levinson/rev1/config.h | |||
| @@ -34,7 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGB_DI_PIN D3 | 34 | #define RGB_DI_PIN D3 |
| 35 | #define RGBLED_NUM 12 // Number of LEDs | 35 | #define RGBLED_NUM 12 // Number of LEDs |
| 36 | #define RGBLED_SPLIT { 6, 6 } | 36 | #define RGBLED_SPLIT { 6, 6 } |
| 37 | |||
| 38 | /* Backlight LEDs */ | ||
| 39 | #define BACKLIGHT_PIN C6 | ||
| 40 | #define BACKLIGHT_LEVELS 7 | ||
diff --git a/keyboards/keebio/levinson/rev1/info.json b/keyboards/keebio/levinson/rev1/info.json index 82eafa2db4..05416bd138 100644 --- a/keyboards/keebio/levinson/rev1/info.json +++ b/keyboards/keebio/levinson/rev1/info.json | |||
| @@ -6,5 +6,9 @@ | |||
| 6 | "usb": { | 6 | "usb": { |
| 7 | "pid": "0x1146", | 7 | "pid": "0x1146", |
| 8 | "device_version": "1.0.0" | 8 | "device_version": "1.0.0" |
| 9 | }, | ||
| 10 | "backlight": { | ||
| 11 | "pin": "C6", | ||
| 12 | "levels": 7 | ||
| 9 | } | 13 | } |
| 10 | } | 14 | } |
diff --git a/keyboards/keebio/levinson/rev2/config.h b/keyboards/keebio/levinson/rev2/config.h index 4419aacc4c..88c38bc9ab 100644 --- a/keyboards/keebio/levinson/rev2/config.h +++ b/keyboards/keebio/levinson/rev2/config.h | |||
| @@ -34,7 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGB_DI_PIN D3 | 34 | #define RGB_DI_PIN D3 |
| 35 | #define RGBLED_NUM 12 // Number of LEDs | 35 | #define RGBLED_NUM 12 // Number of LEDs |
| 36 | #define RGBLED_SPLIT { 6, 6 } | 36 | #define RGBLED_SPLIT { 6, 6 } |
| 37 | |||
| 38 | /* Backlight LEDs */ | ||
| 39 | #define BACKLIGHT_PIN B5 | ||
| 40 | #define BACKLIGHT_LEVELS 7 | ||
diff --git a/keyboards/keebio/levinson/rev2/info.json b/keyboards/keebio/levinson/rev2/info.json index 0ef0ca8d5b..dbd0901737 100644 --- a/keyboards/keebio/levinson/rev2/info.json +++ b/keyboards/keebio/levinson/rev2/info.json | |||
| @@ -6,5 +6,9 @@ | |||
| 6 | "usb": { | 6 | "usb": { |
| 7 | "pid": "0x2146", | 7 | "pid": "0x2146", |
| 8 | "device_version": "2.0.0" | 8 | "device_version": "2.0.0" |
| 9 | }, | ||
| 10 | "backlight": { | ||
| 11 | "pin": "B5", | ||
| 12 | "levels": 7 | ||
| 9 | } | 13 | } |
| 10 | } | 14 | } |
diff --git a/keyboards/keebio/levinson/rev3/config.h b/keyboards/keebio/levinson/rev3/config.h index 5b2be68b62..be2be855d0 100644 --- a/keyboards/keebio/levinson/rev3/config.h +++ b/keyboards/keebio/levinson/rev3/config.h | |||
| @@ -37,7 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define RGB_DI_PIN D7 | 37 | #define RGB_DI_PIN D7 |
| 38 | #define RGBLED_NUM 12 // Number of LEDs | 38 | #define RGBLED_NUM 12 // Number of LEDs |
| 39 | #define RGBLED_SPLIT { 6, 6 } | 39 | #define RGBLED_SPLIT { 6, 6 } |
| 40 | |||
| 41 | /* Backlight LEDs */ | ||
| 42 | #define BACKLIGHT_PIN B6 | ||
| 43 | #define BACKLIGHT_LEVELS 7 | ||
diff --git a/keyboards/keebio/levinson/rev3/info.json b/keyboards/keebio/levinson/rev3/info.json index e64545458e..8cc3fa9fb9 100644 --- a/keyboards/keebio/levinson/rev3/info.json +++ b/keyboards/keebio/levinson/rev3/info.json | |||
| @@ -6,5 +6,9 @@ | |||
| 6 | "usb": { | 6 | "usb": { |
| 7 | "pid": "0x3146", | 7 | "pid": "0x3146", |
| 8 | "device_version": "3.0.0" | 8 | "device_version": "3.0.0" |
| 9 | }, | ||
| 10 | "backlight": { | ||
| 11 | "pin": "B6", | ||
| 12 | "levels": 7 | ||
| 9 | } | 13 | } |
| 10 | } | 14 | } |
diff --git a/keyboards/keebio/nyquist/rev2/config.h b/keyboards/keebio/nyquist/rev2/config.h index 08d34cb7f8..267faf45d9 100644 --- a/keyboards/keebio/nyquist/rev2/config.h +++ b/keyboards/keebio/nyquist/rev2/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLED_NUM 12 | 34 | #define RGBLED_NUM 12 |
| 35 | #define RGBLED_SPLIT { 6, 6 } | 35 | #define RGBLED_SPLIT { 6, 6 } |
| 36 | 36 | ||
| 37 | /* Backlight LEDs */ | ||
| 38 | #define BACKLIGHT_PIN B6 | ||
| 39 | #define BACKLIGHT_LEVELS 7 | ||
| 40 | |||
| 41 | /* | 37 | /* |
| 42 | * Feature disable options | 38 | * Feature disable options |
| 43 | * These options are also useful to firmware size reduction. | 39 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/keebio/nyquist/rev2/info.json b/keyboards/keebio/nyquist/rev2/info.json index a18075f9b1..b47bb7511b 100644 --- a/keyboards/keebio/nyquist/rev2/info.json +++ b/keyboards/keebio/nyquist/rev2/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x2156", | 4 | "pid": "0x2156", |
| 5 | "device_version": "2.0.0" | 5 | "device_version": "2.0.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B6", | ||
| 9 | "levels": 7 | ||
| 10 | }, | ||
| 7 | "split": { | 11 | "split": { |
| 8 | "soft_serial_pin": "D0" | 12 | "soft_serial_pin": "D0" |
| 9 | }, | 13 | }, |
diff --git a/keyboards/keebio/nyquist/rev3/config.h b/keyboards/keebio/nyquist/rev3/config.h index a196522d30..697205027d 100644 --- a/keyboards/keebio/nyquist/rev3/config.h +++ b/keyboards/keebio/nyquist/rev3/config.h | |||
| @@ -45,10 +45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 45 | #define RGBLED_NUM 12 | 45 | #define RGBLED_NUM 12 |
| 46 | #define RGBLED_SPLIT { 6, 6 } | 46 | #define RGBLED_SPLIT { 6, 6 } |
| 47 | 47 | ||
| 48 | /* Backlight LEDs */ | ||
| 49 | #define BACKLIGHT_PIN B5 | ||
| 50 | #define BACKLIGHT_LEVELS 7 | ||
| 51 | |||
| 52 | /* | 48 | /* |
| 53 | * Feature disable options | 49 | * Feature disable options |
| 54 | * These options are also useful to firmware size reduction. | 50 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/keebio/nyquist/rev3/info.json b/keyboards/keebio/nyquist/rev3/info.json index 8ed16f832e..e7bd8635ae 100644 --- a/keyboards/keebio/nyquist/rev3/info.json +++ b/keyboards/keebio/nyquist/rev3/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x3156", | 4 | "pid": "0x3156", |
| 5 | "device_version": "3.0.0" | 5 | "device_version": "3.0.0" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B5", | ||
| 9 | "levels": 7 | ||
| 10 | }, | ||
| 7 | "split": { | 11 | "split": { |
| 8 | "soft_serial_pin": "D0" | 12 | "soft_serial_pin": "D0" |
| 9 | }, | 13 | }, |
diff --git a/keyboards/keebio/quefrency/rev2/config.h b/keyboards/keebio/quefrency/rev2/config.h index c9ffb474ca..3ccae64421 100644 --- a/keyboards/keebio/quefrency/rev2/config.h +++ b/keyboards/keebio/quefrency/rev2/config.h | |||
| @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #define ENCODERS_PAD_A_RIGHT { D6 } | 30 | #define ENCODERS_PAD_A_RIGHT { D6 } |
| 31 | #define ENCODERS_PAD_B_RIGHT { D4 } | 31 | #define ENCODERS_PAD_B_RIGHT { D4 } |
| 32 | 32 | ||
| 33 | #define BACKLIGHT_PIN B5 | ||
| 34 | #define CAPS_LOCK_LED_PIN B6 | 33 | #define CAPS_LOCK_LED_PIN B6 |
| 35 | 34 | ||
| 36 | /* ws2812 RGB LED */ | 35 | /* ws2812 RGB LED */ |
diff --git a/keyboards/keebio/quefrency/rev2/info.json b/keyboards/keebio/quefrency/rev2/info.json index 36b4de113f..c5e75b3781 100644 --- a/keyboards/keebio/quefrency/rev2/info.json +++ b/keyboards/keebio/quefrency/rev2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x2257", | 8 | "pid": "0x2257", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "split": { | 14 | "split": { |
| 12 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keebio/quefrency/rev3/config.h b/keyboards/keebio/quefrency/rev3/config.h index c9ffb474ca..3ccae64421 100644 --- a/keyboards/keebio/quefrency/rev3/config.h +++ b/keyboards/keebio/quefrency/rev3/config.h | |||
| @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #define ENCODERS_PAD_A_RIGHT { D6 } | 30 | #define ENCODERS_PAD_A_RIGHT { D6 } |
| 31 | #define ENCODERS_PAD_B_RIGHT { D4 } | 31 | #define ENCODERS_PAD_B_RIGHT { D4 } |
| 32 | 32 | ||
| 33 | #define BACKLIGHT_PIN B5 | ||
| 34 | #define CAPS_LOCK_LED_PIN B6 | 33 | #define CAPS_LOCK_LED_PIN B6 |
| 35 | 34 | ||
| 36 | /* ws2812 RGB LED */ | 35 | /* ws2812 RGB LED */ |
diff --git a/keyboards/keebio/quefrency/rev3/info.json b/keyboards/keebio/quefrency/rev3/info.json index b046871182..0fcb867a88 100644 --- a/keyboards/keebio/quefrency/rev3/info.json +++ b/keyboards/keebio/quefrency/rev3/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3357", | 8 | "pid": "0x3357", |
| 9 | "device_version": "3.1.0" | 9 | "device_version": "3.1.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "split": { | 14 | "split": { |
| 12 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keebio/rorschach/rev1/config.h b/keyboards/keebio/rorschach/rev1/config.h index 77c00e4be9..435ebb2845 100644 --- a/keyboards/keebio/rorschach/rev1/config.h +++ b/keyboards/keebio/rorschach/rev1/config.h | |||
| @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | /* Locking resynchronize hack */ | 29 | /* Locking resynchronize hack */ |
| 30 | #define LOCKING_RESYNC_ENABLE | 30 | #define LOCKING_RESYNC_ENABLE |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN B5 | ||
| 33 | #define BACKLIGHT_LEVELS 5 | ||
| 34 | |||
| 35 | /* WS2812 RGB LED */ | 32 | /* WS2812 RGB LED */ |
| 36 | #define RGB_DI_PIN D3 | 33 | #define RGB_DI_PIN D3 |
| 37 | #define RGBLIGHT_EFFECT_BREATHING | 34 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/keebio/rorschach/rev1/info.json b/keyboards/keebio/rorschach/rev1/info.json index a5e5483c66..88cec27844 100644 --- a/keyboards/keebio/rorschach/rev1/info.json +++ b/keyboards/keebio/rorschach/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1246", | 8 | "pid": "0x1246", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "split": { | 15 | "split": { |
| 12 | "soft_serial_pin": "D0" | 16 | "soft_serial_pin": "D0" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/keebio/tragicforce68/config.h b/keyboards/keebio/tragicforce68/config.h index c32f3b5f6c..656be72025 100644 --- a/keyboards/keebio/tragicforce68/config.h +++ b/keyboards/keebio/tragicforce68/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B5 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 7 | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/keebio/tragicforce68/info.json b/keyboards/keebio/tragicforce68/info.json index e498a1c49a..2be5e4f0c1 100644 --- a/keyboards/keebio/tragicforce68/info.json +++ b/keyboards/keebio/tragicforce68/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0510", | 8 | "pid": "0x0510", |
| 9 | "device_version": "1.0.1" | 9 | "device_version": "1.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 7, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 17 | "bootloader": "caterina", |
| 13 | "community_layouts": ["68_ansi"], | 18 | "community_layouts": ["68_ansi"], |
diff --git a/keyboards/keebio/viterbi/rev2/config.h b/keyboards/keebio/viterbi/rev2/config.h index ac6e64539c..898ba3d786 100644 --- a/keyboards/keebio/viterbi/rev2/config.h +++ b/keyboards/keebio/viterbi/rev2/config.h | |||
| @@ -34,7 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGB_DI_PIN D3 | 34 | #define RGB_DI_PIN D3 |
| 35 | #define RGBLED_NUM 14 | 35 | #define RGBLED_NUM 14 |
| 36 | #define RGBLED_SPLIT { 7, 7 } | 36 | #define RGBLED_SPLIT { 7, 7 } |
| 37 | |||
| 38 | /* Backlight LEDs */ | ||
| 39 | #define BACKLIGHT_PIN B6 | ||
| 40 | #define BACKLIGHT_LEVELS 7 | ||
diff --git a/keyboards/keebio/viterbi/rev2/info.json b/keyboards/keebio/viterbi/rev2/info.json index 5282cdd062..dd375f3053 100644 --- a/keyboards/keebio/viterbi/rev2/info.json +++ b/keyboards/keebio/viterbi/rev2/info.json | |||
| @@ -6,5 +6,9 @@ | |||
| 6 | "usb": { | 6 | "usb": { |
| 7 | "pid": "0x2157", | 7 | "pid": "0x2157", |
| 8 | "device_version": "2.0.0" | 8 | "device_version": "2.0.0" |
| 9 | }, | ||
| 10 | "backlight": { | ||
| 11 | "pin": "B6", | ||
| 12 | "levels": 7 | ||
| 9 | } | 13 | } |
| 10 | } | 14 | } |
diff --git a/keyboards/keebio/wavelet/config.h b/keyboards/keebio/wavelet/config.h index eff882832a..6866a313d4 100644 --- a/keyboards/keebio/wavelet/config.h +++ b/keyboards/keebio/wavelet/config.h | |||
| @@ -34,7 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* ws2812 RGB LED */ | 34 | /* ws2812 RGB LED */ |
| 35 | #define RGB_DI_PIN D3 | 35 | #define RGB_DI_PIN D3 |
| 36 | #define RGBLED_NUM 12 // Number of LEDs | 36 | #define RGBLED_NUM 12 // Number of LEDs |
| 37 | |||
| 38 | /* Backlight LEDs */ | ||
| 39 | #define BACKLIGHT_PIN B5 | ||
| 40 | #define BACKLIGHT_LEVELS 7 | ||
diff --git a/keyboards/keebio/wavelet/info.json b/keyboards/keebio/wavelet/info.json index 8a313f5525..1a1663c4d7 100644 --- a/keyboards/keebio/wavelet/info.json +++ b/keyboards/keebio/wavelet/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1046", | 8 | "pid": "0x1046", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 7 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "community_layouts": ["ortho_4x12"], | 17 | "community_layouts": ["ortho_4x12"], |
diff --git a/keyboards/keebsforall/coarse60/config.h b/keyboards/keebsforall/coarse60/config.h index cd4fb39ae2..0ec73b7874 100644 --- a/keyboards/keebsforall/coarse60/config.h +++ b/keyboards/keebsforall/coarse60/config.h | |||
| @@ -20,12 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define MATRIX_ROW_PINS { A9, A10, B12, A2, C13 } | 20 | #define MATRIX_ROW_PINS { A9, A10, B12, A2, C13 } |
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN A6 | ||
| 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 23 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 25 | #define BACKLIGHT_PWM_CHANNEL 1 | 24 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 26 | #define BACKLIGHT_PAL_MODE 1 | 25 | #define BACKLIGHT_PAL_MODE 1 |
| 27 | #define BACKLIGHT_LEVELS 6 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | 26 | ||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/keebsforall/coarse60/info.json b/keyboards/keebsforall/coarse60/info.json index 29a7850fc8..63fa7d5fe8 100644 --- a/keyboards/keebsforall/coarse60/info.json +++ b/keyboards/keebsforall/coarse60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x5341", | 8 | "pid": "0x5341", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B10", | 17 | "caps_lock": "B10", |
| 13 | "num_lock": "B2", | 18 | "num_lock": "B2", |
diff --git a/keyboards/keebwerk/nano_slider/config.h b/keyboards/keebwerk/nano_slider/config.h index 385e477e7e..f0e1766733 100644 --- a/keyboards/keebwerk/nano_slider/config.h +++ b/keyboards/keebwerk/nano_slider/config.h | |||
| @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | /* COL2ROW, ROW2COL*/ | 29 | /* COL2ROW, ROW2COL*/ |
| 30 | #define DIODE_DIRECTION COL2ROW | 30 | #define DIODE_DIRECTION COL2ROW |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN B7 | ||
| 33 | #define BACKLIGHT_BREATHING | ||
| 34 | |||
| 35 | #define RGB_DI_PIN F6 | 32 | #define RGB_DI_PIN F6 |
| 36 | #ifdef RGB_DI_PIN | 33 | #ifdef RGB_DI_PIN |
| 37 | # define RGBLED_NUM 4 | 34 | # define RGBLED_NUM 4 |
diff --git a/keyboards/keebwerk/nano_slider/info.json b/keyboards/keebwerk/nano_slider/info.json index 1d843e1475..bd47ae0a4b 100644 --- a/keyboards/keebwerk/nano_slider/info.json +++ b/keyboards/keebwerk/nano_slider/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/kegen/gboy/config.h b/keyboards/kegen/gboy/config.h index 18b255aec7..e9ad8c2fee 100644 --- a/keyboards/kegen/gboy/config.h +++ b/keyboards/kegen/gboy/config.h | |||
| @@ -25,11 +25,6 @@ | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | #ifdef BACKLIGHT_PIN | ||
| 30 | #define BACKLIGHT_LEVELS 15 | ||
| 31 | #endif | ||
| 32 | |||
| 33 | #define RGB_DI_PIN D1 | 28 | #define RGB_DI_PIN D1 |
| 34 | #ifdef RGB_DI_PIN | 29 | #ifdef RGB_DI_PIN |
| 35 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/kegen/gboy/info.json b/keyboards/kegen/gboy/info.json index f59808bf11..909eb6c568 100644 --- a/keyboards/kegen/gboy/info.json +++ b/keyboards/kegen/gboy/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6762", | 8 | "pid": "0x6762", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 15 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/kira75/config.h b/keyboards/kira75/config.h index e103fb33a0..6a69df05e7 100644 --- a/keyboards/kira75/config.h +++ b/keyboards/kira75/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 41 | #define RGBLIGHT_EFFECT_BREATHING | 38 | #define RGBLIGHT_EFFECT_BREATHING |
| 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 39 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/kira75/info.json b/keyboards/kira75/info.json index cf8e9ce698..fa366854b2 100644 --- a/keyboards/kira75/info.json +++ b/keyboards/kira75/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/kira80/config.h b/keyboards/kira80/config.h index 169f5add38..28c02ab0a6 100644 --- a/keyboards/kira80/config.h +++ b/keyboards/kira80/config.h | |||
| @@ -23,6 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | /* COL2ROW, ROW2COL*/ | 24 | /* COL2ROW, ROW2COL*/ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | |||
| 27 | #define BACKLIGHT_PIN D4 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
diff --git a/keyboards/kira80/info.json b/keyboards/kira80/info.json index 47cf842b3d..cb40dc0ab8 100644 --- a/keyboards/kira80/info.json +++ b/keyboards/kira80/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xC583", | 8 | "pid": "0xC583", |
| 9 | "device_version": "1.0.2" | 9 | "device_version": "1.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "D1", | 16 | "caps_lock": "D1", |
| 13 | "scroll_lock": "D6" | 17 | "scroll_lock": "D6" |
diff --git a/keyboards/kiwikey/wanderland/config.h b/keyboards/kiwikey/wanderland/config.h index d0df940b99..5332a91304 100644 --- a/keyboards/kiwikey/wanderland/config.h +++ b/keyboards/kiwikey/wanderland/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN F7 | 37 | #define RGB_DI_PIN F7 |
| 41 | #define RGBLED_NUM 18 | 38 | #define RGBLED_NUM 18 |
| 42 | #define RGBLIGHT_HUE_STEP 8 | 39 | #define RGBLIGHT_HUE_STEP 8 |
diff --git a/keyboards/kiwikey/wanderland/info.json b/keyboards/kiwikey/wanderland/info.json index 1dfe8fa415..3bab46fb4a 100644 --- a/keyboards/kiwikey/wanderland/info.json +++ b/keyboards/kiwikey/wanderland/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x574C", | 8 | "pid": "0x574C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B6", | 16 | "caps_lock": "B6", |
| 13 | "num_lock": "C6", | 17 | "num_lock": "C6", |
diff --git a/keyboards/kmac/info.json b/keyboards/kmac/info.json index e22708713a..ddf5361257 100644 --- a/keyboards/kmac/info.json +++ b/keyboards/kmac/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x4143", | 7 | "pid": "0x4143", |
| 8 | "device_version": "1.0.4" | 8 | "device_version": "1.0.4" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "driver": "custom" | ||
| 12 | }, | ||
| 10 | "indicators": { | 13 | "indicators": { |
| 11 | "caps_lock": "B0", | 14 | "caps_lock": "B0", |
| 12 | "scroll_lock": "E6", | 15 | "scroll_lock": "E6", |
diff --git a/keyboards/kmac/rules.mk b/keyboards/kmac/rules.mk index b1bd80232c..d9aa87a7dc 100644 --- a/keyboards/kmac/rules.mk +++ b/keyboards/kmac/rules.mk | |||
| @@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
| 12 | CUSTOM_MATRIX = yes # Custom matrix file | 12 | CUSTOM_MATRIX = yes # Custom matrix file |
| 13 | NKRO_ENABLE = yes # Enable N-Key Rollover | 13 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 14 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 14 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 15 | BACKLIGHT_DRIVER = custom | ||
| 16 | AUDIO_ENABLE = no # Audio output | 15 | AUDIO_ENABLE = no # Audio output |
| 17 | 16 | ||
| 18 | # Project specific files | 17 | # Project specific files |
diff --git a/keyboards/kopibeng/xt65/config.h b/keyboards/kopibeng/xt65/config.h index 991155a8de..e7b6507f53 100644 --- a/keyboards/kopibeng/xt65/config.h +++ b/keyboards/kopibeng/xt65/config.h | |||
| @@ -33,9 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B1 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN D5 | 36 | #define RGB_DI_PIN D5 |
| 40 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLED_NUM 12 | 38 | #define RGBLED_NUM 12 |
diff --git a/keyboards/kopibeng/xt65/info.json b/keyboards/kopibeng/xt65/info.json index bc8fe61543..5becaacc09 100644 --- a/keyboards/kopibeng/xt65/info.json +++ b/keyboards/kopibeng/xt65/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0650", | 8 | "pid": "0x0650", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B1", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layout_aliases": { | 17 | "layout_aliases": { |
diff --git a/keyboards/kprepublic/bm43a/config.h b/keyboards/kprepublic/bm43a/config.h index 2a4fcf6e36..329615e1d1 100644 --- a/keyboards/kprepublic/bm43a/config.h +++ b/keyboards/kprepublic/bm43a/config.h | |||
| @@ -33,9 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 40 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLED_NUM 10 | 38 | #define RGBLED_NUM 10 |
diff --git a/keyboards/kprepublic/bm43a/info.json b/keyboards/kprepublic/bm43a/info.json index 545d087128..4e23be7857 100644 --- a/keyboards/kprepublic/bm43a/info.json +++ b/keyboards/kprepublic/bm43a/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/kprepublic/cospad/config.h b/keyboards/kprepublic/cospad/config.h index 0d2d57cc57..b271703558 100644 --- a/keyboards/kprepublic/cospad/config.h +++ b/keyboards/kprepublic/cospad/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN F7 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN F6 | 37 | #define RGB_DI_PIN F6 |
| 40 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLED_NUM 4 | 39 | #define RGBLED_NUM 4 |
diff --git a/keyboards/kprepublic/cospad/info.json b/keyboards/kprepublic/cospad/info.json index e4cf27945f..ccf1ed42b0 100644 --- a/keyboards/kprepublic/cospad/info.json +++ b/keyboards/kprepublic/cospad/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "F7", | ||
| 12 | "on_state": 0 | 13 | "on_state": 0 |
| 13 | }, | 14 | }, |
| 14 | "indicators": { | 15 | "indicators": { |
diff --git a/keyboards/kprepublic/jj40/config.h b/keyboards/kprepublic/jj40/config.h index d466209a75..e7c508a232 100644 --- a/keyboards/kprepublic/jj40/config.h +++ b/keyboards/kprepublic/jj40/config.h | |||
| @@ -21,10 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | /* COL2ROW or ROW2COL */ | 21 | /* COL2ROW or ROW2COL */ |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN D4 | ||
| 25 | #define BACKLIGHT_LEVELS 12 | ||
| 26 | #define BACKLIGHT_BREATHING | ||
| 27 | |||
| 28 | /* RGB underglow */ | 24 | /* RGB underglow */ |
| 29 | // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. | 25 | // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. |
| 30 | #define RGBLED_NUM 5 | 26 | #define RGBLED_NUM 5 |
diff --git a/keyboards/kprepublic/jj40/info.json b/keyboards/kprepublic/jj40/info.json index 189ae81ae0..4fb1eb18cc 100644 --- a/keyboards/kprepublic/jj40/info.json +++ b/keyboards/kprepublic/jj40/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0040", | 8 | "pid": "0x0040", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "levels": 12, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32a", | 16 | "processor": "atmega32a", |
| 12 | "bootloader": "bootloadhid", | 17 | "bootloader": "bootloadhid", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 18 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/kprepublic/jj4x4/config.h b/keyboards/kprepublic/jj4x4/config.h index 11b2002003..bb2d842cb8 100644 --- a/keyboards/kprepublic/jj4x4/config.h +++ b/keyboards/kprepublic/jj4x4/config.h | |||
| @@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN D4 | ||
| 28 | #define BACKLIGHT_LEVELS 12 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | |||
| 31 | /* RGB underglow */ | 27 | /* RGB underglow */ |
| 32 | // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. | 28 | // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. |
| 33 | #define RGBLED_NUM 4 | 29 | #define RGBLED_NUM 4 |
diff --git a/keyboards/kprepublic/jj4x4/info.json b/keyboards/kprepublic/jj4x4/info.json index 4a85eb55f3..734757fa9f 100644 --- a/keyboards/kprepublic/jj4x4/info.json +++ b/keyboards/kprepublic/jj4x4/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0044", | 8 | "pid": "0x0044", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "levels": 12, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32a", | 16 | "processor": "atmega32a", |
| 12 | "bootloader": "bootloadhid", | 17 | "bootloader": "bootloadhid", |
| 13 | "community_layouts": ["ortho_4x4"], | 18 | "community_layouts": ["ortho_4x4"], |
diff --git a/keyboards/kprepublic/jj50/config.h b/keyboards/kprepublic/jj50/config.h index dd67078d56..ef614b1f69 100644 --- a/keyboards/kprepublic/jj50/config.h +++ b/keyboards/kprepublic/jj50/config.h | |||
| @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 } | 25 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 } |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | #define BACKLIGHT_LEVELS 12 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | |||
| 32 | #define RGB_DI_PIN E2 | 28 | #define RGB_DI_PIN E2 |
| 33 | #define RGBLED_NUM 12 | 29 | #define RGBLED_NUM 12 |
| 34 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/kprepublic/jj50/info.json b/keyboards/kprepublic/jj50/info.json index 5e95520759..126ba09048 100644 --- a/keyboards/kprepublic/jj50/info.json +++ b/keyboards/kprepublic/jj50/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0050", | 8 | "pid": "0x0050", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "levels": 12, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32a", | 16 | "processor": "atmega32a", |
| 12 | "bootloader": "bootloadhid", | 17 | "bootloader": "bootloadhid", |
| 13 | "layout_aliases": { | 18 | "layout_aliases": { |
diff --git a/keyboards/ktec/daisy/config.h b/keyboards/ktec/daisy/config.h index e25e645b09..d2103b03c6 100644 --- a/keyboards/ktec/daisy/config.h +++ b/keyboards/ktec/daisy/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN D0 | ||
| 38 | #define BACKLIGHT_LEVELS 6 | ||
| 39 | |||
| 40 | #define RGB_DI_PIN C7 | 37 | #define RGB_DI_PIN C7 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | # define RGBLED_NUM 8 | 39 | # define RGBLED_NUM 8 |
diff --git a/keyboards/ktec/daisy/info.json b/keyboards/ktec/daisy/info.json index 50c5dd78b0..6901774b23 100644 --- a/keyboards/ktec/daisy/info.json +++ b/keyboards/ktec/daisy/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xD7DC", | 8 | "pid": "0xD7DC", |
| 9 | "device_version": "5.0.1" | 9 | "device_version": "5.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D0", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "C6", | 16 | "caps_lock": "C6", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/ktec/staryu/config.h b/keyboards/ktec/staryu/config.h index 1a1b7372e6..23c362c0aa 100755 --- a/keyboards/ktec/staryu/config.h +++ b/keyboards/ktec/staryu/config.h | |||
| @@ -29,5 +29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLIGHT_LIMIT_VAL 200 | 31 | #define RGBLIGHT_LIMIT_VAL 200 |
| 32 | |||
| 33 | #define BACKLIGHT_LEVELS 10 | ||
diff --git a/keyboards/ktec/staryu/info.json b/keyboards/ktec/staryu/info.json index 21c4e04dd7..02189fecf7 100644 --- a/keyboards/ktec/staryu/info.json +++ b/keyboards/ktec/staryu/info.json | |||
| @@ -9,7 +9,8 @@ | |||
| 9 | "device_version": "2.0.5" | 9 | "device_version": "2.0.5" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pins": ["C2", "C7", "D5", "D6", "B0"] | 12 | "pins": ["C2", "C7", "D5", "D6", "B0"], |
| 13 | "levels": 10 | ||
| 13 | }, | 14 | }, |
| 14 | "bootmagic": { | 15 | "bootmagic": { |
| 15 | "matrix": [0, 1] | 16 | "matrix": [0, 1] |
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/config.h b/keyboards/lazydesigners/dimple/staggered/rev3/config.h deleted file mode 100644 index b6970644b4..0000000000 --- a/keyboards/lazydesigners/dimple/staggered/rev3/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2021 LAZYDESIGNERS | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define BACKLIGHT_PIN B7 | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/info.json b/keyboards/lazydesigners/dimple/staggered/rev3/info.json index d1e1568035..f703059bd5 100644 --- a/keyboards/lazydesigners/dimple/staggered/rev3/info.json +++ b/keyboards/lazydesigners/dimple/staggered/rev3/info.json | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "pin": "B7" | ||
| 4 | }, | ||
| 2 | "layouts": { | 5 | "layouts": { |
| 3 | "LAYOUT_all": { | 6 | "LAYOUT_all": { |
| 4 | "layout": [ | 7 | "layout": [ |
diff --git a/keyboards/lazydesigners/dimpleplus/config.h b/keyboards/lazydesigners/dimpleplus/config.h index eac7ad0912..9d8dca9693 100644 --- a/keyboards/lazydesigners/dimpleplus/config.h +++ b/keyboards/lazydesigners/dimpleplus/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B7 | ||
| 27 | |||
| 28 | /* RBG underglow */ | 26 | /* RBG underglow */ |
| 29 | #define RGB_DI_PIN D2 | 27 | #define RGB_DI_PIN D2 |
| 30 | #ifdef RGB_DI_PIN | 28 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/lazydesigners/dimpleplus/info.json b/keyboards/lazydesigners/dimpleplus/info.json index c0ed213d58..fd9b7bc44c 100644 --- a/keyboards/lazydesigners/dimpleplus/info.json +++ b/keyboards/lazydesigners/dimpleplus/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0061", | 8 | "pid": "0x0061", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/lazydesigners/the30/config.h b/keyboards/lazydesigners/the30/config.h index 665bc53dc4..fcb62244c4 100644 --- a/keyboards/lazydesigners/the30/config.h +++ b/keyboards/lazydesigners/the30/config.h | |||
| @@ -24,5 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | 24 | ||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | |||
| 28 | #define BACKLIGHT_PIN B7 | ||
diff --git a/keyboards/lazydesigners/the30/info.json b/keyboards/lazydesigners/the30/info.json index 20be3649a8..94d5067377 100644 --- a/keyboards/lazydesigners/the30/info.json +++ b/keyboards/lazydesigners/the30/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0030", | 8 | "pid": "0x0030", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_3x10"], | 16 | "community_layouts": ["ortho_3x10"], |
diff --git a/keyboards/lazydesigners/the40/config.h b/keyboards/lazydesigners/the40/config.h index 36d7905d71..6f625c41bd 100644 --- a/keyboards/lazydesigners/the40/config.h +++ b/keyboards/lazydesigners/the40/config.h | |||
| @@ -23,9 +23,6 @@ | |||
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B7 | ||
| 27 | #define BACKLIGHT_BREATHING | ||
| 28 | |||
| 29 | #define RGB_DI_PIN C7 | 26 | #define RGB_DI_PIN C7 |
| 30 | #ifdef RGB_DI_PIN | 27 | #ifdef RGB_DI_PIN |
| 31 | #define RGBLED_NUM 8 | 28 | #define RGBLED_NUM 8 |
diff --git a/keyboards/lazydesigners/the40/info.json b/keyboards/lazydesigners/the40/info.json index 6e0bc06db6..009e6fe006 100644 --- a/keyboards/lazydesigners/the40/info.json +++ b/keyboards/lazydesigners/the40/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0042", | 8 | "pid": "0x0042", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/lazydesigners/the50/config.h b/keyboards/lazydesigners/the50/config.h index c2ca403b83..96b226f6e8 100644 --- a/keyboards/lazydesigners/the50/config.h +++ b/keyboards/lazydesigners/the50/config.h | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B6 | ||
| 12 | #ifdef BACKLIGHT_PIN | ||
| 13 | #define BACKLIGHT_LEVELS 6 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 17 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 18 | 13 | ||
diff --git a/keyboards/lazydesigners/the50/info.json b/keyboards/lazydesigners/the50/info.json index e6243e4add..9a54671b46 100644 --- a/keyboards/lazydesigners/the50/info.json +++ b/keyboards/lazydesigners/the50/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0050", | 8 | "pid": "0x0050", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/lazydesigners/the60/rev1/config.h b/keyboards/lazydesigners/the60/rev1/config.h index 847aa16ebf..0845f9db63 100755 --- a/keyboards/lazydesigners/the60/rev1/config.h +++ b/keyboards/lazydesigners/the60/rev1/config.h | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B6 | ||
| 12 | #ifdef BACKLIGHT_PIN | ||
| 13 | #define BACKLIGHT_LEVELS 6 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 17 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 18 | 13 | ||
diff --git a/keyboards/lazydesigners/the60/rev1/info.json b/keyboards/lazydesigners/the60/rev1/info.json index 5ef3d14aef..179dd59895 100755 --- a/keyboards/lazydesigners/the60/rev1/info.json +++ b/keyboards/lazydesigners/the60/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0060", | 8 | "pid": "0x0060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/lazydesigners/the60/rev2/config.h b/keyboards/lazydesigners/the60/rev2/config.h index af003113a3..11d38876d3 100755 --- a/keyboards/lazydesigners/the60/rev2/config.h +++ b/keyboards/lazydesigners/the60/rev2/config.h | |||
| @@ -23,10 +23,6 @@ | |||
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B7 | ||
| 27 | #define BACKLIGHT_BREATHING | ||
| 28 | #define BACKLIGHT_LEVELS 5 | ||
| 29 | |||
| 30 | #define RGB_DI_PIN D1 | 26 | #define RGB_DI_PIN D1 |
| 31 | #ifdef RGB_DI_PIN | 27 | #ifdef RGB_DI_PIN |
| 32 | #define RGBLED_NUM 10 | 28 | #define RGBLED_NUM 10 |
diff --git a/keyboards/lazydesigners/the60/rev2/info.json b/keyboards/lazydesigners/the60/rev2/info.json index b91acfa71e..355a8c7bc9 100755 --- a/keyboards/lazydesigners/the60/rev2/info.json +++ b/keyboards/lazydesigners/the60/rev2/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0062", | 8 | "pid": "0x0062", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/lfkeyboards/lfk65_hs/config.h b/keyboards/lfkeyboards/lfk65_hs/config.h index 9bec564065..a4b4d931c4 100644 --- a/keyboards/lfkeyboards/lfk65_hs/config.h +++ b/keyboards/lfkeyboards/lfk65_hs/config.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | #define MATRIX_COL_PINS {E6, F4, B7, D5, D3, D2, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4} | 6 | #define MATRIX_COL_PINS {E6, F4, B7, D5, D3, D2, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4} |
| 7 | #define RGBLED_NUM 20 // Number of LEDs | 7 | #define RGBLED_NUM 20 // Number of LEDs |
| 8 | 8 | ||
| 9 | #define BACKLIGHT_LEVELS 8 | ||
| 10 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} | 9 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} |
| 11 | 10 | ||
| 12 | #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile | 11 | #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile |
diff --git a/keyboards/lfkeyboards/lfk65_hs/info.json b/keyboards/lfkeyboards/lfk65_hs/info.json index 8973c3fafa..a2aea08829 100644 --- a/keyboards/lfkeyboards/lfk65_hs/info.json +++ b/keyboards/lfkeyboards/lfk65_hs/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6064", | 8 | "pid": "0x6064", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "levels": 8 | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/lfkeyboards/lfk78/config.h b/keyboards/lfkeyboards/lfk78/config.h index 4b047f6c1c..3e88fe3d37 100644 --- a/keyboards/lfkeyboards/lfk78/config.h +++ b/keyboards/lfkeyboards/lfk78/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | /* COL2ROW, ROW2COL*/ | 21 | /* COL2ROW, ROW2COL*/ |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_LEVELS 8 | ||
| 25 | #define BACKLIGHT_PWM_MAP { 8, 16, 40, 55, 70, 128, 200, 255 } | 24 | #define BACKLIGHT_PWM_MAP { 8, 16, 40, 55, 70, 128, 200, 255 } |
| 26 | 25 | ||
| 27 | #define TAPPING_TERM 200 | 26 | #define TAPPING_TERM 200 |
diff --git a/keyboards/lfkeyboards/lfk78/revb/info.json b/keyboards/lfkeyboards/lfk78/revb/info.json index 8ff16c7e54..026ec0d0c5 100644 --- a/keyboards/lfkeyboards/lfk78/revb/info.json +++ b/keyboards/lfkeyboards/lfk78/revb/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x3738", | 8 | "pid": "0x3738", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 8 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/lfkeyboards/lfk78/revc/info.json b/keyboards/lfkeyboards/lfk78/revc/info.json index 48233f60cd..8867f107e8 100644 --- a/keyboards/lfkeyboards/lfk78/revc/info.json +++ b/keyboards/lfkeyboards/lfk78/revc/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x3738", | 8 | "pid": "0x3738", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 8 | ||
| 14 | }, | ||
| 11 | "processor": "at90usb1286", | 15 | "processor": "at90usb1286", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/lfkeyboards/lfk78/revj/info.json b/keyboards/lfkeyboards/lfk78/revj/info.json index 0d1c355184..320e5f89ec 100644 --- a/keyboards/lfkeyboards/lfk78/revj/info.json +++ b/keyboards/lfkeyboards/lfk78/revj/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x3738", | 8 | "pid": "0x3738", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 8 | ||
| 14 | }, | ||
| 11 | "processor": "at90usb646", | 15 | "processor": "at90usb646", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/lfkeyboards/lfk78/rules.mk b/keyboards/lfkeyboards/lfk78/rules.mk index 1db50d1423..6c0b7f6d8d 100644 --- a/keyboards/lfkeyboards/lfk78/rules.mk +++ b/keyboards/lfkeyboards/lfk78/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = custom | ||
| 12 | AUDIO_ENABLE = no # Audio output | 11 | AUDIO_ENABLE = no # Audio output |
| 13 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | 12 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. |
| 14 | RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lfkeyboards, not qmk base | 13 | RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lfkeyboards, not qmk base |
diff --git a/keyboards/lfkeyboards/lfk87/config.h b/keyboards/lfkeyboards/lfk87/config.h index 51feeb7f6e..3120a184e6 100644 --- a/keyboards/lfkeyboards/lfk87/config.h +++ b/keyboards/lfkeyboards/lfk87/config.h | |||
| @@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | #define AUDIO_VOICES | 40 | #define AUDIO_VOICES |
| 41 | #define AUDIO_PIN C6 | 41 | #define AUDIO_PIN C6 |
| 42 | 42 | ||
| 43 | #define BACKLIGHT_LEVELS 10 | ||
| 44 | #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} | 43 | #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} |
| 45 | 44 | ||
| 46 | #define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile | 45 | #define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile |
diff --git a/keyboards/lfkeyboards/lfk87/info.json b/keyboards/lfkeyboards/lfk87/info.json index 833eb3261d..9ba48f7b29 100644 --- a/keyboards/lfkeyboards/lfk87/info.json +++ b/keyboards/lfkeyboards/lfk87/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 10 | ||
| 14 | }, | ||
| 11 | "community_layouts": ["tkl_ansi", "tkl_iso"], | 15 | "community_layouts": ["tkl_ansi", "tkl_iso"], |
| 12 | "layouts": { | 16 | "layouts": { |
| 13 | "LAYOUT_tkl_ansi": { | 17 | "LAYOUT_tkl_ansi": { |
diff --git a/keyboards/lfkeyboards/lfk87/rules.mk b/keyboards/lfkeyboards/lfk87/rules.mk index 32c2a94f2b..9a0fd53343 100644 --- a/keyboards/lfkeyboards/lfk87/rules.mk +++ b/keyboards/lfkeyboards/lfk87/rules.mk | |||
| @@ -22,7 +22,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 22 | COMMAND_ENABLE = no # Commands for debug and configuration | 22 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 23 | NKRO_ENABLE = yes # Enable N-Key Rollover | 23 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 24 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 24 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 25 | BACKLIGHT_DRIVER = custom | ||
| 26 | AUDIO_ENABLE = yes # Audio output | 25 | AUDIO_ENABLE = yes # Audio output |
| 27 | RGBLIGHT_ENABLE = yes # Enable RGB underlight | 26 | RGBLIGHT_ENABLE = yes # Enable RGB underlight |
| 28 | RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not WS2812 | 27 | RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not WS2812 |
diff --git a/keyboards/lfkeyboards/mini1800/config.h b/keyboards/lfkeyboards/mini1800/config.h index e2e2366044..2d648c4e4d 100644 --- a/keyboards/lfkeyboards/mini1800/config.h +++ b/keyboards/lfkeyboards/mini1800/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define AUDIO_VOICES | 28 | #define AUDIO_VOICES |
| 29 | #define AUDIO_PIN C6 | 29 | #define AUDIO_PIN C6 |
| 30 | 30 | ||
| 31 | #define BACKLIGHT_LEVELS 10 | ||
| 32 | #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} | 31 | #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} |
| 33 | 32 | ||
| 34 | #define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile | 33 | #define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile |
diff --git a/keyboards/lfkeyboards/mini1800/info.json b/keyboards/lfkeyboards/mini1800/info.json index 703184dc99..6b66ed9774 100644 --- a/keyboards/lfkeyboards/mini1800/info.json +++ b/keyboards/lfkeyboards/mini1800/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 10 | ||
| 14 | }, | ||
| 11 | "layouts": { | 15 | "layouts": { |
| 12 | "LAYOUT": { | 16 | "LAYOUT": { |
| 13 | "layout": [ | 17 | "layout": [ |
diff --git a/keyboards/lfkeyboards/mini1800/mini1800.c b/keyboards/lfkeyboards/mini1800/mini1800.c index fb92137be8..f435f55677 100644 --- a/keyboards/lfkeyboards/mini1800/mini1800.c +++ b/keyboards/lfkeyboards/mini1800/mini1800.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | #include "lighting.h" | 9 | #include "lighting.h" |
| 10 | #include "debug.h" | 10 | #include "debug.h" |
| 11 | 11 | ||
| 12 | #define BACKLIGHT_BREATHING | ||
| 13 | #include "quantum.h" | 12 | #include "quantum.h" |
| 14 | 13 | ||
| 15 | uint16_t click_hz = CLICK_HZ; | 14 | uint16_t click_hz = CLICK_HZ; |
diff --git a/keyboards/lfkeyboards/mini1800/reva/rules.mk b/keyboards/lfkeyboards/mini1800/reva/rules.mk index bb938f99b3..edd26e498d 100644 --- a/keyboards/lfkeyboards/mini1800/reva/rules.mk +++ b/keyboards/lfkeyboards/mini1800/reva/rules.mk | |||
| @@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output | |||
| 13 | 13 | ||
| 14 | # RGB code is implemented in lfkeyboards, not WS2812 | 14 | # RGB code is implemented in lfkeyboards, not WS2812 |
| 15 | RGBLIGHT_CUSTOM_DRIVER = yes | 15 | RGBLIGHT_CUSTOM_DRIVER = yes |
| 16 | BACKLIGHT_DRIVER = custom | ||
| 17 | SLEEP_LED_ENABLE = yes | 16 | SLEEP_LED_ENABLE = yes |
| 18 | 17 | ||
| 19 | ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled | 18 | ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled |
diff --git a/keyboards/lfkeyboards/mini1800/revc/rules.mk b/keyboards/lfkeyboards/mini1800/revc/rules.mk index bb938f99b3..edd26e498d 100644 --- a/keyboards/lfkeyboards/mini1800/revc/rules.mk +++ b/keyboards/lfkeyboards/mini1800/revc/rules.mk | |||
| @@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output | |||
| 13 | 13 | ||
| 14 | # RGB code is implemented in lfkeyboards, not WS2812 | 14 | # RGB code is implemented in lfkeyboards, not WS2812 |
| 15 | RGBLIGHT_CUSTOM_DRIVER = yes | 15 | RGBLIGHT_CUSTOM_DRIVER = yes |
| 16 | BACKLIGHT_DRIVER = custom | ||
| 17 | SLEEP_LED_ENABLE = yes | 16 | SLEEP_LED_ENABLE = yes |
| 18 | 17 | ||
| 19 | ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled | 18 | ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled |
diff --git a/keyboards/lfkeyboards/smk65/revb/config.h b/keyboards/lfkeyboards/smk65/revb/config.h index 06334113ef..b746d90232 100644 --- a/keyboards/lfkeyboards/smk65/revb/config.h +++ b/keyboards/lfkeyboards/smk65/revb/config.h | |||
| @@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define AUDIO_VOICES | 31 | #define AUDIO_VOICES |
| 32 | #define AUDIO_PIN C6 | 32 | #define AUDIO_PIN C6 |
| 33 | 33 | ||
| 34 | #define BACKLIGHT_LEVELS 8 | ||
| 35 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} | 34 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} |
| 36 | 35 | ||
| 37 | #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile | 36 | #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile |
diff --git a/keyboards/lfkeyboards/smk65/revb/info.json b/keyboards/lfkeyboards/smk65/revb/info.json index bf42e51ded..25cbf0f77a 100644 --- a/keyboards/lfkeyboards/smk65/revb/info.json +++ b/keyboards/lfkeyboards/smk65/revb/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "pid": "0x565B" | 3 | "pid": "0x565B" |
| 4 | }, | 4 | }, |
| 5 | "backlight": { | ||
| 6 | "levels": 8 | ||
| 7 | }, | ||
| 5 | "processor": "at90usb646", | 8 | "processor": "at90usb646", |
| 6 | "bootloader": "atmel-dfu" | 9 | "bootloader": "atmel-dfu" |
| 7 | } | 10 | } |
diff --git a/keyboards/linworks/dolice/config.h b/keyboards/linworks/dolice/config.h index 97f8029955..394b953afb 100644 --- a/keyboards/linworks/dolice/config.h +++ b/keyboards/linworks/dolice/config.h | |||
| @@ -23,7 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | |||
| 27 | /* Backlight */ | ||
| 28 | #define BACKLIGHT_PIN B5 // Timer 1 on mega32u4 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
diff --git a/keyboards/linworks/dolice/info.json b/keyboards/linworks/dolice/info.json index 649dc85d02..1db5f48470 100644 --- a/keyboards/linworks/dolice/info.json +++ b/keyboards/linworks/dolice/info.json | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | "pid": "0x0005", | 7 | "pid": "0x0005", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B5", | ||
| 12 | "breathing": true | ||
| 13 | }, | ||
| 10 | "indicators": { | 14 | "indicators": { |
| 11 | "caps_lock": "C7", | 15 | "caps_lock": "C7", |
| 12 | "num_lock": "B6", | 16 | "num_lock": "B6", |
diff --git a/keyboards/linworks/fave104/config.h b/keyboards/linworks/fave104/config.h index d064d7cea4..5d3830ef6c 100644 --- a/keyboards/linworks/fave104/config.h +++ b/keyboards/linworks/fave104/config.h | |||
| @@ -24,11 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW, ROW2COL*/ | 24 | /* COL2ROW, ROW2COL*/ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | /* Backlight */ | ||
| 28 | #define BACKLIGHT_PIN A1 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | #define BACKLIGHT_PWM_DRIVER PWMD2 | 27 | #define BACKLIGHT_PWM_DRIVER PWMD2 |
| 31 | #define BACKLIGHT_PWM_CHANNEL 2 | 28 | #define BACKLIGHT_PWM_CHANNEL 2 |
| 32 | #define BACKLIGHT_PAL_MODE 2 | 29 | #define BACKLIGHT_PAL_MODE 2 |
| 33 | #define BACKLIGHT_LEVELS 5 | ||
| 34 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. | 30 | #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/fave104/info.json b/keyboards/linworks/fave104/info.json index 0eeda7d97d..03beb2ad89 100644 --- a/keyboards/linworks/fave104/info.json +++ b/keyboards/linworks/fave104/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x000A", | 8 | "pid": "0x000A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A1", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B5", | 17 | "caps_lock": "B5", |
| 13 | "num_lock": "B6", | 18 | "num_lock": "B6", |
diff --git a/keyboards/linworks/fave87/config.h b/keyboards/linworks/fave87/config.h index 6b553e26a2..37aa1a68fc 100644 --- a/keyboards/linworks/fave87/config.h +++ b/keyboards/linworks/fave87/config.h | |||
| @@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION ROW2COL | 25 | #define DIODE_DIRECTION ROW2COL |
| 26 | 26 | ||
| 27 | /* Backlight */ | ||
| 28 | #define BACKLIGHT_PIN B7 // Timer 1 on mega32u4 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | |||
| 31 | /* Underglow */ | 27 | /* Underglow */ |
| 32 | #define RGB_DI_PIN E2 | 28 | #define RGB_DI_PIN E2 |
| 33 | #define RGBLED_NUM 40 | 29 | #define RGBLED_NUM 40 |
diff --git a/keyboards/linworks/fave87/info.json b/keyboards/linworks/fave87/info.json index dffb86c8ec..b6ac9b78c1 100644 --- a/keyboards/linworks/fave87/info.json +++ b/keyboards/linworks/fave87/info.json | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | "pid": "0x0002", | 7 | "pid": "0x0002", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B7", | ||
| 12 | "breathing": true | ||
| 13 | }, | ||
| 10 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 11 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 12 | "community_layouts": ["tkl_ansi", "tkl_iso"], | 16 | "community_layouts": ["tkl_ansi", "tkl_iso"], |
diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h index b2da9c0245..9508aeed57 100644 --- a/keyboards/linworks/whale75/config.h +++ b/keyboards/linworks/whale75/config.h | |||
| @@ -24,13 +24,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW, ROW2COL */ | 24 | /* COL2ROW, ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | /* Backlight */ | ||
| 28 | #define BACKLIGHT_PIN A10 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | #define BACKLIGHT_PWM_DRIVER PWMD1 | 27 | #define BACKLIGHT_PWM_DRIVER PWMD1 |
| 31 | #define BACKLIGHT_PWM_CHANNEL 3 | 28 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 32 | #define BACKLIGHT_PAL_MODE 6 | 29 | #define BACKLIGHT_PAL_MODE 6 |
| 33 | #define BACKLIGHT_LEVELS 5 | ||
| 34 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. | 30 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. |
| 35 | 31 | ||
| 36 | /* Underglow */ | 32 | /* Underglow */ |
diff --git a/keyboards/linworks/whale75/info.json b/keyboards/linworks/whale75/info.json index 7de9e12764..24cb27f929 100644 --- a/keyboards/linworks/whale75/info.json +++ b/keyboards/linworks/whale75/info.json | |||
| @@ -7,6 +7,11 @@ | |||
| 7 | "pid": "0x0001", | 7 | "pid": "0x0001", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "A10", | ||
| 12 | "levels": 5, | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 10 | "indicators": { | 15 | "indicators": { |
| 11 | "caps_lock": "A9", | 16 | "caps_lock": "A9", |
| 12 | "num_lock": "A8", | 17 | "num_lock": "A8", |
diff --git a/keyboards/lz/erghost/config.h b/keyboards/lz/erghost/config.h index 96db02dbfd..0f9730066e 100644 --- a/keyboards/lz/erghost/config.h +++ b/keyboards/lz/erghost/config.h | |||
| @@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | /* COL2ROW, ROW2COL*/ | 37 | /* COL2ROW, ROW2COL*/ |
| 38 | #define DIODE_DIRECTION ROW2COL | 38 | #define DIODE_DIRECTION ROW2COL |
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN B6 | ||
| 41 | #define BACKLIGHT_BREATHING | ||
| 42 | |||
| 43 | #ifdef RGBLIGHT_ENABLE | 40 | #ifdef RGBLIGHT_ENABLE |
| 44 | #define RGB_DI_PIN E2 | 41 | #define RGB_DI_PIN E2 |
| 45 | #define RGBLED_NUM 28 | 42 | #define RGBLED_NUM 28 |
diff --git a/keyboards/lz/erghost/info.json b/keyboards/lz/erghost/info.json index f5ab6490b9..0ba1055fe3 100644 --- a/keyboards/lz/erghost/info.json +++ b/keyboards/lz/erghost/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0002", | 8 | "pid": "0x0002", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "D6", | 16 | "caps_lock": "D6", |
| 13 | "num_lock": "D7", | 17 | "num_lock": "D7", |
diff --git a/keyboards/m10a/config.h b/keyboards/m10a/config.h index 264dc6ddb0..dac3f44a3e 100644 --- a/keyboards/m10a/config.h +++ b/keyboards/m10a/config.h | |||
| @@ -23,13 +23,9 @@ | |||
| 23 | #define MATRIX_ROW_PINS { B6, F7, F6, D6 } | 23 | #define MATRIX_ROW_PINS { B6, F7, F6, D6 } |
| 24 | #define MATRIX_COL_PINS { F5, F1, F0 } | 24 | #define MATRIX_COL_PINS { F5, F1, F0 } |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B7 | ||
| 27 | |||
| 28 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 29 | #define DIODE_DIRECTION ROW2COL | 27 | #define DIODE_DIRECTION ROW2COL |
| 30 | 28 | ||
| 31 | #define BACKLIGHT_LEVELS 6 | ||
| 32 | |||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
| 35 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
diff --git a/keyboards/m10a/info.json b/keyboards/m10a/info.json index f039afc9a7..f517d49087 100644 --- a/keyboards/m10a/info.json +++ b/keyboards/m10a/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x00AA", | 8 | "pid": "0x00AA", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/machkeyboards/mach3/config.h b/keyboards/machkeyboards/mach3/config.h index 2cb9079a84..ba1628e954 100644 --- a/keyboards/machkeyboards/mach3/config.h +++ b/keyboards/machkeyboards/mach3/config.h | |||
| @@ -23,8 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | /* COL2ROW, ROW2COL*/ | 24 | /* COL2ROW, ROW2COL*/ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | |||
| 27 | /* backlight */ | ||
| 28 | #define BACKLIGHT_PIN B6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | #define BACKLIGHT_LEVELS 5 | ||
diff --git a/keyboards/machkeyboards/mach3/info.json b/keyboards/machkeyboards/mach3/info.json index 77b69b9651..767beb2026 100644 --- a/keyboards/machkeyboards/mach3/info.json +++ b/keyboards/machkeyboards/mach3/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x4D33", | 8 | "pid": "0x4D33", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 17 | "bootloader": "caterina", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/machkeyboards/mach3/rules.mk b/keyboards/machkeyboards/mach3/rules.mk index 244bc3f763..75c6a286e5 100644 --- a/keyboards/machkeyboards/mach3/rules.mk +++ b/keyboards/machkeyboards/mach3/rules.mk | |||
| @@ -11,4 +11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | |||
| 11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 12 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 13 | UNICODE_ENABLE = yes | 13 | UNICODE_ENABLE = yes |
| 14 | BACKLIGHT_DRIVER = pwm \ No newline at end of file | ||
diff --git a/keyboards/maple_computing/christmas_tree/config.h b/keyboards/maple_computing/christmas_tree/config.h index 11e591dca2..40c2ce1f48 100644 --- a/keyboards/maple_computing/christmas_tree/config.h +++ b/keyboards/maple_computing/christmas_tree/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 } | 22 | #define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 } |
| 23 | #define MATRIX_COL_PINS { D1 } | 23 | #define MATRIX_COL_PINS { D1 } |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN D2 | ||
| 26 | |||
| 27 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 28 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 29 | 27 | ||
diff --git a/keyboards/maple_computing/christmas_tree/info.json b/keyboards/maple_computing/christmas_tree/info.json index 6aa86425a0..d60dabe1df 100644 --- a/keyboards/maple_computing/christmas_tree/info.json +++ b/keyboards/maple_computing/christmas_tree/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "vid": "0xFEED", | 7 | "vid": "0xFEED", |
| 8 | "pid": "0x3070" | 8 | "pid": "0x3070" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "D2" | ||
| 12 | }, | ||
| 10 | "processor": "atmega32u4", | 13 | "processor": "atmega32u4", |
| 11 | "bootloader": "caterina", | 14 | "bootloader": "caterina", |
| 12 | "layouts": { | 15 | "layouts": { |
diff --git a/keyboards/maple_computing/ivy/config.h b/keyboards/maple_computing/ivy/config.h index 949de97ba8..3192143e77 100644 --- a/keyboards/maple_computing/ivy/config.h +++ b/keyboards/maple_computing/ivy/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* Locking resynchronize hack */ | 25 | /* Locking resynchronize hack */ |
| 26 | #define LOCKING_RESYNC_ENABLE | 26 | #define LOCKING_RESYNC_ENABLE |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D2 | ||
| 29 | |||
| 30 | /* | 28 | /* |
| 31 | * Feature disable options | 29 | * Feature disable options |
| 32 | * These options are also useful to firmware size reduction. | 30 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/maple_computing/ivy/rev1/info.json b/keyboards/maple_computing/ivy/rev1/info.json index 3c028e0ea5..19109ca73f 100644 --- a/keyboards/maple_computing/ivy/rev1/info.json +++ b/keyboards/maple_computing/ivy/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6012", | 8 | "pid": "0x6012", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D2" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 15 | "bootloader": "caterina", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/maple_computing/jnao/config.h b/keyboards/maple_computing/jnao/config.h index 5b645dd5b9..24942e7a51 100644 --- a/keyboards/maple_computing/jnao/config.h +++ b/keyboards/maple_computing/jnao/config.h | |||
| @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { E6, F0, F5, F6, F7 } | 21 | #define MATRIX_ROW_PINS { E6, F0, F5, F6, F7 } |
| 22 | #define MATRIX_COL_PINS { F1, F4, B1, B2, B3, B7, D1, D2, D4, D6, D7, B4 } | 22 | #define MATRIX_COL_PINS { F1, F4, B1, B2, B3, B7, D1, D2, D4, D6, D7, B4 } |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN D0 | ||
| 25 | |||
| 26 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 27 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 28 | 26 | ||
diff --git a/keyboards/maple_computing/jnao/info.json b/keyboards/maple_computing/jnao/info.json index 84fd17bbb2..afa5a8674e 100644 --- a/keyboards/maple_computing/jnao/info.json +++ b/keyboards/maple_computing/jnao/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6017", | 8 | "pid": "0x6017", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D0" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_5x12", "ortho_4x12"], | 16 | "community_layouts": ["ortho_5x12", "ortho_4x12"], |
diff --git a/keyboards/maple_computing/lets_split_eh/eh/config.h b/keyboards/maple_computing/lets_split_eh/eh/config.h index 77afb19b14..55d2428db0 100644 --- a/keyboards/maple_computing/lets_split_eh/eh/config.h +++ b/keyboards/maple_computing/lets_split_eh/eh/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | |||
| 30 | /* ws2812 RGB LED */ | 28 | /* ws2812 RGB LED */ |
| 31 | #define RGB_DI_PIN B2 | 29 | #define RGB_DI_PIN B2 |
| 32 | #define RGBLED_NUM 12 // Number of LEDs (each hand) | 30 | #define RGBLED_NUM 12 // Number of LEDs (each hand) |
diff --git a/keyboards/maple_computing/lets_split_eh/eh/info.json b/keyboards/maple_computing/lets_split_eh/eh/info.json index b22fef655a..4574b10b64 100644 --- a/keyboards/maple_computing/lets_split_eh/eh/info.json +++ b/keyboards/maple_computing/lets_split_eh/eh/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xE401", | 8 | "pid": "0xE401", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "split": { | 14 | "split": { |
| 12 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/massdrop/thekey/config.h b/keyboards/massdrop/thekey/config.h index cba49f39f1..0869e77a7a 100644 --- a/keyboards/massdrop/thekey/config.h +++ b/keyboards/massdrop/thekey/config.h | |||
| @@ -25,8 +25,6 @@ | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION ROW2COL | 26 | #define DIODE_DIRECTION ROW2COL |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B6 | ||
| 29 | |||
| 30 | #define RGB_DI_PIN B1 | 28 | #define RGB_DI_PIN B1 |
| 31 | #define RGBLED_NUM 2 | 29 | #define RGBLED_NUM 2 |
| 32 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
diff --git a/keyboards/massdrop/thekey/info.json b/keyboards/massdrop/thekey/info.json index c80f4d9373..56fe74729c 100644 --- a/keyboards/massdrop/thekey/info.json +++ b/keyboards/massdrop/thekey/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 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/mechbrewery/mb65s/config.h b/keyboards/mechbrewery/mb65s/config.h index ca56069a1e..7023e30ced 100644 --- a/keyboards/mechbrewery/mb65s/config.h +++ b/keyboards/mechbrewery/mb65s/config.h | |||
| @@ -24,8 +24,6 @@ | |||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B5 | ||
| 28 | |||
| 29 | #define RGB_DI_PIN E2 | 27 | #define RGB_DI_PIN E2 |
| 30 | #ifdef RGB_DI_PIN | 28 | #ifdef RGB_DI_PIN |
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/mechkeys/acr60/config.h b/keyboards/mechkeys/acr60/config.h index 00cf0b0fb4..493f54b3f7 100644 --- a/keyboards/mechkeys/acr60/config.h +++ b/keyboards/mechkeys/acr60/config.h | |||
| @@ -24,9 +24,6 @@ | |||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B6 | ||
| 28 | #define BACKLIGHT_LEVELS 5 | ||
| 29 | |||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
| 32 | 29 | ||
diff --git a/keyboards/mechkeys/acr60/info.json b/keyboards/mechkeys/acr60/info.json index 216d8639a3..816e74a2bb 100644 --- a/keyboards/mechkeys/acr60/info.json +++ b/keyboards/mechkeys/acr60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xCA60", | 8 | "pid": "0xCA60", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/mechkeys/alu84/config.h b/keyboards/mechkeys/alu84/config.h index 00526afb0b..bb3b38500c 100755 --- a/keyboards/mechkeys/alu84/config.h +++ b/keyboards/mechkeys/alu84/config.h | |||
| @@ -33,9 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL */ | 33 | /* COL2ROW, ROW2COL */ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B6 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
| 38 | |||
| 39 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 40 | #if defined(RGBLIGHT_ENABLE) | 37 | #if defined(RGBLIGHT_ENABLE) |
| 41 | # define RGBLED_NUM 16 | 38 | # define RGBLED_NUM 16 |
diff --git a/keyboards/mechkeys/alu84/info.json b/keyboards/mechkeys/alu84/info.json index c3cedc651e..aaf9cc7ac1 100644 --- a/keyboards/mechkeys/alu84/info.json +++ b/keyboards/mechkeys/alu84/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xCA75", | 8 | "pid": "0xCA75", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layout_aliases": { | 17 | "layout_aliases": { |
diff --git a/keyboards/mechkeys/espectro/config.h b/keyboards/mechkeys/espectro/config.h index 5cc77b8bec..b345f44269 100755 --- a/keyboards/mechkeys/espectro/config.h +++ b/keyboards/mechkeys/espectro/config.h | |||
| @@ -24,9 +24,6 @@ | |||
| 24 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B6 | ||
| 28 | #define BACKLIGHT_LEVELS 5 | ||
| 29 | |||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
| 32 | 29 | ||
diff --git a/keyboards/mechkeys/espectro/info.json b/keyboards/mechkeys/espectro/info.json index 6877f1c316..1361065e75 100644 --- a/keyboards/mechkeys/espectro/info.json +++ b/keyboards/mechkeys/espectro/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xCA96", | 8 | "pid": "0xCA96", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "num_lock": "B0", | 17 | "num_lock": "B0", |
diff --git a/keyboards/mechkeys/mechmini/v1/config.h b/keyboards/mechkeys/mechmini/v1/config.h index 76de7a323c..3da5747d2b 100644 --- a/keyboards/mechkeys/mechmini/v1/config.h +++ b/keyboards/mechkeys/mechmini/v1/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 } | 22 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 } |
| 23 | #define DIODE_DIRECTION COL2ROW | 23 | #define DIODE_DIRECTION COL2ROW |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN D4 | ||
| 26 | |||
| 27 | /* RGB underglow */ | 25 | /* RGB underglow */ |
| 28 | // The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards. | 26 | // The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards. |
| 29 | // The same pin is used on the JJ40, at least. | 27 | // The same pin is used on the JJ40, at least. |
diff --git a/keyboards/mechkeys/mechmini/v1/info.json b/keyboards/mechkeys/mechmini/v1/info.json index d971979c34..751be56e38 100644 --- a/keyboards/mechkeys/mechmini/v1/info.json +++ b/keyboards/mechkeys/mechmini/v1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xCA40", | 8 | "pid": "0xCA40", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32a", | 14 | "processor": "atmega32a", |
| 12 | "bootloader": "bootloadhid", | 15 | "bootloader": "bootloadhid", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/mechkeys/mechmini/v2/config.h b/keyboards/mechkeys/mechmini/v2/config.h index 9794b87937..c318669851 100755 --- a/keyboards/mechkeys/mechmini/v2/config.h +++ b/keyboards/mechkeys/mechmini/v2/config.h | |||
| @@ -23,8 +23,6 @@ | |||
| 23 | /* COL2ROW or ROW2COL */ | 23 | /* COL2ROW or ROW2COL */ |
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B6 | ||
| 27 | |||
| 28 | /* 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 */ |
| 29 | #define LOCKING_SUPPORT_ENABLE | 27 | #define LOCKING_SUPPORT_ENABLE |
| 30 | 28 | ||
diff --git a/keyboards/mechkeys/mechmini/v2/info.json b/keyboards/mechkeys/mechmini/v2/info.json index bc8a60cd46..58ad7525db 100644 --- a/keyboards/mechkeys/mechmini/v2/info.json +++ b/keyboards/mechkeys/mechmini/v2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xCA40", | 8 | "pid": "0xCA40", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/mechkeys/mk60/config.h b/keyboards/mechkeys/mk60/config.h index 9b39355f47..065c3006c6 100644 --- a/keyboards/mechkeys/mk60/config.h +++ b/keyboards/mechkeys/mk60/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 6 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN E6 | 37 | #define RGB_DI_PIN E6 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 12 | 39 | #define RGBLED_NUM 12 |
diff --git a/keyboards/mechkeys/mk60/info.json b/keyboards/mechkeys/mk60/info.json index b78e144988..42d9c3bd24 100644 --- a/keyboards/mechkeys/mk60/info.json +++ b/keyboards/mechkeys/mk60/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B7", | 17 | "caps_lock": "B7", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/mechlovin/adelais/standard_led/arm/config.h b/keyboards/mechlovin/adelais/standard_led/arm/config.h index 90a5cf6575..e1081a9560 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/config.h +++ b/keyboards/mechlovin/adelais/standard_led/arm/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* COL2ROW, ROW2COL*/ | 23 | /* COL2ROW, ROW2COL*/ |
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B0 | ||
| 27 | #define BACKLIGHT_BREATHING | ||
| 28 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 29 | #define BACKLIGHT_PWM_CHANNEL 3 | 27 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 30 | 28 | ||
diff --git a/keyboards/mechlovin/adelais/standard_led/arm/info.json b/keyboards/mechlovin/adelais/standard_led/arm/info.json index 3835f71f94..a5f20190d1 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/info.json +++ b/keyboards/mechlovin/adelais/standard_led/arm/info.json | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "Adelais", | 2 | "keyboard_name": "Adelais", |
| 3 | "backlight": { | ||
| 4 | "pin": "B0", | ||
| 5 | "breathing": true | ||
| 6 | }, | ||
| 3 | "indicators": { | 7 | "indicators": { |
| 4 | "caps_lock": "B2", | 8 | "caps_lock": "B2", |
| 5 | "num_lock": "C15", | 9 | "num_lock": "C15", |
diff --git a/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h b/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h index 4605d08efb..aac4aae40d 100644 --- a/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h +++ b/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h | |||
| @@ -31,9 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* COL2ROW, ROW2COL*/ | 31 | /* COL2ROW, ROW2COL*/ |
| 32 | #define DIODE_DIRECTION ROW2COL | 32 | #define DIODE_DIRECTION ROW2COL |
| 33 | 33 | ||
| 34 | #define BACKLIGHT_PIN B5 | ||
| 35 | #define BACKLIGHT_BREATHING | ||
| 36 | |||
| 37 | #define RGB_DI_PIN E2 | 34 | #define RGB_DI_PIN E2 |
| 38 | #define RGBLED_NUM 23 | 35 | #define RGBLED_NUM 23 |
| 39 | #define RGBLIGHT_LIMIT_VAL 255 | 36 | #define RGBLIGHT_LIMIT_VAL 255 |
diff --git a/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json b/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json index f571ebab51..73ea66a997 100644 --- a/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json +++ b/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "pid": "0xAD04" | 4 | "pid": "0xAD04" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "B5", | ||
| 8 | "breathing": true | ||
| 9 | }, | ||
| 6 | "processor": "atmega32u4", | 10 | "processor": "atmega32u4", |
| 7 | "bootloader": "atmel-dfu", | 11 | "bootloader": "atmel-dfu", |
| 8 | "indicators": { | 12 | "indicators": { |
diff --git a/keyboards/mechlovin/delphine/mono_led/config.h b/keyboards/mechlovin/delphine/mono_led/config.h index b8b32068c0..b1ef0e072a 100644 --- a/keyboards/mechlovin/delphine/mono_led/config.h +++ b/keyboards/mechlovin/delphine/mono_led/config.h | |||
| @@ -1,10 +1,6 @@ | |||
| 1 | 1 | ||
| 2 | #pragma once | 2 | #pragma once |
| 3 | 3 | ||
| 4 | #ifdef BACKLIGHT_ENABLE | ||
| 5 | #define BACKLIGHT_PIN B6 | ||
| 6 | #endif | ||
| 7 | |||
| 8 | #ifdef RGBLIGHT_ENABLE | 4 | #ifdef RGBLIGHT_ENABLE |
| 9 | #define RGB_DI_PIN E2 | 5 | #define RGB_DI_PIN E2 |
| 10 | #define RGBLED_NUM 13 | 6 | #define RGBLED_NUM 13 |
diff --git a/keyboards/mechlovin/delphine/mono_led/info.json b/keyboards/mechlovin/delphine/mono_led/info.json index 2665906b80..ce88a638a9 100644 --- a/keyboards/mechlovin/delphine/mono_led/info.json +++ b/keyboards/mechlovin/delphine/mono_led/info.json | |||
| @@ -2,5 +2,8 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "pid": "0xDEF1", | 3 | "pid": "0xDEF1", |
| 4 | "device_version": "0.0.1" | 4 | "device_version": "0.0.1" |
| 5 | }, | ||
| 6 | "backlight": { | ||
| 7 | "pin": "B6" | ||
| 5 | } | 8 | } |
| 6 | } | 9 | } |
diff --git a/keyboards/mechlovin/hannah65/config.h b/keyboards/mechlovin/hannah65/config.h index ed43115e09..e96bc8bc85 100644 --- a/keyboards/mechlovin/hannah65/config.h +++ b/keyboards/mechlovin/hannah65/config.h | |||
| @@ -33,7 +33,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B8 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
| 38 | #define BACKLIGHT_PWM_DRIVER PWMD4 | 36 | #define BACKLIGHT_PWM_DRIVER PWMD4 |
| 39 | #define BACKLIGHT_PWM_CHANNEL 3 | 37 | #define BACKLIGHT_PWM_CHANNEL 3 |
diff --git a/keyboards/mechlovin/hannah65/info.json b/keyboards/mechlovin/hannah65/info.json index 8ec49a784e..74ae965fb7 100644 --- a/keyboards/mechlovin/hannah65/info.json +++ b/keyboards/mechlovin/hannah65/info.json | |||
| @@ -1,4 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "pin": "B8", | ||
| 4 | "breathing": true | ||
| 5 | }, | ||
| 2 | "indicators": { | 6 | "indicators": { |
| 3 | "caps_lock": "B9", | 7 | "caps_lock": "B9", |
| 4 | "on_state": 0 | 8 | "on_state": 0 |
diff --git a/keyboards/mechlovin/hannah910/config.h b/keyboards/mechlovin/hannah910/config.h index 78ad7b5a1b..be1d769e67 100644 --- a/keyboards/mechlovin/hannah910/config.h +++ b/keyboards/mechlovin/hannah910/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | |||
| 38 | #define BACKLIGHT_PIN B7 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 42 | #define RGBLIGHT_LIMIT_VAL 255 | 38 | #define RGBLIGHT_LIMIT_VAL 255 |
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/mechlovin/hannah910/rev1/info.json b/keyboards/mechlovin/hannah910/rev1/info.json index 7f61b0e023..ae5f966622 100644 --- a/keyboards/mechlovin/hannah910/rev1/info.json +++ b/keyboards/mechlovin/hannah910/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x9101", | 8 | "pid": "0x9101", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/mechlovin/hannah910/rev2/info.json b/keyboards/mechlovin/hannah910/rev2/info.json index 76cb6cb8f0..cfb43e786c 100644 --- a/keyboards/mechlovin/hannah910/rev2/info.json +++ b/keyboards/mechlovin/hannah910/rev2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x9102", | 8 | "pid": "0x9102", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi_blocker", "65_iso_blocker_split_bs"], | 17 | "community_layouts": ["65_ansi_blocker", "65_iso_blocker_split_bs"], |
diff --git a/keyboards/mechlovin/hannah910/rev3/info.json b/keyboards/mechlovin/hannah910/rev3/info.json index 7bae7c1579..14219cb9b6 100644 --- a/keyboards/mechlovin/hannah910/rev3/info.json +++ b/keyboards/mechlovin/hannah910/rev3/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x9103", | 8 | "pid": "0x9103", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi"], | 17 | "community_layouts": ["65_ansi"], |
diff --git a/keyboards/mechlovin/hex4b/rev1/config.h b/keyboards/mechlovin/hex4b/rev1/config.h index abd2a73e0e..1baf1aa2ea 100644 --- a/keyboards/mechlovin/hex4b/rev1/config.h +++ b/keyboards/mechlovin/hex4b/rev1/config.h | |||
| @@ -31,7 +31,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | 31 | ||
| 32 | #define MATRIX_ROW_PINS { B7, A2, A1, A3, A4, A5 } | 32 | #define MATRIX_ROW_PINS { B7, A2, A1, A3, A4, A5 } |
| 33 | #define MATRIX_COL_PINS { B6, B5, B3, B2, B1, B0, A0, A6, A7, C7, C6, C5, C4, D1, D0 } | 33 | #define MATRIX_COL_PINS { B6, B5, B3, B2, B1, B0, A0, A6, A7, C7, C6, C5, C4, D1, D0 } |
| 34 | |||
| 35 | #define BACKLIGHT_PIN D4 | ||
| 36 | #define BACKLIGHT_LEVELS 5 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
diff --git a/keyboards/mechlovin/hex4b/rev1/info.json b/keyboards/mechlovin/hex4b/rev1/info.json index 79bef8e9a7..cec380a91f 100644 --- a/keyboards/mechlovin/hex4b/rev1/info.json +++ b/keyboards/mechlovin/hex4b/rev1/info.json | |||
| @@ -3,6 +3,11 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "0.0.1" | 4 | "device_version": "0.0.1" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "D4", | ||
| 8 | "levels": 5, | ||
| 9 | "breathing": true | ||
| 10 | }, | ||
| 6 | "indicators": { | 11 | "indicators": { |
| 7 | "caps_lock": "D7", | 12 | "caps_lock": "D7", |
| 8 | "num_lock": "D6", | 13 | "num_lock": "D6", |
diff --git a/keyboards/mechlovin/hex4b/rev2/config.h b/keyboards/mechlovin/hex4b/rev2/config.h index cff2b7f915..c0486dd0b7 100644 --- a/keyboards/mechlovin/hex4b/rev2/config.h +++ b/keyboards/mechlovin/hex4b/rev2/config.h | |||
| @@ -32,7 +32,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define MATRIX_ROW_PINS { A4, B12, B13, B14, B15, A1 } | 32 | #define MATRIX_ROW_PINS { A4, B12, B13, B14, B15, A1 } |
| 33 | #define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A3, C13, B7, B6, B5, B4, B3 } | 33 | #define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A3, C13, B7, B6, B5, B4, B3 } |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B8 | ||
| 36 | #define BACKLIGHT_LEVELS 5 | ||
| 37 | #define BACKLIGHT_PWM_DRIVER PWMD4 | 35 | #define BACKLIGHT_PWM_DRIVER PWMD4 |
| 38 | #define BACKLIGHT_BREATHING | ||
diff --git a/keyboards/mechlovin/hex4b/rev2/info.json b/keyboards/mechlovin/hex4b/rev2/info.json index 6f5ddff9f7..7d9a2cb40a 100644 --- a/keyboards/mechlovin/hex4b/rev2/info.json +++ b/keyboards/mechlovin/hex4b/rev2/info.json | |||
| @@ -3,6 +3,11 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "0.0.2" | 4 | "device_version": "0.0.2" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | ||
| 7 | "pin": "B8", | ||
| 8 | "levels": 5, | ||
| 9 | "breathing": true | ||
| 10 | }, | ||
| 6 | "indicators": { | 11 | "indicators": { |
| 7 | "caps_lock": "B9", | 12 | "caps_lock": "B9", |
| 8 | "num_lock": "C15", | 13 | "num_lock": "C15", |
diff --git a/keyboards/mechlovin/hex6c/config.h b/keyboards/mechlovin/hex6c/config.h index 55ec2080d8..a2b1b0311b 100644 --- a/keyboards/mechlovin/hex6c/config.h +++ b/keyboards/mechlovin/hex6c/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B0 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 37 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 40 | #define BACKLIGHT_PWM_CHANNEL 3 | 38 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 41 | 39 | ||
diff --git a/keyboards/mechlovin/hex6c/info.json b/keyboards/mechlovin/hex6c/info.json index c076b7198b..e03f75c2b8 100644 --- a/keyboards/mechlovin/hex6c/info.json +++ b/keyboards/mechlovin/hex6c/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6C01", | 8 | "pid": "0x6C01", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B0", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "A4", | 16 | "caps_lock": "A4", |
| 13 | "num_lock": "A3", | 17 | "num_lock": "A3", |
diff --git a/keyboards/mechlovin/infinity87/rev1/config.h b/keyboards/mechlovin/infinity87/rev1/config.h index 7de2a2cc79..e03ee6dded 100644 --- a/keyboards/mechlovin/infinity87/rev1/config.h +++ b/keyboards/mechlovin/infinity87/rev1/config.h | |||
| @@ -19,8 +19,6 @@ | |||
| 19 | #define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 } | 19 | #define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 } |
| 20 | #define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7, B1, B2, B10, B3, B14, B15 } | 20 | #define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7, B1, B2, B10, B3, B14, B15 } |
| 21 | 21 | ||
| 22 | #define BACKLIGHT_PIN B0 | ||
| 23 | #define BACKLIGHT_BREATHING | ||
| 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 22 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 25 | #define BACKLIGHT_PWM_CHANNEL 3 | 23 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 26 | 24 | ||
diff --git a/keyboards/mechlovin/infinity87/rev1/info.json b/keyboards/mechlovin/infinity87/rev1/info.json index 0bcf668f11..be094e09ae 100644 --- a/keyboards/mechlovin/infinity87/rev1/info.json +++ b/keyboards/mechlovin/infinity87/rev1/info.json | |||
| @@ -1,4 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "pin": "B0", | ||
| 4 | "breathing": true | ||
| 5 | }, | ||
| 2 | "indicators": { | 6 | "indicators": { |
| 3 | "caps_lock": "A4", | 7 | "caps_lock": "A4", |
| 4 | "scroll_lock": "A8" | 8 | "scroll_lock": "A8" |
diff --git a/keyboards/mechlovin/infinity87/rev2/config.h b/keyboards/mechlovin/infinity87/rev2/config.h index 461c735f48..178374c1e7 100644 --- a/keyboards/mechlovin/infinity87/rev2/config.h +++ b/keyboards/mechlovin/infinity87/rev2/config.h | |||
| @@ -34,9 +34,6 @@ | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION ROW2COL | 35 | #define DIODE_DIRECTION ROW2COL |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #ifdef RGBLIGHT_ENABLE | 37 | #ifdef RGBLIGHT_ENABLE |
| 41 | #define RGB_DI_PIN E2 | 38 | #define RGB_DI_PIN E2 |
| 42 | #define RGBLED_NUM 24 | 39 | #define RGBLED_NUM 24 |
diff --git a/keyboards/mechlovin/infinity87/rev2/info.json b/keyboards/mechlovin/infinity87/rev2/info.json index 548e55f563..d75dd051bc 100644 --- a/keyboards/mechlovin/infinity87/rev2/info.json +++ b/keyboards/mechlovin/infinity87/rev2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x8702", | 8 | "pid": "0x8702", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "D6", | 16 | "caps_lock": "D6", |
| 13 | "num_lock": "D7", | 17 | "num_lock": "D7", |
diff --git a/keyboards/mechlovin/infinity88/config.h b/keyboards/mechlovin/infinity88/config.h index 862f954672..11ae35100b 100644 --- a/keyboards/mechlovin/infinity88/config.h +++ b/keyboards/mechlovin/infinity88/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B0 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
| 38 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 36 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 39 | #define BACKLIGHT_PWM_CHANNEL 3 | 37 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 40 | 38 | ||
diff --git a/keyboards/mechlovin/infinity88/info.json b/keyboards/mechlovin/infinity88/info.json index 8fd53b54cd..37ccd27537 100644 --- a/keyboards/mechlovin/infinity88/info.json +++ b/keyboards/mechlovin/infinity88/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x8802", | 8 | "pid": "0x8802", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B0", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "A4", | 16 | "caps_lock": "A4", |
| 13 | "num_lock": "A3" | 17 | "num_lock": "A3" |
diff --git a/keyboards/mechlovin/infinityce/config.h b/keyboards/mechlovin/infinityce/config.h index 0f71af88e7..e0900333cd 100644 --- a/keyboards/mechlovin/infinityce/config.h +++ b/keyboards/mechlovin/infinityce/config.h | |||
| @@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW, ROW2COL*/ | 24 | /* COL2ROW, ROW2COL*/ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B7 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | |||
| 30 | #define RGB_DI_PIN E2 | 27 | #define RGB_DI_PIN E2 |
| 31 | #define RGBLED_NUM 31 | 28 | #define RGBLED_NUM 31 |
| 32 | #define RGBLIGHT_LIMIT_VAL 255 | 29 | #define RGBLIGHT_LIMIT_VAL 255 |
diff --git a/keyboards/mechlovin/infinityce/info.json b/keyboards/mechlovin/infinityce/info.json index 23a34f48a8..1ab5cad305 100644 --- a/keyboards/mechlovin/infinityce/info.json +++ b/keyboards/mechlovin/infinityce/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x8801", | 8 | "pid": "0x8801", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/mechlovin/kanu/config.h b/keyboards/mechlovin/kanu/config.h index 6609920740..6a6dc97744 100644 --- a/keyboards/mechlovin/kanu/config.h +++ b/keyboards/mechlovin/kanu/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | |||
| 38 | #define BACKLIGHT_PIN B7 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | #define RGB_DI_PIN E2 | 37 | #define RGB_DI_PIN E2 |
| 42 | #define RGBLED_NUM 6 | 38 | #define RGBLED_NUM 6 |
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/mechlovin/kanu/info.json b/keyboards/mechlovin/kanu/info.json index 0f21e4b766..628a78e1a5 100644 --- a/keyboards/mechlovin/kanu/info.json +++ b/keyboards/mechlovin/kanu/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4B4E", | 8 | "pid": "0x4B4E", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi_blocker", "65_iso_blocker_split_bs", "65_iso_blocker"], | 17 | "community_layouts": ["65_ansi_blocker", "65_iso_blocker_split_bs", "65_iso_blocker"], |
diff --git a/keyboards/mechlovin/mechlovin9/rev1/config.h b/keyboards/mechlovin/mechlovin9/rev1/config.h index eca0a5236b..c5e997d425 100644 --- a/keyboards/mechlovin/mechlovin9/rev1/config.h +++ b/keyboards/mechlovin/mechlovin9/rev1/config.h | |||
| @@ -30,7 +30,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 } | 30 | #define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 } |
| 31 | #define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 } | 31 | #define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 } |
| 32 | 32 | ||
| 33 | #define BACKLIGHT_PIN B8 | ||
| 34 | #define BACKLIGHT_BREATHING | ||
| 35 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 33 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 36 | #define BACKLIGHT_PWM_CHANNEL 3 \ No newline at end of file | 34 | #define BACKLIGHT_PWM_CHANNEL 3 |
diff --git a/keyboards/mechlovin/mechlovin9/rev1/info.json b/keyboards/mechlovin/mechlovin9/rev1/info.json index c955b37fc2..66b4a3c2ed 100644 --- a/keyboards/mechlovin/mechlovin9/rev1/info.json +++ b/keyboards/mechlovin/mechlovin9/rev1/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x6509", | 4 | "pid": "0x6509", |
| 5 | "device_version": "0.0.1" | 5 | "device_version": "0.0.1" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "B8", | ||
| 9 | "breathing": true | ||
| 10 | }, | ||
| 7 | "indicators": { | 11 | "indicators": { |
| 8 | "caps_lock": "B9" | 12 | "caps_lock": "B9" |
| 9 | }, | 13 | }, |
diff --git a/keyboards/mechlovin/mechlovin9/rev2/config.h b/keyboards/mechlovin/mechlovin9/rev2/config.h index aa8c9db9f3..f550a2e39a 100644 --- a/keyboards/mechlovin/mechlovin9/rev2/config.h +++ b/keyboards/mechlovin/mechlovin9/rev2/config.h | |||
| @@ -29,6 +29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | */ | 29 | */ |
| 30 | #define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 } | 30 | #define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 } |
| 31 | #define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 } | 31 | #define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 } |
| 32 | |||
| 33 | #define BACKLIGHT_PIN D4 | ||
| 34 | #define BACKLIGHT_BREATHING | ||
diff --git a/keyboards/mechlovin/mechlovin9/rev2/info.json b/keyboards/mechlovin/mechlovin9/rev2/info.json index 47fdf4973d..c0e94e7638 100644 --- a/keyboards/mechlovin/mechlovin9/rev2/info.json +++ b/keyboards/mechlovin/mechlovin9/rev2/info.json | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | "pid": "0x6509", | 4 | "pid": "0x6509", |
| 5 | "device_version": "0.0.2" | 5 | "device_version": "0.0.2" |
| 6 | }, | 6 | }, |
| 7 | "backlight": { | ||
| 8 | "pin": "D4", | ||
| 9 | "breathing": true | ||
| 10 | }, | ||
| 7 | "indicators": { | 11 | "indicators": { |
| 8 | "caps_lock": "A7" | 12 | "caps_lock": "A7" |
| 9 | }, | 13 | }, |
diff --git a/keyboards/mechlovin/olly/bb/config.h b/keyboards/mechlovin/olly/bb/config.h index f58cbef78e..0f9a61426e 100644 --- a/keyboards/mechlovin/olly/bb/config.h +++ b/keyboards/mechlovin/olly/bb/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | */ | 34 | */ |
| 35 | #define MATRIX_ROW_PINS {D6, A5, A4, A3, A6} | 35 | #define MATRIX_ROW_PINS {D6, A5, A4, A3, A6} |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN D4 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #ifdef RGBLIGHT_ENABLE | 37 | #ifdef RGBLIGHT_ENABLE |
| 41 | #define RGB_DI_PIN B3 | 38 | #define RGB_DI_PIN B3 |
| 42 | #define RGBLED_NUM 24 | 39 | #define RGBLED_NUM 24 |
diff --git a/keyboards/mechlovin/olly/bb/info.json b/keyboards/mechlovin/olly/bb/info.json index e5a55c5add..887e32d9a5 100644 --- a/keyboards/mechlovin/olly/bb/info.json +++ b/keyboards/mechlovin/olly/bb/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xD181", | 8 | "pid": "0xD181", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B0", | 16 | "caps_lock": "B0", |
| 13 | "num_lock": "B1", | 17 | "num_lock": "B1", |
diff --git a/keyboards/mechlovin/olly/jf/config.h b/keyboards/mechlovin/olly/jf/config.h index 7d29b1901e..2b42e66edc 100644 --- a/keyboards/mechlovin/olly/jf/config.h +++ b/keyboards/mechlovin/olly/jf/config.h | |||
| @@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | /* COL2ROW, ROW2COL */ | 37 | /* COL2ROW, ROW2COL */ |
| 38 | #define DIODE_DIRECTION ROW2COL | 38 | #define DIODE_DIRECTION ROW2COL |
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN D4 | ||
| 41 | #define BACKLIGHT_BREATHING | ||
| 42 | |||
| 43 | #define RGB_DI_PIN B3 | 40 | #define RGB_DI_PIN B3 |
| 44 | #define RGBLED_NUM 27 | 41 | #define RGBLED_NUM 27 |
| 45 | #define RGBLIGHT_LIMIT_VAL 255 | 42 | #define RGBLIGHT_LIMIT_VAL 255 |
diff --git a/keyboards/mechlovin/olly/jf/info.json b/keyboards/mechlovin/olly/jf/info.json index fdfe0dda91..86de2f1bfe 100644 --- a/keyboards/mechlovin/olly/jf/info.json +++ b/keyboards/mechlovin/olly/jf/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xD180", | 8 | "pid": "0xD180", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B0", | 16 | "caps_lock": "B0", |
| 13 | "num_lock": "B1", | 17 | "num_lock": "B1", |
diff --git a/keyboards/mechlovin/pisces/config.h b/keyboards/mechlovin/pisces/config.h index ea0404eef5..1540505bad 100644 --- a/keyboards/mechlovin/pisces/config.h +++ b/keyboards/mechlovin/pisces/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | |||
| 38 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 39 | #ifdef RGB_DI_PIN | 37 | #ifdef RGB_DI_PIN |
| 40 | #define RGBLED_NUM 12 | 38 | #define RGBLED_NUM 12 |
diff --git a/keyboards/mechlovin/pisces/info.json b/keyboards/mechlovin/pisces/info.json index f88f37c23c..19246528e7 100644 --- a/keyboards/mechlovin/pisces/info.json +++ b/keyboards/mechlovin/pisces/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6501", | 8 | "pid": "0x6501", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B2" | 15 | "caps_lock": "B2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/mechlovin/serratus/config.h b/keyboards/mechlovin/serratus/config.h index 3e7092190a..abfafffd0d 100644 --- a/keyboards/mechlovin/serratus/config.h +++ b/keyboards/mechlovin/serratus/config.h | |||
| @@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | /* COL2ROW, ROW2COL*/ | 38 | /* COL2ROW, ROW2COL*/ |
| 39 | #define DIODE_DIRECTION ROW2COL | 39 | #define DIODE_DIRECTION ROW2COL |
| 40 | 40 | ||
| 41 | #define BACKLIGHT_PIN B6 | ||
| 42 | #define BACKLIGHT_BREATHING | ||
| 43 | |||
| 44 | #ifdef RGBLIGHT_ENABLE | 41 | #ifdef RGBLIGHT_ENABLE |
| 45 | #define RGB_DI_PIN E2 | 42 | #define RGB_DI_PIN E2 |
| 46 | #define RGBLED_NUM 24 | 43 | #define RGBLED_NUM 24 |
diff --git a/keyboards/mechlovin/serratus/info.json b/keyboards/mechlovin/serratus/info.json index 98fc8af770..e5125314cb 100644 --- a/keyboards/mechlovin/serratus/info.json +++ b/keyboards/mechlovin/serratus/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0870", | 8 | "pid": "0x0870", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "D6", | 16 | "caps_lock": "D6", |
| 13 | "num_lock": "D7", | 17 | "num_lock": "D7", |
diff --git a/keyboards/mechlovin/tmkl/config.h b/keyboards/mechlovin/tmkl/config.h index 3b4d904706..54cd52de76 100644 --- a/keyboards/mechlovin/tmkl/config.h +++ b/keyboards/mechlovin/tmkl/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B8 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
| 38 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 36 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 39 | #define BACKLIGHT_PWM_CHANNEL 3 | 37 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 40 | 38 | ||
diff --git a/keyboards/mechlovin/tmkl/info.json b/keyboards/mechlovin/tmkl/info.json index f49d274979..5cdd06aa12 100644 --- a/keyboards/mechlovin/tmkl/info.json +++ b/keyboards/mechlovin/tmkl/info.json | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | "pid": "0xC601", | 7 | "pid": "0xC601", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B8", | ||
| 12 | "breathing": true | ||
| 13 | }, | ||
| 10 | "indicators": { | 14 | "indicators": { |
| 11 | "caps_lock": "B9" | 15 | "caps_lock": "B9" |
| 12 | }, | 16 | }, |
diff --git a/keyboards/mehkee96/config.h b/keyboards/mehkee96/config.h index 65b809de41..2066e16662 100644 --- a/keyboards/mehkee96/config.h +++ b/keyboards/mehkee96/config.h | |||
| @@ -5,8 +5,6 @@ | |||
| 5 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } | 5 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } |
| 6 | #define DIODE_DIRECTION COL2ROW | 6 | #define DIODE_DIRECTION COL2ROW |
| 7 | 7 | ||
| 8 | #define BACKLIGHT_PIN D4 | ||
| 9 | |||
| 10 | #define RGBLED_NUM 18 | 8 | #define RGBLED_NUM 18 |
| 11 | #define RGBLIGHT_EFFECT_BREATHING | 9 | #define RGBLIGHT_EFFECT_BREATHING |
| 12 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 10 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/mehkee96/info.json b/keyboards/mehkee96/info.json index 82f8ef6717..40f4cd71b4 100644 --- a/keyboards/mehkee96/info.json +++ b/keyboards/mehkee96/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0" | 16 | "num_lock": "D0" |
diff --git a/keyboards/melgeek/mj6xy/rev3/config.h b/keyboards/melgeek/mj6xy/rev3/config.h index aa0e0e6097..a093ab8d37 100755 --- a/keyboards/melgeek/mj6xy/rev3/config.h +++ b/keyboards/melgeek/mj6xy/rev3/config.h | |||
| @@ -22,14 +22,8 @@ | |||
| 22 | /* COL2ROW, ROW2COL*/ | 22 | /* COL2ROW, ROW2COL*/ |
| 23 | #define DIODE_DIRECTION COL2ROW | 23 | #define DIODE_DIRECTION COL2ROW |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN B7 | ||
| 26 | |||
| 27 | #define RGB_DI_PIN C6 | 25 | #define RGB_DI_PIN C6 |
| 28 | 26 | ||
| 29 | #ifdef BACKLIGHT_PIN | ||
| 30 | # define BACKLIGHT_LEVELS 10 | ||
| 31 | #endif | ||
| 32 | |||
| 33 | #ifdef RGB_DI_PIN | 27 | #ifdef RGB_DI_PIN |
| 34 | # define RGBLIGHT_EFFECT_BREATHING | 28 | # define RGBLIGHT_EFFECT_BREATHING |
| 35 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/melgeek/mj6xy/rev3/info.json b/keyboards/melgeek/mj6xy/rev3/info.json new file mode 100644 index 0000000000..ccd7165a72 --- /dev/null +++ b/keyboards/melgeek/mj6xy/rev3/info.json | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | { | ||
| 2 | "backlight": { | ||
| 3 | "driver": "software", | ||
| 4 | "pin": "B7", | ||
| 5 | "levels": 10 | ||
| 6 | } | ||
| 7 | } | ||
diff --git a/keyboards/melgeek/mj6xy/rev3/rules.mk b/keyboards/melgeek/mj6xy/rev3/rules.mk index 6559b3778b..51b869696a 100755 --- a/keyboards/melgeek/mj6xy/rev3/rules.mk +++ b/keyboards/melgeek/mj6xy/rev3/rules.mk | |||
| @@ -10,4 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover | |||
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 12 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 13 | BACKLIGHT_DRIVER = software | ||
diff --git a/keyboards/meme/config.h b/keyboards/meme/config.h index 44ef90ed66..cf96f9f4de 100644 --- a/keyboards/meme/config.h +++ b/keyboards/meme/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/meme/info.json b/keyboards/meme/info.json index 872a9523d1..500c76ebdf 100644 --- a/keyboards/meme/info.json +++ b/keyboards/meme/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u2", | 15 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/merge/iso_macro/config.h b/keyboards/merge/iso_macro/config.h index b662589523..cde82e7341 100644 --- a/keyboards/merge/iso_macro/config.h +++ b/keyboards/merge/iso_macro/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #define MATRIX_ROW_PINS { F4, F5, F6} | 20 | #define MATRIX_ROW_PINS { F4, F5, F6} |
| 21 | #define MATRIX_COL_PINS { B4, B5, B6} | 21 | #define MATRIX_COL_PINS { B4, B5, B6} |
| 22 | #define BACKLIGHT_PIN B7 | ||
| 23 | 22 | ||
| 24 | /* COL2ROW or ROW2COL */ | 23 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/merge/iso_macro/info.json b/keyboards/merge/iso_macro/info.json index 3c5f6d6784..123438a5be 100644 --- a/keyboards/merge/iso_macro/info.json +++ b/keyboards/merge/iso_macro/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x1200", | 8 | "pid": "0x1200", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/merge/uma/config.h b/keyboards/merge/uma/config.h index 8744fc0fd5..4cbb583321 100644 --- a/keyboards/merge/uma/config.h +++ b/keyboards/merge/uma/config.h | |||
| @@ -19,8 +19,6 @@ | |||
| 19 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 } | 19 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 } |
| 20 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4 } | 20 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4 } |
| 21 | 21 | ||
| 22 | #define BACKLIGHT_PIN C6 | ||
| 23 | |||
| 24 | /* COL2ROW or ROW2COL */ | 22 | /* COL2ROW or ROW2COL */ |
| 25 | #define DIODE_DIRECTION COL2ROW | 23 | #define DIODE_DIRECTION COL2ROW |
| 26 | 24 | ||
diff --git a/keyboards/merge/uma/info.json b/keyboards/merge/uma/info.json index 0031f4ae8e..11ccd102a5 100644 --- a/keyboards/merge/uma/info.json +++ b/keyboards/merge/uma/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3232", | 8 | "pid": "0x3232", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6" | ||
| 13 | }, | ||
| 11 | "split": { | 14 | "split": { |
| 12 | "soft_serial_pin": "D2" | 15 | "soft_serial_pin": "D2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/metamechs/timberwolf/config.h b/keyboards/metamechs/timberwolf/config.h index 7e259d0817..83501eb878 100644 --- a/keyboards/metamechs/timberwolf/config.h +++ b/keyboards/metamechs/timberwolf/config.h | |||
| @@ -44,10 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 44 | /* Reverse encoder direction */ | 44 | /* Reverse encoder direction */ |
| 45 | // #define ENCODER_DIRECTION_FLIP | 45 | // #define ENCODER_DIRECTION_FLIP |
| 46 | 46 | ||
| 47 | /* Backlighting code used for caps lock indicator */ | ||
| 48 | #define BACKLIGHT_PIN C6 | ||
| 49 | #define BACKLIGHT_LEVELS 16 | ||
| 50 | |||
| 51 | /* | 47 | /* |
| 52 | * Feature disable options | 48 | * Feature disable options |
| 53 | * These options are also useful to firmware size reduction. | 49 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/metamechs/timberwolf/info.json b/keyboards/metamechs/timberwolf/info.json index 87ee8d48a8..4d6e82eec6 100644 --- a/keyboards/metamechs/timberwolf/info.json +++ b/keyboards/metamechs/timberwolf/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x5754", | 8 | "pid": "0x5754", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6", | ||
| 13 | "levels": 16 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/metamechs/timberwolf/rules.mk b/keyboards/metamechs/timberwolf/rules.mk index 0a9f98774c..247b4e978a 100644 --- a/keyboards/metamechs/timberwolf/rules.mk +++ b/keyboards/metamechs/timberwolf/rules.mk | |||
| @@ -12,5 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||
| 12 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 13 | ENCODER_ENABLE = yes # Enable encoder support | 13 | ENCODER_ENABLE = yes # Enable encoder support |
| 14 | LTO_ENABLE = yes | 14 | LTO_ENABLE = yes |
| 15 | |||
| 16 | BACKLIGHT_DRIVER = pwm | ||
diff --git a/keyboards/mntre/config.h b/keyboards/mntre/config.h index 123d66fcdf..54a640366b 100644 --- a/keyboards/mntre/config.h +++ b/keyboards/mntre/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | /* COL2ROW, ROW2COL */ | 20 | /* COL2ROW, ROW2COL */ |
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN B7 | ||
| 24 | #define BACKLIGHT_CUSTOM_RESOLUTION 0x400 | 23 | #define BACKLIGHT_CUSTOM_RESOLUTION 0x400 |
| 25 | 24 | ||
| 26 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 25 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
diff --git a/keyboards/mntre/info.json b/keyboards/mntre/info.json index dd26827624..36426c3cc1 100644 --- a/keyboards/mntre/info.json +++ b/keyboards/mntre/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "B7", | ||
| 12 | "max_brightness": 84 | 13 | "max_brightness": 84 |
| 13 | }, | 14 | }, |
| 14 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
diff --git a/keyboards/mntre/rules.mk b/keyboards/mntre/rules.mk index ce8ecc4a9c..a56f94b312 100644 --- a/keyboards/mntre/rules.mk +++ b/keyboards/mntre/rules.mk | |||
| @@ -11,5 +11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | |||
| 11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 12 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 13 | OLED_ENABLE = yes | 13 | OLED_ENABLE = yes |
| 14 | BACKLIGHT_DRIVER = pwm | ||
| 15 | |||
diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h index 09e9b7bc73..6c90b66be5 100644 --- a/keyboards/mode/m75s/config.h +++ b/keyboards/mode/m75s/config.h | |||
| @@ -28,9 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | /* Locking resynchronize hack */ | 28 | /* Locking resynchronize hack */ |
| 29 | #define LOCKING_RESYNC_ENABLE | 29 | #define LOCKING_RESYNC_ENABLE |
| 30 | 30 | ||
| 31 | #define BACKLIGHT_PIN C6 | ||
| 32 | #define BACKLIGHT_LEVELS 20 | ||
| 33 | #define BACKLIGHT_CAPS_LOCK | ||
| 34 | #define BACKLIGHT_DEFAULT_LEVEL 20 | 31 | #define BACKLIGHT_DEFAULT_LEVEL 20 |
| 35 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 32 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 36 | #define BACKLIGHT_PWM_CHANNEL 1 | 33 | #define BACKLIGHT_PWM_CHANNEL 1 |
diff --git a/keyboards/mode/m75s/info.json b/keyboards/mode/m75s/info.json index 58768a1063..f046a8dffd 100644 --- a/keyboards/mode/m75s/info.json +++ b/keyboards/mode/m75s/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x7583", | 8 | "pid": "0x7583", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6", | ||
| 13 | "levels": 20, | ||
| 14 | "as_caps_lock": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F401", | 16 | "processor": "STM32F401", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/mokey/ginkgo65/config.h b/keyboards/mokey/ginkgo65/config.h deleted file mode 100644 index 320718238a..0000000000 --- a/keyboards/mokey/ginkgo65/config.h +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | // Copyright 2023 QMK | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | #define BACKLIGHT_CAPS_LOCK | ||
diff --git a/keyboards/mokey/ginkgo65/info.json b/keyboards/mokey/ginkgo65/info.json index c081cda703..81e3fe1a38 100644 --- a/keyboards/mokey/ginkgo65/info.json +++ b/keyboards/mokey/ginkgo65/info.json | |||
| @@ -18,7 +18,8 @@ | |||
| 18 | "backlight": { | 18 | "backlight": { |
| 19 | "pin": "B6", | 19 | "pin": "B6", |
| 20 | "levels": 6, | 20 | "levels": 6, |
| 21 | "breathing": true | 21 | "breathing": true, |
| 22 | "as_caps_lock": true | ||
| 22 | }, | 23 | }, |
| 23 | "layout_aliases": { | 24 | "layout_aliases": { |
| 24 | "LAYOUT": "LAYOUT_65_ansi_blocker" | 25 | "LAYOUT": "LAYOUT_65_ansi_blocker" |
diff --git a/keyboards/mokey/ginkgo65hot/config.h b/keyboards/mokey/ginkgo65hot/config.h index 148a1ce5c2..c3f836fd12 100644 --- a/keyboards/mokey/ginkgo65hot/config.h +++ b/keyboards/mokey/ginkgo65hot/config.h | |||
| @@ -17,8 +17,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, F7 } | 17 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, F7 } |
| 18 | #define MATRIX_COL_PINS { C7, F6, F5, F4, F1, E6, D0, D1, D2, D3, D5, D4, D6, D7, B4 } | 18 | #define MATRIX_COL_PINS { C7, F6, F5, F4, F1, E6, D0, D1, D2, D3, D5, D4, D6, D7, B4 } |
| 19 | #define DIODE_DIRECTION COL2ROW | 19 | #define DIODE_DIRECTION COL2ROW |
| 20 | |||
| 21 | #define BACKLIGHT_PIN B6 | ||
| 22 | #define BACKLIGHT_LEVELS 6 | ||
| 23 | #define BACKLIGHT_CAPS_LOCK | ||
| 24 | #define BACKLIGHT_BREATHING | ||
diff --git a/keyboards/mokey/ginkgo65hot/info.json b/keyboards/mokey/ginkgo65hot/info.json index 9083672c7d..31427c7cb3 100644 --- a/keyboards/mokey/ginkgo65hot/info.json +++ b/keyboards/mokey/ginkgo65hot/info.json | |||
| @@ -8,6 +8,12 @@ | |||
| 8 | "pid": "0x3366", | 8 | "pid": "0x3366", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true, | ||
| 15 | "as_caps_lock": true | ||
| 16 | }, | ||
| 11 | "processor": "atmega32u4", | 17 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 18 | "bootloader": "atmel-dfu", |
| 13 | "layout_aliases": { | 19 | "layout_aliases": { |
diff --git a/keyboards/monarch/config.h b/keyboards/monarch/config.h index 7708f0fc16..3f7a66bf06 100644 --- a/keyboards/monarch/config.h +++ b/keyboards/monarch/config.h | |||
| @@ -26,13 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define ENCODERS_PAD_B { B5 } | 26 | #define ENCODERS_PAD_B { B5 } |
| 27 | #define ENCODER_RESOLUTION 1 | 27 | #define ENCODER_RESOLUTION 1 |
| 28 | 28 | ||
| 29 | //LEDS A6 | ||
| 30 | #define BACKLIGHT_PIN A6 | ||
| 31 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 29 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 32 | #define BACKLIGHT_PWM_CHANNEL 1 | 30 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 33 | #define BACKLIGHT_PAL_MODE 1 | 31 | #define BACKLIGHT_PAL_MODE 1 |
| 34 | #define BACKLIGHT_LEVELS 24 | ||
| 35 | #define BACKLIGHT_BREATHING | ||
| 36 | 32 | ||
| 37 | #define SLEEP_LED_GPT_DRIVER GPTD1 | 33 | #define SLEEP_LED_GPT_DRIVER GPTD1 |
| 38 | 34 | ||
diff --git a/keyboards/monarch/info.json b/keyboards/monarch/info.json index cb5239e915..c4d1362a5b 100644 --- a/keyboards/monarch/info.json +++ b/keyboards/monarch/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x43C1", | 8 | "pid": "0x43C1", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 24, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/monarch/rules.mk b/keyboards/monarch/rules.mk index bed35367eb..5a2c15a821 100644 --- a/keyboards/monarch/rules.mk +++ b/keyboards/monarch/rules.mk | |||
| @@ -13,7 +13,5 @@ AUDIO_ENABLE = no # Audio output | |||
| 13 | SLEEP_LED_ENABLE = yes | 13 | SLEEP_LED_ENABLE = yes |
| 14 | ENCODER_ENABLE = yes | 14 | ENCODER_ENABLE = yes |
| 15 | 15 | ||
| 16 | BACKLIGHT_DRIVER = pwm | ||
| 17 | |||
| 18 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 16 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
| 19 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 17 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/monstargear/xo87/solderable/config.h b/keyboards/monstargear/xo87/solderable/config.h index a4cf5c8038..65c76647ab 100644 --- a/keyboards/monstargear/xo87/solderable/config.h +++ b/keyboards/monstargear/xo87/solderable/config.h | |||
| @@ -19,8 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #define brightnessMax 8 | 20 | #define brightnessMax 8 |
| 21 | 21 | ||
| 22 | #define BACKLIGHT_PIN F0 | ||
| 23 | |||
| 24 | #define MATRIX_ROW_PINS { E6,E7,E3,B0,B1,A2} | 22 | #define MATRIX_ROW_PINS { E6,E7,E3,B0,B1,A2} |
| 25 | #define MATRIX_COL_PINS { C5,C3,C1,E1,D6,D2,B7,B3,F6,F7,F3,A5,A1,E2,C7,A6 } | 23 | #define MATRIX_COL_PINS { C5,C3,C1,E1,D6,D2,B7,B3,F6,F7,F3,A5,A1,E2,C7,A6 } |
| 26 | 24 | ||
diff --git a/keyboards/monstargear/xo87/solderable/info.json b/keyboards/monstargear/xo87/solderable/info.json index 8a6e4984d6..f3a8ca1657 100644 --- a/keyboards/monstargear/xo87/solderable/info.json +++ b/keyboards/monstargear/xo87/solderable/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x5344", | 8 | "pid": "0x5344", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "pin": "F0" | ||
| 14 | }, | ||
| 11 | "processor": "at90usb646", | 15 | "processor": "at90usb646", |
| 12 | "bootloader": "lufa-dfu", | 16 | "bootloader": "lufa-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/monstargear/xo87/solderable/rules.mk b/keyboards/monstargear/xo87/solderable/rules.mk index f015ea5d01..d845a512bb 100644 --- a/keyboards/monstargear/xo87/solderable/rules.mk +++ b/keyboards/monstargear/xo87/solderable/rules.mk | |||
| @@ -10,4 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover | |||
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 12 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
| 13 | BACKLIGHT_DRIVER = custom | ||
diff --git a/keyboards/moon/config.h b/keyboards/moon/config.h index ce262dee84..dda1618522 100644 --- a/keyboards/moon/config.h +++ b/keyboards/moon/config.h | |||
| @@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_ROWS 8 | 22 | #define MATRIX_ROWS 8 |
| 23 | #define MATRIX_COLS 11 | 23 | #define MATRIX_COLS 11 |
| 24 | 24 | ||
| 25 | /* Backlight */ | ||
| 26 | #define BACKLIGHT_PIN C6 | ||
| 27 | |||
| 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 25 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 29 | #define LOCKING_SUPPORT_ENABLE | 26 | #define LOCKING_SUPPORT_ENABLE |
| 30 | /* Locking resynchronize hack */ | 27 | /* Locking resynchronize hack */ |
diff --git a/keyboards/moon/info.json b/keyboards/moon/info.json index 5ad57b3867..153f6f74a9 100644 --- a/keyboards/moon/info.json +++ b/keyboards/moon/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xFCB8", | 8 | "pid": "0xFCB8", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B5", | 15 | "caps_lock": "B5", |
| 13 | "scroll_lock": "B6" | 16 | "scroll_lock": "B6" |
diff --git a/keyboards/mt/blocked65/config.h b/keyboards/mt/blocked65/config.h index e2c8b53b73..bd4c880e3b 100644 --- a/keyboards/mt/blocked65/config.h +++ b/keyboards/mt/blocked65/config.h | |||
| @@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 27 | #define DIODE_DIRECTION ROW2COL | 27 | #define DIODE_DIRECTION ROW2COL |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN B6 | ||
| 30 | #define BACKLIGHT_LEVELS 6 | ||
| 31 | |||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
| 34 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
diff --git a/keyboards/mt/blocked65/info.json b/keyboards/mt/blocked65/info.json index 3a76a3bc61..c16d04cd5b 100644 --- a/keyboards/mt/blocked65/info.json +++ b/keyboards/mt/blocked65/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi_blocker"], | 17 | "community_layouts": ["65_ansi_blocker"], |
diff --git a/keyboards/mt/mt40/config.h b/keyboards/mt/mt40/config.h index 61947facbc..8a77b3dc7b 100644 --- a/keyboards/mt/mt40/config.h +++ b/keyboards/mt/mt40/config.h | |||
| @@ -52,8 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 52 | /* COL2ROW, ROW2COL*/ | 52 | /* COL2ROW, ROW2COL*/ |
| 53 | #define DIODE_DIRECTION COL2ROW | 53 | #define DIODE_DIRECTION COL2ROW |
| 54 | 54 | ||
| 55 | #define BACKLIGHT_PIN D2 | ||
| 56 | |||
| 57 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 55 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 58 | /* #define LOCKING_SUPPORT_ENABLE */ | 56 | /* #define LOCKING_SUPPORT_ENABLE */ |
| 59 | /* Locking resynchronize hack */ | 57 | /* Locking resynchronize hack */ |
diff --git a/keyboards/mt/mt40/info.json b/keyboards/mt/mt40/info.json index 89b385472c..730cdf6c24 100644 --- a/keyboards/mt/mt40/info.json +++ b/keyboards/mt/mt40/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D2" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32a", | 14 | "processor": "atmega32a", |
| 12 | "bootloader": "bootloadhid", | 15 | "bootloader": "bootloadhid", |
| 13 | "community_layouts": ["planck_mit"], | 16 | "community_layouts": ["planck_mit"], |
diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h index 01187d43a0..8a5dbe68f8 100644 --- a/keyboards/mt/mt980/config.h +++ b/keyboards/mt/mt980/config.h | |||
| @@ -8,8 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION ROW2COL | 9 | #define DIODE_DIRECTION ROW2COL |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B6 | ||
| 12 | |||
| 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 14 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 15 | 13 | ||
diff --git a/keyboards/mt/mt980/info.json b/keyboards/mt/mt980/info.json index e1c9f2758f..59afd26650 100644 --- a/keyboards/mt/mt980/info.json +++ b/keyboards/mt/mt980/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 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "C7", | 15 | "caps_lock": "C7", |
| 13 | "num_lock": "C6", | 16 | "num_lock": "C6", |
diff --git a/keyboards/mt/ncr80/solder/config.h b/keyboards/mt/ncr80/solder/config.h index f9463fc079..c6828a9323 100644 --- a/keyboards/mt/ncr80/solder/config.h +++ b/keyboards/mt/ncr80/solder/config.h | |||
| @@ -31,7 +31,3 @@ | |||
| 31 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } | 31 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } |
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION ROW2COL | 33 | #define DIODE_DIRECTION ROW2COL |
| 34 | |||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | #define BACKLIGHT_LEVELS 5 | ||
| 37 | |||
diff --git a/keyboards/mt/ncr80/solder/info.json b/keyboards/mt/ncr80/solder/info.json index 1718eae5fd..2005f45d48 100644 --- a/keyboards/mt/ncr80/solder/info.json +++ b/keyboards/mt/ncr80/solder/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x2001", | 8 | "pid": "0x2001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "C6", | 16 | "caps_lock": "C6", |
| 13 | "num_lock": "B5", | 17 | "num_lock": "B5", |
diff --git a/keyboards/mt/split75/config.h b/keyboards/mt/split75/config.h index 0f18e23646..f954d5fd95 100644 --- a/keyboards/mt/split75/config.h +++ b/keyboards/mt/split75/config.h | |||
| @@ -20,6 +20,4 @@ | |||
| 20 | #define RGBLIGHT_EFFECT_TWINKLE | 20 | #define RGBLIGHT_EFFECT_TWINKLE |
| 21 | #define RGBLIGHT_SLEEP | 21 | #define RGBLIGHT_SLEEP |
| 22 | 22 | ||
| 23 | #define BACKLIGHT_PIN D4 | ||
| 24 | |||
| 25 | #define I2C_START_RETRY_COUNT 1 | 23 | #define I2C_START_RETRY_COUNT 1 |
diff --git a/keyboards/mt/split75/info.json b/keyboards/mt/split75/info.json index 13f3e32c6f..e97d70bf3b 100644 --- a/keyboards/mt/split75/info.json +++ b/keyboards/mt/split75/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/ncc1701kb/config.h b/keyboards/ncc1701kb/config.h index 09207fb27a..959be9fb72 100644 --- a/keyboards/ncc1701kb/config.h +++ b/keyboards/ncc1701kb/config.h | |||
| @@ -22,10 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_ROW_PINS { D4, D6, D7 } | 22 | #define MATRIX_ROW_PINS { D4, D6, D7 } |
| 23 | #define MATRIX_COL_PINS { B4, B5, B6 } | 23 | #define MATRIX_COL_PINS { B4, B5, B6 } |
| 24 | 24 | ||
| 25 | /* BackLight */ | ||
| 26 | #define BACKLIGHT_PIN B7 | ||
| 27 | #define BACKLIGHT_BREATHING | ||
| 28 | |||
| 29 | /*Encoders */ | 25 | /*Encoders */ |
| 30 | #define ENCODERS_PAD_A { D0 } | 26 | #define ENCODERS_PAD_A { D0 } |
| 31 | #define ENCODERS_PAD_B { D1 } | 27 | #define ENCODERS_PAD_B { D1 } |
diff --git a/keyboards/ncc1701kb/info.json b/keyboards/ncc1701kb/info.json index 41c76f52f5..9c26601ae9 100644 --- a/keyboards/ncc1701kb/info.json +++ b/keyboards/ncc1701kb/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1701", | 8 | "pid": "0x1701", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/neito/config.h b/keyboards/neito/config.h index 1aa349df4c..b15db6b616 100644 --- a/keyboards/neito/config.h +++ b/keyboards/neito/config.h | |||
| @@ -23,9 +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_PIN B5 | ||
| 27 | #define BACKLIGHT_LEVELS 5 | ||
| 28 | |||
| 29 | #define GRAVE_ESC_CTRL_OVERRIDE | 26 | #define GRAVE_ESC_CTRL_OVERRIDE |
| 30 | 27 | ||
| 31 | /* RGB Light Configuration */ | 28 | /* RGB Light Configuration */ |
diff --git a/keyboards/neito/info.json b/keyboards/neito/info.json index 36b8e0ba22..09457315a7 100644 --- a/keyboards/neito/info.json +++ b/keyboards/neito/info.json | |||
| @@ -9,6 +9,8 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "B5", | ||
| 13 | "levels": 5, | ||
| 12 | "on_state": 0 | 14 | "on_state": 0 |
| 13 | }, | 15 | }, |
| 14 | "indicators": { | 16 | "indicators": { |
diff --git a/keyboards/neokeys/g67/soldered/config.h b/keyboards/neokeys/g67/soldered/config.h index 2bc08ae7c5..68374d3e40 100644 --- a/keyboards/neokeys/g67/soldered/config.h +++ b/keyboards/neokeys/g67/soldered/config.h | |||
| @@ -32,10 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | #define BACKLIGHT_BREATHING | ||
| 37 | #define BACKLIGHT_LEVELS 10 | ||
| 38 | |||
| 39 | #if defined(RGBLIGHT_ENABLE) | 35 | #if defined(RGBLIGHT_ENABLE) |
| 40 | #define RGB_DI_PIN F0 | 36 | #define RGB_DI_PIN F0 |
| 41 | #define RGBLED_NUM 18 | 37 | #define RGBLED_NUM 18 |
diff --git a/keyboards/neokeys/g67/soldered/info.json b/keyboards/neokeys/g67/soldered/info.json index a97249e2e1..7b61a631d2 100644 --- a/keyboards/neokeys/g67/soldered/info.json +++ b/keyboards/neokeys/g67/soldered/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x5053", | 8 | "pid": "0x5053", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 10, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi", "65_ansi_blocker", "65_ansi_blocker_tsangan", "65_iso", "65_iso_blocker"], | 18 | "community_layouts": ["65_ansi", "65_ansi_blocker", "65_ansi_blocker_tsangan", "65_iso", "65_iso_blocker"], |
diff --git a/keyboards/nix_studio/oxalys80/config.h b/keyboards/nix_studio/oxalys80/config.h index 0219426f18..fa337fe426 100644 --- a/keyboards/nix_studio/oxalys80/config.h +++ b/keyboards/nix_studio/oxalys80/config.h | |||
| @@ -33,8 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | |||
| 38 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 36 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 39 | #define LOCKING_SUPPORT_ENABLE | 37 | #define LOCKING_SUPPORT_ENABLE |
| 40 | /* Locking resynchronize hack */ | 38 | /* Locking resynchronize hack */ |
diff --git a/keyboards/nix_studio/oxalys80/info.json b/keyboards/nix_studio/oxalys80/info.json index aa37b150f7..64e491cc41 100644 --- a/keyboards/nix_studio/oxalys80/info.json +++ b/keyboards/nix_studio/oxalys80/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3830", | 8 | "pid": "0x3830", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "E6", | 15 | "caps_lock": "E6", |
| 13 | "scroll_lock": "B2", | 16 | "scroll_lock": "B2", |
diff --git a/keyboards/nopunin10did/jabberwocky/v2/config.h b/keyboards/nopunin10did/jabberwocky/v2/config.h index 367603694c..0a91a41444 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/config.h +++ b/keyboards/nopunin10did/jabberwocky/v2/config.h | |||
| @@ -21,8 +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 | #define BACKLIGHT_LEVELS 6 | ||
| 25 | |||
| 26 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 27 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 28 | 26 | ||
diff --git a/keyboards/nopunin10did/jabberwocky/v2/info.json b/keyboards/nopunin10did/jabberwocky/v2/info.json index ea7f59ed8d..a2b9d5a02c 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/info.json +++ b/keyboards/nopunin10did/jabberwocky/v2/info.json | |||
| @@ -9,7 +9,9 @@ | |||
| 9 | "device_version": "0.2.0" | 9 | "device_version": "0.2.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pins": ["D6"] | 12 | "driver": "software", |
| 13 | "pins": ["D6"], | ||
| 14 | "levels": 6 | ||
| 13 | }, | 15 | }, |
| 14 | "indicators": { | 16 | "indicators": { |
| 15 | "caps_lock": "B7", | 17 | "caps_lock": "B7", |
diff --git a/keyboards/nopunin10did/jabberwocky/v2/rules.mk b/keyboards/nopunin10did/jabberwocky/v2/rules.mk index ae0d08d802..b325f3f0c7 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/rules.mk +++ b/keyboards/nopunin10did/jabberwocky/v2/rules.mk | |||
| @@ -8,6 +8,5 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 9 | NKRO_ENABLE = yes # Enable N-Key Rollover | 9 | NKRO_ENABLE = yes # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 11 | BACKLIGHT_DRIVER = software # Software-driven backlight driver | ||
| 12 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 13 | AUDIO_ENABLE = no # Audio output | 12 | AUDIO_ENABLE = no # Audio output |
diff --git a/keyboards/novelkeys/novelpad/config.h b/keyboards/novelkeys/novelpad/config.h index f8c5b1ab39..ff56c34c91 100755 --- a/keyboards/novelkeys/novelpad/config.h +++ b/keyboards/novelkeys/novelpad/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_LEVELS 10 | ||
| 39 | |||
| 40 | #define RGB_DI_PIN D3 | 37 | #define RGB_DI_PIN D3 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLED_NUM 4 | 39 | #define RGBLED_NUM 4 |
diff --git a/keyboards/novelkeys/novelpad/info.json b/keyboards/novelkeys/novelpad/info.json index d08adfe99f..ae77ec387c 100644 --- a/keyboards/novelkeys/novelpad/info.json +++ b/keyboards/novelkeys/novelpad/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6070", | 8 | "pid": "0x6070", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 10 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u2", | 15 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_5x4"], | 17 | "community_layouts": ["ortho_5x4"], |
diff --git a/keyboards/noxary/220/config.h b/keyboards/noxary/220/config.h index dbbf043e26..047c2712a2 100644 --- a/keyboards/noxary/220/config.h +++ b/keyboards/noxary/220/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/noxary/220/info.json b/keyboards/noxary/220/info.json index 423b20a663..5fe00edef0 100644 --- a/keyboards/noxary/220/info.json +++ b/keyboards/noxary/220/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0899", | 8 | "pid": "0x0899", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u2", | 15 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_6x4"], | 17 | "community_layouts": ["ortho_6x4"], |
diff --git a/keyboards/noxary/260/config.h b/keyboards/noxary/260/config.h index da5e664de5..4eb386df73 100644 --- a/keyboards/noxary/260/config.h +++ b/keyboards/noxary/260/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/noxary/260/info.json b/keyboards/noxary/260/info.json index 54328d3165..9e9763f4b0 100644 --- a/keyboards/noxary/260/info.json +++ b/keyboards/noxary/260/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0A29", | 8 | "pid": "0x0A29", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B1", | 16 | "caps_lock": "B1", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/noxary/268/config.h b/keyboards/noxary/268/config.h index 8037caa96a..0808bb996f 100644 --- a/keyboards/noxary/268/config.h +++ b/keyboards/noxary/268/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 41 | 39 | ||
diff --git a/keyboards/noxary/268/info.json b/keyboards/noxary/268/info.json index 842c397022..5c89fb242d 100644 --- a/keyboards/noxary/268/info.json +++ b/keyboards/noxary/268/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0A79", | 8 | "pid": "0x0A79", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/noxary/268_2/config.h b/keyboards/noxary/268_2/config.h index 8153787c93..b0c97a0c74 100644 --- a/keyboards/noxary/268_2/config.h +++ b/keyboards/noxary/268_2/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/noxary/268_2/info.json b/keyboards/noxary/268_2/info.json index 80dafd23b9..fcba339ef5 100644 --- a/keyboards/noxary/268_2/info.json +++ b/keyboards/noxary/268_2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0A7A", | 8 | "pid": "0x0A7A", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi_blocker"], | 16 | "community_layouts": ["65_ansi_blocker"], |
diff --git a/keyboards/noxary/268_2_rgb/config.h b/keyboards/noxary/268_2_rgb/config.h index e3fa886915..c6460002a9 100644 --- a/keyboards/noxary/268_2_rgb/config.h +++ b/keyboards/noxary/268_2_rgb/config.h | |||
| @@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* COL2ROW, ROW2COL*/ | 31 | /* COL2ROW, ROW2COL*/ |
| 32 | #define DIODE_DIRECTION COL2ROW | 32 | #define DIODE_DIRECTION COL2ROW |
| 33 | 33 | ||
| 34 | #define BACKLIGHT_PIN B7 | ||
| 35 | |||
| 36 | /* ws2812b options */ | 34 | /* ws2812b options */ |
| 37 | #define RGB_DI_PIN B5 | 35 | #define RGB_DI_PIN B5 |
| 38 | #ifdef RGB_DI_PIN | 36 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/noxary/268_2_rgb/info.json b/keyboards/noxary/268_2_rgb/info.json index 7b52a82966..9016300e25 100644 --- a/keyboards/noxary/268_2_rgb/info.json +++ b/keyboards/noxary/268_2_rgb/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0A7C", | 8 | "pid": "0x0A7C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B0" | 15 | "caps_lock": "B0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/noxary/280/config.h b/keyboards/noxary/280/config.h index e1f29f502f..d46eb41347 100644 --- a/keyboards/noxary/280/config.h +++ b/keyboards/noxary/280/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/noxary/280/info.json b/keyboards/noxary/280/info.json index 8f9b2aafc9..d606490b98 100644 --- a/keyboards/noxary/280/info.json +++ b/keyboards/noxary/280/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0AF1", | 8 | "pid": "0x0AF1", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/noxary/x268/config.h b/keyboards/noxary/x268/config.h index 05d4dded48..f40f846d61 100644 --- a/keyboards/noxary/x268/config.h +++ b/keyboards/noxary/x268/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | |||
| 39 | /* ws2812b options */ | 37 | /* ws2812b options */ |
| 40 | #define RGB_DI_PIN B5 | 38 | #define RGB_DI_PIN B5 |
| 41 | #ifdef RGB_DI_PIN | 39 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/noxary/x268/info.json b/keyboards/noxary/x268/info.json index bbc0eacdad..ee616992dd 100644 --- a/keyboards/noxary/x268/info.json +++ b/keyboards/noxary/x268/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0A7B", | 8 | "pid": "0x0A7B", |
| 9 | "device_version": "0.7.8" | 9 | "device_version": "0.7.8" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/oddforge/vea/config.h b/keyboards/oddforge/vea/config.h index 31d75a7690..c2e9c2b6bb 100644 --- a/keyboards/oddforge/vea/config.h +++ b/keyboards/oddforge/vea/config.h | |||
| @@ -39,5 +39,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | #define RGBLIGHT_EFFECT_TWINKLE | 39 | #define RGBLIGHT_EFFECT_TWINKLE |
| 40 | #define RGBLIGHT_SLEEP | 40 | #define RGBLIGHT_SLEEP |
| 41 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9 | 41 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9 |
| 42 | |||
| 43 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/oddforge/vea/info.json b/keyboards/oddforge/vea/info.json index 97d6b19265..06e71e1be2 100644 --- a/keyboards/oddforge/vea/info.json +++ b/keyboards/oddforge/vea/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4155", | 8 | "pid": "0x4155", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/ok60/config.h b/keyboards/ok60/config.h index d525f491a3..2dd38f77d0 100644 --- a/keyboards/ok60/config.h +++ b/keyboards/ok60/config.h | |||
| @@ -31,13 +31,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } | 31 | #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } |
| 32 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } | 32 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } |
| 33 | 33 | ||
| 34 | #define BACKLIGHT_PIN B7 | ||
| 35 | |||
| 36 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 37 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 38 | 36 | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | 39 | ||
diff --git a/keyboards/ok60/info.json b/keyboards/ok60/info.json index 1413a3ca64..08cb263a2e 100644 --- a/keyboards/ok60/info.json +++ b/keyboards/ok60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_iso", "60_hhkb"], | 17 | "community_layouts": ["60_ansi", "60_iso", "60_hhkb"], |
diff --git a/keyboards/omkbd/ergodash/mini/config.h b/keyboards/omkbd/ergodash/mini/config.h index 1297450b3e..6adcf7253c 100644 --- a/keyboards/omkbd/ergodash/mini/config.h +++ b/keyboards/omkbd/ergodash/mini/config.h | |||
| @@ -31,11 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | 31 | ||
| 32 | #define AUDIO_PIN C6 | 32 | #define AUDIO_PIN C6 |
| 33 | 33 | ||
| 34 | #ifdef BACKLIGHT_ENABLE | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | #define BACKLIGHT_LEVELS 7 | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 35 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 36 | /* Locking resynchronize hack */ |
diff --git a/keyboards/omkbd/ergodash/mini/info.json b/keyboards/omkbd/ergodash/mini/info.json index 22ab94477a..4b5bd3bb70 100644 --- a/keyboards/omkbd/ergodash/mini/info.json +++ b/keyboards/omkbd/ergodash/mini/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 7 | ||
| 14 | }, | ||
| 11 | "split": { | 15 | "split": { |
| 12 | "soft_serial_pin": "D0" | 16 | "soft_serial_pin": "D0" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/omkbd/ergodash/rev1/config.h b/keyboards/omkbd/ergodash/rev1/config.h index 802cbcae05..21bd3d4f7b 100644 --- a/keyboards/omkbd/ergodash/rev1/config.h +++ b/keyboards/omkbd/ergodash/rev1/config.h | |||
| @@ -31,11 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | 31 | ||
| 32 | #define AUDIO_PIN C6 | 32 | #define AUDIO_PIN C6 |
| 33 | 33 | ||
| 34 | #ifdef BACKLIGHT_ENABLE | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | #define BACKLIGHT_LEVELS 7 | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 35 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 36 | /* Locking resynchronize hack */ |
diff --git a/keyboards/omkbd/ergodash/rev1/info.json b/keyboards/omkbd/ergodash/rev1/info.json index 44a6955e25..d11b84b733 100644 --- a/keyboards/omkbd/ergodash/rev1/info.json +++ b/keyboards/omkbd/ergodash/rev1/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 7 | ||
| 14 | }, | ||
| 11 | "split": { | 15 | "split": { |
| 12 | "soft_serial_pin": "D0" | 16 | "soft_serial_pin": "D0" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/orange75/config.h b/keyboards/orange75/config.h index b35799caac..3d9fe1d327 100644 --- a/keyboards/orange75/config.h +++ b/keyboards/orange75/config.h | |||
| @@ -7,8 +7,6 @@ | |||
| 7 | /* COL2ROW or ROW2COL */ | 7 | /* COL2ROW or ROW2COL */ |
| 8 | #define DIODE_DIRECTION COL2ROW | 8 | #define DIODE_DIRECTION COL2ROW |
| 9 | 9 | ||
| 10 | #define BACKLIGHT_PIN B5 | ||
| 11 | |||
| 12 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 10 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 13 | #define LOCKING_SUPPORT_ENABLE | 11 | #define LOCKING_SUPPORT_ENABLE |
| 14 | 12 | ||
diff --git a/keyboards/orange75/info.json b/keyboards/orange75/info.json index 9aa445afb2..67fc8db76d 100644 --- a/keyboards/orange75/info.json +++ b/keyboards/orange75/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 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/org60/config.h b/keyboards/org60/config.h index e3fedecc2e..44701c7e17 100644 --- a/keyboards/org60/config.h +++ b/keyboards/org60/config.h | |||
| @@ -31,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | 31 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } |
| 32 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } | 32 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } |
| 33 | 33 | ||
| 34 | /* Backlight Setup */ | ||
| 35 | #define BACKLIGHT_PIN F5 | ||
| 36 | #define BACKLIGHT_LEVELS 6 | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 39 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 40 | 36 | ||
diff --git a/keyboards/org60/info.json b/keyboards/org60/info.json index e537bb65cc..83da161e31 100644 --- a/keyboards/org60/info.json +++ b/keyboards/org60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "F5", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi"], | 17 | "community_layouts": ["60_ansi"], |
diff --git a/keyboards/panc60/config.h b/keyboards/panc60/config.h index 6455bb1a72..32e6c4bd38 100644 --- a/keyboards/panc60/config.h +++ b/keyboards/panc60/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | |||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/panc60/info.json b/keyboards/panc60/info.json index 05f916f248..4daeffe763 100644 --- a/keyboards/panc60/info.json +++ b/keyboards/panc60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/pearl/config.h b/keyboards/pearl/config.h index d490e7e75b..51e4b85e74 100644 --- a/keyboards/pearl/config.h +++ b/keyboards/pearl/config.h | |||
| @@ -29,8 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 12 | 30 | #define RGBLED_NUM 12 |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN D4 | ||
| 33 | |||
| 34 | #define MATRIX_ROW_PINS { B0, B1, B2, B3 } | 32 | #define MATRIX_ROW_PINS { B0, B1, B2, B3 } |
| 35 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3} | 33 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3} |
| 36 | 34 | ||
diff --git a/keyboards/pearl/info.json b/keyboards/pearl/info.json index 3808bdecf4..96357ad346 100644 --- a/keyboards/pearl/info.json +++ b/keyboards/pearl/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x0348", | 7 | "pid": "0x0348", |
| 8 | "device_version": "2.0.0" | 8 | "device_version": "2.0.0" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "D4" | ||
| 12 | }, | ||
| 10 | "indicators": { | 13 | "indicators": { |
| 11 | "caps_lock": "D1", | 14 | "caps_lock": "D1", |
| 12 | "num_lock": "D0", | 15 | "num_lock": "D0", |
diff --git a/keyboards/percent/booster/config.h b/keyboards/percent/booster/config.h index 6fe2567688..b452a0dcb6 100644 --- a/keyboards/percent/booster/config.h +++ b/keyboards/percent/booster/config.h | |||
| @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { D1, D6, D7, B4, B5 } | 21 | #define MATRIX_ROW_PINS { D1, D6, D7, B4, B5 } |
| 22 | #define MATRIX_COL_PINS { C7, D4, D2, D0 } | 22 | #define MATRIX_COL_PINS { C7, D4, D2, D0 } |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN B7 | ||
| 25 | |||
| 26 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 27 | 25 | ||
| 28 | #define RGB_DI_PIN E2 | 26 | #define RGB_DI_PIN E2 |
diff --git a/keyboards/percent/booster/info.json b/keyboards/percent/booster/info.json index d17ba98f05..f92476c9f6 100644 --- a/keyboards/percent/booster/info.json +++ b/keyboards/percent/booster/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4253", | 8 | "pid": "0x4253", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["numpad_5x4"], | 16 | "community_layouts": ["numpad_5x4"], |
diff --git a/keyboards/percent/canoe/config.h b/keyboards/percent/canoe/config.h index ff08476a5c..69f53905fc 100644 --- a/keyboards/percent/canoe/config.h +++ b/keyboards/percent/canoe/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | |||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/percent/canoe/info.json b/keyboards/percent/canoe/info.json index 18d57bce99..951e55ec64 100644 --- a/keyboards/percent/canoe/info.json +++ b/keyboards/percent/canoe/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x434E", | 8 | "pid": "0x434E", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/percent/skog/config.h b/keyboards/percent/skog/config.h index bbd6a7470c..274d30df72 100644 --- a/keyboards/percent/skog/config.h +++ b/keyboards/percent/skog/config.h | |||
| @@ -32,6 +32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | |||
| 36 | #define BACKLIGHT_PIN D4 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
diff --git a/keyboards/percent/skog/info.json b/keyboards/percent/skog/info.json index 5d461b67a4..80c7d832c4 100644 --- a/keyboards/percent/skog/info.json +++ b/keyboards/percent/skog/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "D1", | 16 | "caps_lock": "D1", |
| 13 | "scroll_lock": "D6" | 17 | "scroll_lock": "D6" |
diff --git a/keyboards/percent/skog_lite/config.h b/keyboards/percent/skog_lite/config.h index 94dbb85d04..b00a612cd7 100644 --- a/keyboards/percent/skog_lite/config.h +++ b/keyboards/percent/skog_lite/config.h | |||
| @@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | 26 | ||
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN D4 | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/percent/skog_lite/info.json b/keyboards/percent/skog_lite/info.json index 8b126296e6..74abc67bdc 100644 --- a/keyboards/percent/skog_lite/info.json +++ b/keyboards/percent/skog_lite/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "scroll_lock": "D6" | 16 | "scroll_lock": "D6" |
diff --git a/keyboards/planck/config.h b/keyboards/planck/config.h index 165e6dcc5c..ff4b7bb3aa 100644 --- a/keyboards/planck/config.h +++ b/keyboards/planck/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define AUDIO_VOICES | 25 | #define AUDIO_VOICES |
| 26 | #define AUDIO_PIN C6 | 26 | #define AUDIO_PIN C6 |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | |||
| 30 | /* COL2ROW or ROW2COL */ | 28 | /* COL2ROW or ROW2COL */ |
| 31 | #define DIODE_DIRECTION COL2ROW | 29 | #define DIODE_DIRECTION COL2ROW |
| 32 | 30 | ||
diff --git a/keyboards/planck/light/config.h b/keyboards/planck/light/config.h index 862751d6b6..7a64f87174 100644 --- a/keyboards/planck/light/config.h +++ b/keyboards/planck/light/config.h | |||
| @@ -12,10 +12,6 @@ | |||
| 12 | #define AUDIO_PIN C6 | 12 | #define AUDIO_PIN C6 |
| 13 | #define AUDIO_PIN_ALT B5 | 13 | #define AUDIO_PIN_ALT B5 |
| 14 | 14 | ||
| 15 | #undef BACKLIGHT_PIN | ||
| 16 | |||
| 17 | #define BACKLIGHT_PIN A5 | ||
| 18 | |||
| 19 | #define NO_USB_STARTUP_CHECK | 15 | #define NO_USB_STARTUP_CHECK |
| 20 | 16 | ||
| 21 | #define PLANCK_MIT_LAYOUT | 17 | #define PLANCK_MIT_LAYOUT |
diff --git a/keyboards/planck/light/info.json b/keyboards/planck/light/info.json index ed23c14828..c2ab19563e 100644 --- a/keyboards/planck/light/info.json +++ b/keyboards/planck/light/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xBEA2", | 8 | "pid": "0xBEA2", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A5" | ||
| 13 | }, | ||
| 11 | "processor": "at90usb1286", | 14 | "processor": "at90usb1286", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 16 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/planck/rev1/info.json b/keyboards/planck/rev1/info.json index 6829001b0e..ebf11c9c8b 100644 --- a/keyboards/planck/rev1/info.json +++ b/keyboards/planck/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAE01", | 8 | "pid": "0xAE01", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 16 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/planck/rev2/info.json b/keyboards/planck/rev2/info.json index 2f36673b1e..b7a3a31628 100644 --- a/keyboards/planck/rev2/info.json +++ b/keyboards/planck/rev2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAE01", | 8 | "pid": "0xAE01", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 16 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/planck/rev3/info.json b/keyboards/planck/rev3/info.json index 5479a93d93..4ba0085cda 100644 --- a/keyboards/planck/rev3/info.json +++ b/keyboards/planck/rev3/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAE01", | 8 | "pid": "0xAE01", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 16 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/planck/rev4/info.json b/keyboards/planck/rev4/info.json index 2c3c9e842b..46513d8248 100644 --- a/keyboards/planck/rev4/info.json +++ b/keyboards/planck/rev4/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAE01", | 8 | "pid": "0xAE01", |
| 9 | "device_version": "0.0.4" | 9 | "device_version": "0.0.4" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12", "planck_mit"], | 16 | "community_layouts": ["ortho_4x12", "planck_mit"], |
diff --git a/keyboards/planck/rev5/info.json b/keyboards/planck/rev5/info.json index cd76c7e2ad..9fb2ae811e 100644 --- a/keyboards/planck/rev5/info.json +++ b/keyboards/planck/rev5/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAE01", | 8 | "pid": "0xAE01", |
| 9 | "device_version": "0.0.5" | 9 | "device_version": "0.0.5" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "qmk_lufa_bootloader": { | 14 | "qmk_lufa_bootloader": { |
| 12 | "esc_input": "D5", | 15 | "esc_input": "D5", |
| 13 | "esc_output": "F1", | 16 | "esc_output": "F1", |
diff --git a/keyboards/playkbtw/ca66/config.h b/keyboards/playkbtw/ca66/config.h index acaa94d4dd..1c1085c9a1 100644 --- a/keyboards/playkbtw/ca66/config.h +++ b/keyboards/playkbtw/ca66/config.h | |||
| @@ -8,8 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN F0 | ||
| 12 | |||
| 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 14 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 15 | 13 | ||
diff --git a/keyboards/playkbtw/ca66/info.json b/keyboards/playkbtw/ca66/info.json index 8537254d54..809eaa0c39 100644 --- a/keyboards/playkbtw/ca66/info.json +++ b/keyboards/playkbtw/ca66/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 | "pin": "F0" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/playkbtw/helen80/config.h b/keyboards/playkbtw/helen80/config.h index f08764bf5b..b91943278f 100644 --- a/keyboards/playkbtw/helen80/config.h +++ b/keyboards/playkbtw/helen80/config.h | |||
| @@ -32,8 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | |||
| 37 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 38 | #ifdef RGB_DI_PIN | 36 | #ifdef RGB_DI_PIN |
| 39 | #define RGBLED_NUM 87 | 37 | #define RGBLED_NUM 87 |
diff --git a/keyboards/playkbtw/pk60/config.h b/keyboards/playkbtw/pk60/config.h index f637d22d50..42f15b3352 100644 --- a/keyboards/playkbtw/pk60/config.h +++ b/keyboards/playkbtw/pk60/config.h | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B7 | ||
| 12 | #ifdef BACKLIGHT_PIN | ||
| 13 | #define BACKLIGHT_LEVELS 5 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 17 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 18 | 13 | ||
diff --git a/keyboards/playkbtw/pk60/info.json b/keyboards/playkbtw/pk60/info.json index 6c9094d253..5909204f29 100644 --- a/keyboards/playkbtw/pk60/info.json +++ b/keyboards/playkbtw/pk60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "F4", | 16 | "caps_lock": "F4", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/plut0nium/0x3e/config.h b/keyboards/plut0nium/0x3e/config.h index f01184dea2..63cc719d84 100644 --- a/keyboards/plut0nium/0x3e/config.h +++ b/keyboards/plut0nium/0x3e/config.h | |||
| @@ -28,13 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define DIODE_DIRECTION COL2ROW | 28 | #define DIODE_DIRECTION COL2ROW |
| 29 | 29 | ||
| 30 | /* | 30 | /* |
| 31 | * Backlight | ||
| 32 | */ | ||
| 33 | #define BACKLIGHT_PIN C6 | ||
| 34 | #define BACKLIGHT_BREATHING | ||
| 35 | #define BACKLIGHT_LEVELS 6 | ||
| 36 | |||
| 37 | /* | ||
| 38 | * RGB Underglow | 31 | * RGB Underglow |
| 39 | */ | 32 | */ |
| 40 | #define RGB_DI_PIN C7 | 33 | #define RGB_DI_PIN C7 |
diff --git a/keyboards/plut0nium/0x3e/info.json b/keyboards/plut0nium/0x3e/info.json index 8c112f3463..52ad743a0a 100644 --- a/keyboards/plut0nium/0x3e/info.json +++ b/keyboards/plut0nium/0x3e/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x3E01", | 8 | "pid": "0x3E01", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/poker87c/config.h b/keyboards/poker87c/config.h index 66775a7839..3332d62aa6 100644 --- a/keyboards/poker87c/config.h +++ b/keyboards/poker87c/config.h | |||
| @@ -32,8 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | |||
| 37 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 38 | #ifdef RGB_DI_PIN | 36 | #ifdef RGB_DI_PIN |
| 39 | #define RGBLED_NUM 95 | 37 | #define RGBLED_NUM 95 |
diff --git a/keyboards/poker87c/info.json b/keyboards/poker87c/info.json index 247436cc11..04c16583a6 100644 --- a/keyboards/poker87c/info.json +++ b/keyboards/poker87c/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x087C", | 8 | "pid": "0x087C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B3", | 15 | "caps_lock": "B3", |
| 13 | "num_lock": "B1", | 16 | "num_lock": "B1", |
diff --git a/keyboards/poker87d/config.h b/keyboards/poker87d/config.h index f4bbc85bef..fbee1e1858 100644 --- a/keyboards/poker87d/config.h +++ b/keyboards/poker87d/config.h | |||
| @@ -32,8 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | |||
| 37 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 38 | #ifdef RGB_DI_PIN | 36 | #ifdef RGB_DI_PIN |
| 39 | #define RGBLED_NUM 125 | 37 | #define RGBLED_NUM 125 |
diff --git a/keyboards/poker87d/info.json b/keyboards/poker87d/info.json index 20e85800d8..22a09c541e 100644 --- a/keyboards/poker87d/info.json +++ b/keyboards/poker87d/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x087D", | 8 | "pid": "0x087D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B3", | 15 | "caps_lock": "B3", |
| 13 | "num_lock": "B1", | 16 | "num_lock": "B1", |
diff --git a/keyboards/polycarbdiet/s20/config.h b/keyboards/polycarbdiet/s20/config.h index e45ed0910d..6cb2e62308 100644 --- a/keyboards/polycarbdiet/s20/config.h +++ b/keyboards/polycarbdiet/s20/config.h | |||
| @@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* COL2ROW, ROW2COL */ | 24 | /* COL2ROW, ROW2COL */ |
| 25 | #define DIODE_DIRECTION ROW2COL | 25 | #define DIODE_DIRECTION ROW2COL |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B6 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | |||
| 30 | #define RGB_DI_PIN B3 | 27 | #define RGB_DI_PIN B3 |
| 31 | #define RGBLED_NUM 4 | 28 | #define RGBLED_NUM 4 |
| 32 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
diff --git a/keyboards/polycarbdiet/s20/info.json b/keyboards/polycarbdiet/s20/info.json index d37ec49dcb..5c2ce53150 100644 --- a/keyboards/polycarbdiet/s20/info.json +++ b/keyboards/polycarbdiet/s20/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x7320", | 8 | "pid": "0x7320", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_5x4", "numpad_5x4"], | 17 | "community_layouts": ["ortho_5x4", "numpad_5x4"], |
diff --git a/keyboards/pom_keyboards/tnln95/config.h b/keyboards/pom_keyboards/tnln95/config.h index e5237bea16..e59d45ca45 100644 --- a/keyboards/pom_keyboards/tnln95/config.h +++ b/keyboards/pom_keyboards/tnln95/config.h | |||
| @@ -33,10 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION ROW2COL | 34 | #define DIODE_DIRECTION ROW2COL |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
| 38 | #define BACKLIGHT_LEVELS 10 | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 36 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 37 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 38 | /* Locking resynchronize hack */ |
diff --git a/keyboards/pom_keyboards/tnln95/info.json b/keyboards/pom_keyboards/tnln95/info.json index e3a0930584..ea829767ba 100644 --- a/keyboards/pom_keyboards/tnln95/info.json +++ b/keyboards/pom_keyboards/tnln95/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x3931", | 8 | "pid": "0x3931", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 10, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "bootmagic": { | 16 | "bootmagic": { |
| 12 | "matrix": [0, 4] | 17 | "matrix": [0, 4] |
| 13 | }, | 18 | }, |
diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h index 494c15c516..c3a49487ef 100644 --- a/keyboards/preonic/config.h +++ b/keyboards/preonic/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define AUDIO_VOICES | 25 | #define AUDIO_VOICES |
| 26 | #define AUDIO_PIN C6 | 26 | #define AUDIO_PIN C6 |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | |||
| 30 | /* COL2ROW or ROW2COL */ | 28 | /* COL2ROW or ROW2COL */ |
| 31 | #define DIODE_DIRECTION COL2ROW | 29 | #define DIODE_DIRECTION COL2ROW |
| 32 | 30 | ||
diff --git a/keyboards/preonic/rev1/info.json b/keyboards/preonic/rev1/info.json index 6da254960b..340c178635 100644 --- a/keyboards/preonic/rev1/info.json +++ b/keyboards/preonic/rev1/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0x67F3", | 6 | "pid": "0x67F3", |
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "B7" | ||
| 11 | }, | ||
| 9 | "processor": "atmega32u4", | 12 | "processor": "atmega32u4", |
| 10 | "bootloader": "atmel-dfu", | 13 | "bootloader": "atmel-dfu", |
| 11 | "community_layouts": ["ortho_5x12"] | 14 | "community_layouts": ["ortho_5x12"] |
diff --git a/keyboards/preonic/rev2/info.json b/keyboards/preonic/rev2/info.json index 4392f2e964..3da1615c2d 100644 --- a/keyboards/preonic/rev2/info.json +++ b/keyboards/preonic/rev2/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0x67F3", | 6 | "pid": "0x67F3", |
| 7 | "device_version": "0.0.2" | 7 | "device_version": "0.0.2" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "B7" | ||
| 11 | }, | ||
| 9 | "qmk_lufa_bootloader": { | 12 | "qmk_lufa_bootloader": { |
| 10 | "esc_input": "B5", | 13 | "esc_input": "B5", |
| 11 | "esc_output": "F1", | 14 | "esc_output": "F1", |
diff --git a/keyboards/primekb/prime_e/std/config.h b/keyboards/primekb/prime_e/std/config.h deleted file mode 100644 index eb111f5665..0000000000 --- a/keyboards/primekb/prime_e/std/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Holten Campbell | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | |||
| 21 | #define BACKLIGHT_PIN B7 | ||
| 22 | #define BACKLIGHT_LEVELS 5 | ||
diff --git a/keyboards/primekb/prime_e/std/info.json b/keyboards/primekb/prime_e/std/info.json index 04f8842546..b6078c9d7a 100644 --- a/keyboards/primekb/prime_e/std/info.json +++ b/keyboards/primekb/prime_e/std/info.json | |||
| @@ -3,5 +3,9 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "pid": "0x0051", | 4 | "pid": "0x0051", |
| 5 | "device_version": "0.0.1" | 5 | "device_version": "0.0.1" |
| 6 | }, | ||
| 7 | "backlight": { | ||
| 8 | "pin": "B7", | ||
| 9 | "levels": 5 | ||
| 6 | } | 10 | } |
| 7 | } | 11 | } |
diff --git a/keyboards/primekb/prime_l/v1/config.h b/keyboards/primekb/prime_l/v1/config.h index 278d22c738..553674692a 100644 --- a/keyboards/primekb/prime_l/v1/config.h +++ b/keyboards/primekb/prime_l/v1/config.h | |||
| @@ -22,7 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Keyboard Matrix Assignments */ | 22 | /* Keyboard Matrix Assignments */ |
| 23 | #define MATRIX_ROW_PINS { D1, D0, B7, B3, B2 } | 23 | #define MATRIX_ROW_PINS { D1, D0, B7, B3, B2 } |
| 24 | #define MATRIX_COL_PINS { D2, D3, D5, D4, D6, D7, B4, B5, C7, C6, F7, F6, F5, F4, F1, F0 } | 24 | #define MATRIX_COL_PINS { D2, D3, D5, D4, D6, D7, B4, B5, C7, C6, F7, F6, F5, F4, F1, F0 } |
| 25 | |||
| 26 | #define BACKLIGHT_PIN B6 | ||
| 27 | /*#define BACKLIGHT_BREATHING*/ | ||
| 28 | #define BACKLIGHT_LEVELS 4 | ||
diff --git a/keyboards/primekb/prime_l/v1/info.json b/keyboards/primekb/prime_l/v1/info.json index 628aa67c10..967939ccbc 100644 --- a/keyboards/primekb/prime_l/v1/info.json +++ b/keyboards/primekb/prime_l/v1/info.json | |||
| @@ -6,6 +6,10 @@ | |||
| 6 | "pid": "0x504C", | 6 | "pid": "0x504C", |
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "B6", | ||
| 11 | "levels": 4 | ||
| 12 | }, | ||
| 9 | "layouts": { | 13 | "layouts": { |
| 10 | "LAYOUT": { | 14 | "LAYOUT": { |
| 11 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":15, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":15, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2, "w":1.25}, {"x":4.25, "y":2}, {"x":5.25, "y":2}, {"x":6.25, "y":2}, {"x":7.25, "y":2}, {"x":8.25, "y":2}, {"x":9.25, "y":2}, {"x":10.25, "y":2}, {"x":11.25, "y":2}, {"x":12.25, "y":2}, {"x":13.25, "y":2}, {"x":14.25, "y":2, "w":1.75}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3, "w":1.75}, {"x":4.75, "y":3}, {"x":5.75, "y":3}, {"x":6.75, "y":3}, {"x":7.75, "y":3}, {"x":8.75, "y":3}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3}, {"x":12.75, "y":3}, {"x":13.75, "y":3}, {"x":14.75, "y":3, "w":1.25}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4, "w":1.25}, {"x":4.25, "y":4, "w":1.25}, {"x":5.5, "y":4}, {"x":6.5, "y":4}, {"x":7.5, "y":4, "w":2}, {"x":9.5, "y":4, "w":2.25}, {"x":11.75, "y":4}, {"x":12.75, "y":4}, {"x":13.75, "y":4}, {"x":14.75, "y":4, "w":1.25}] | 15 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":15, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":15, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2, "w":1.25}, {"x":4.25, "y":2}, {"x":5.25, "y":2}, {"x":6.25, "y":2}, {"x":7.25, "y":2}, {"x":8.25, "y":2}, {"x":9.25, "y":2}, {"x":10.25, "y":2}, {"x":11.25, "y":2}, {"x":12.25, "y":2}, {"x":13.25, "y":2}, {"x":14.25, "y":2, "w":1.75}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3, "w":1.75}, {"x":4.75, "y":3}, {"x":5.75, "y":3}, {"x":6.75, "y":3}, {"x":7.75, "y":3}, {"x":8.75, "y":3}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3}, {"x":12.75, "y":3}, {"x":13.75, "y":3}, {"x":14.75, "y":3, "w":1.25}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4, "w":1.25}, {"x":4.25, "y":4, "w":1.25}, {"x":5.5, "y":4}, {"x":6.5, "y":4}, {"x":7.5, "y":4, "w":2}, {"x":9.5, "y":4, "w":2.25}, {"x":11.75, "y":4}, {"x":12.75, "y":4}, {"x":13.75, "y":4}, {"x":14.75, "y":4, "w":1.25}] |
diff --git a/keyboards/primekb/prime_m/config.h b/keyboards/primekb/prime_m/config.h index e876259f2c..46995b1d31 100644 --- a/keyboards/primekb/prime_m/config.h +++ b/keyboards/primekb/prime_m/config.h | |||
| @@ -26,10 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | /* COL2ROW, ROW2COL*/ | 26 | /* COL2ROW, ROW2COL*/ |
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN B7 | ||
| 30 | /*#define BACKLIGHT_BREATHING*/ | ||
| 31 | #define BACKLIGHT_LEVELS 4 | ||
| 32 | |||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
| 35 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
diff --git a/keyboards/primekb/prime_m/info.json b/keyboards/primekb/prime_m/info.json index 32493fc6f3..ace8f6b52a 100644 --- a/keyboards/primekb/prime_m/info.json +++ b/keyboards/primekb/prime_m/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x504D", | 8 | "pid": "0x504D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 4 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u2", | 15 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["numpad_5x6"], | 17 | "community_layouts": ["numpad_5x6"], |
diff --git a/keyboards/primekb/prime_o/config.h b/keyboards/primekb/prime_o/config.h index a3e2879dfd..b67af66f47 100644 --- a/keyboards/primekb/prime_o/config.h +++ b/keyboards/primekb/prime_o/config.h | |||
| @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL*/ | 25 | /* COL2ROW, ROW2COL*/ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | /*#define BACKLIGHT_BREATHING*/ | ||
| 30 | #define BACKLIGHT_LEVELS 4 | ||
| 31 | |||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 34 | /* Locking resynchronize hack */ | 30 | /* Locking resynchronize hack */ |
diff --git a/keyboards/primekb/prime_o/info.json b/keyboards/primekb/prime_o/info.json index b3d41057e4..774dbc6523 100644 --- a/keyboards/primekb/prime_o/info.json +++ b/keyboards/primekb/prime_o/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4024", | 8 | "pid": "0x4024", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 4 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u2", | 15 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/primekb/prime_r/config.h b/keyboards/primekb/prime_r/config.h index 6295b57769..d86696aef1 100644 --- a/keyboards/primekb/prime_r/config.h +++ b/keyboards/primekb/prime_r/config.h | |||
| @@ -25,11 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B6 | ||
| 29 | #ifdef BACKLIGHT_PIN | ||
| 30 | #define BACKLIGHT_LEVELS 5 | ||
| 31 | #endif | ||
| 32 | |||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 35 | 30 | ||
diff --git a/keyboards/primekb/prime_r/info.json b/keyboards/primekb/prime_r/info.json index ffddcee44f..e2e597c793 100644 --- a/keyboards/primekb/prime_r/info.json +++ b/keyboards/primekb/prime_r/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/projectkb/alice/info.json b/keyboards/projectkb/alice/info.json index f77f68441d..746a4ea9ca 100644 --- a/keyboards/projectkb/alice/info.json +++ b/keyboards/projectkb/alice/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xA71C", | 8 | "pid": "0xA71C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "community_layouts": ["alice", "alice_split_bs"], | 18 | "community_layouts": ["alice", "alice_split_bs"], |
diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h index ade5f8f27c..54918d2b49 100644 --- a/keyboards/projectkb/alice/rev1/config.h +++ b/keyboards/projectkb/alice/rev1/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } | 21 | #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/projectkb/alice/rev2/config.h b/keyboards/projectkb/alice/rev2/config.h index a63f0b85a5..1ac58753c7 100644 --- a/keyboards/projectkb/alice/rev2/config.h +++ b/keyboards/projectkb/alice/rev2/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 } | 21 | #define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/prototypist/allison/config.h b/keyboards/prototypist/allison/config.h index a3d304801b..95e391b036 100644 --- a/keyboards/prototypist/allison/config.h +++ b/keyboards/prototypist/allison/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 4 | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/prototypist/allison/info.json b/keyboards/prototypist/allison/info.json index dbfb113af0..c8423baf41 100644 --- a/keyboards/prototypist/allison/info.json +++ b/keyboards/prototypist/allison/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x414D", | 8 | "pid": "0x414D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/prototypist/allison_numpad/config.h b/keyboards/prototypist/allison_numpad/config.h index 19682dbcf2..c26d0b1e19 100644 --- a/keyboards/prototypist/allison_numpad/config.h +++ b/keyboards/prototypist/allison_numpad/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 4 | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/prototypist/allison_numpad/info.json b/keyboards/prototypist/allison_numpad/info.json index 1d503cae20..8931ff2dc4 100644 --- a/keyboards/prototypist/allison_numpad/info.json +++ b/keyboards/prototypist/allison_numpad/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x414E", | 8 | "pid": "0x414E", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_6x4", "numpad_6x4"], | 18 | "community_layouts": ["ortho_6x4", "numpad_6x4"], |
diff --git a/keyboards/prototypist/j01/config.h b/keyboards/prototypist/j01/config.h index e958680717..4f003e3cfe 100644 --- a/keyboards/prototypist/j01/config.h +++ b/keyboards/prototypist/j01/config.h | |||
| @@ -33,9 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 36 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 37 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 38 | /* Locking resynchronize hack */ |
diff --git a/keyboards/prototypist/j01/info.json b/keyboards/prototypist/j01/info.json index b62a49ecce..a5bf0c836a 100644 --- a/keyboards/prototypist/j01/info.json +++ b/keyboards/prototypist/j01/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6A31", | 8 | "pid": "0x6A31", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/quad_h/lb75/config.h b/keyboards/quad_h/lb75/config.h index 7a68675b5a..b3a4bf279e 100644 --- a/keyboards/quad_h/lb75/config.h +++ b/keyboards/quad_h/lb75/config.h | |||
| @@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | /* COL2ROW, ROW2COL*/ | 35 | /* COL2ROW, ROW2COL*/ |
| 36 | #define DIODE_DIRECTION COL2ROW | 36 | #define DIODE_DIRECTION COL2ROW |
| 37 | 37 | ||
| 38 | #define BACKLIGHT_PIN B7 | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN B0 | 38 | #define RGB_DI_PIN B0 |
| 42 | #ifdef RGB_DI_PIN | 39 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLED_NUM 16 | 40 | #define RGBLED_NUM 16 |
diff --git a/keyboards/quad_h/lb75/info.json b/keyboards/quad_h/lb75/info.json index fa18f23ffa..386ba46067 100644 --- a/keyboards/quad_h/lb75/info.json +++ b/keyboards/quad_h/lb75/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0007", | 8 | "pid": "0x0007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/redscarf_i/config.h b/keyboards/redscarf_i/config.h index b17b1f3310..c9ee89dbe8 100644 --- a/keyboards/redscarf_i/config.h +++ b/keyboards/redscarf_i/config.h | |||
| @@ -21,6 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D4, D5 } | 21 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D4, D5 } |
| 22 | #define MATRIX_COL_PINS { F0, F1, E6, C7 } | 22 | #define MATRIX_COL_PINS { F0, F1, E6, C7 } |
| 23 | #define DIODE_DIRECTION COL2ROW | 23 | #define DIODE_DIRECTION COL2ROW |
| 24 | |||
| 25 | /* Backlight */ | ||
| 26 | #define BACKLIGHT_PIN B5 | ||
diff --git a/keyboards/redscarf_i/info.json b/keyboards/redscarf_i/info.json index 1f508df3f5..620c7e457a 100644 --- a/keyboards/redscarf_i/info.json +++ b/keyboards/redscarf_i/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5959", | 8 | "pid": "0x5959", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_5x4", "ortho_6x4", "numpad_5x4", "numpad_6x4"], | 16 | "community_layouts": ["ortho_5x4", "ortho_6x4", "numpad_5x4", "numpad_6x4"], |
diff --git a/keyboards/redscarf_iiplus/verb/config.h b/keyboards/redscarf_iiplus/verb/config.h index 2f89ed0fd0..c92878c147 100755 --- a/keyboards/redscarf_iiplus/verb/config.h +++ b/keyboards/redscarf_iiplus/verb/config.h | |||
| @@ -39,8 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | /* COL2ROW, ROW2COL*/ | 39 | /* COL2ROW, ROW2COL*/ |
| 40 | #define DIODE_DIRECTION COL2ROW | 40 | #define DIODE_DIRECTION COL2ROW |
| 41 | 41 | ||
| 42 | #define BACKLIGHT_PIN B7 | ||
| 43 | |||
| 44 | /* 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 */ |
| 45 | #define LOCKING_SUPPORT_ENABLE | 43 | #define LOCKING_SUPPORT_ENABLE |
| 46 | /* Locking resynchronize hack */ | 44 | /* Locking resynchronize hack */ |
diff --git a/keyboards/redscarf_iiplus/verb/info.json b/keyboards/redscarf_iiplus/verb/info.json index 42879d8ee5..ed1acaa11e 100644 --- a/keyboards/redscarf_iiplus/verb/info.json +++ b/keyboards/redscarf_iiplus/verb/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 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "C7", | 15 | "caps_lock": "C7", |
| 13 | "num_lock": "E6", | 16 | "num_lock": "E6", |
diff --git a/keyboards/redscarf_iiplus/verc/config.h b/keyboards/redscarf_iiplus/verc/config.h index 2f89ed0fd0..c92878c147 100755 --- a/keyboards/redscarf_iiplus/verc/config.h +++ b/keyboards/redscarf_iiplus/verc/config.h | |||
| @@ -39,8 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | /* COL2ROW, ROW2COL*/ | 39 | /* COL2ROW, ROW2COL*/ |
| 40 | #define DIODE_DIRECTION COL2ROW | 40 | #define DIODE_DIRECTION COL2ROW |
| 41 | 41 | ||
| 42 | #define BACKLIGHT_PIN B7 | ||
| 43 | |||
| 44 | /* 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 */ |
| 45 | #define LOCKING_SUPPORT_ENABLE | 43 | #define LOCKING_SUPPORT_ENABLE |
| 46 | /* Locking resynchronize hack */ | 44 | /* Locking resynchronize hack */ |
diff --git a/keyboards/redscarf_iiplus/verc/info.json b/keyboards/redscarf_iiplus/verc/info.json index fa425fa85d..cd8470a5ce 100644 --- a/keyboards/redscarf_iiplus/verc/info.json +++ b/keyboards/redscarf_iiplus/verc/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 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "C7", | 15 | "caps_lock": "C7", |
| 13 | "num_lock": "E6", | 16 | "num_lock": "E6", |
diff --git a/keyboards/redscarf_iiplus/verd/config.h b/keyboards/redscarf_iiplus/verd/config.h index cbebb99f40..08ba1b48d8 100644 --- a/keyboards/redscarf_iiplus/verd/config.h +++ b/keyboards/redscarf_iiplus/verd/config.h | |||
| @@ -38,8 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | /* COL2ROW, ROW2COL*/ | 38 | /* COL2ROW, ROW2COL*/ |
| 39 | #define DIODE_DIRECTION COL2ROW | 39 | #define DIODE_DIRECTION COL2ROW |
| 40 | 40 | ||
| 41 | #define BACKLIGHT_PIN B7 | ||
| 42 | |||
| 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 |
| 45 | /* Locking resynchronize hack */ | 43 | /* Locking resynchronize hack */ |
diff --git a/keyboards/redscarf_iiplus/verd/info.json b/keyboards/redscarf_iiplus/verd/info.json index 74c63bc54f..23488e734f 100644 --- a/keyboards/redscarf_iiplus/verd/info.json +++ b/keyboards/redscarf_iiplus/verd/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x7778", | 8 | "pid": "0x7778", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "C6", | 15 | "caps_lock": "C6", |
| 13 | "num_lock": "E6", | 16 | "num_lock": "E6", |
diff --git a/keyboards/rmi_kb/wete/v1/config.h b/keyboards/rmi_kb/wete/v1/config.h index e576982cf1..4fa5e6e18b 100644 --- a/keyboards/rmi_kb/wete/v1/config.h +++ b/keyboards/rmi_kb/wete/v1/config.h | |||
| @@ -21,13 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { A9, B12, B11, B10, B2, B1 } | 21 | #define MATRIX_ROW_PINS { A9, B12, B11, B10, B2, B1 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | //LEDS A6 | ||
| 25 | #define BACKLIGHT_PIN A6 | ||
| 26 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 27 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 28 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 29 | #define BACKLIGHT_LEVELS 24 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | 27 | ||
| 32 | // RGB B4 | 28 | // RGB B4 |
| 33 | #define RGB_DI_PIN B4 | 29 | #define RGB_DI_PIN B4 |
diff --git a/keyboards/rmi_kb/wete/v1/info.json b/keyboards/rmi_kb/wete/v1/info.json index f36f7cefa7..cf17e5966d 100644 --- a/keyboards/rmi_kb/wete/v1/info.json +++ b/keyboards/rmi_kb/wete/v1/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x00B5", | 8 | "pid": "0x00B5", |
| 9 | "device_version": "0.1.2" | 9 | "device_version": "0.1.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 24, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/ryloo_studio/m0110/config.h b/keyboards/ryloo_studio/m0110/config.h index 05e901524a..a0625ed46f 100755 --- a/keyboards/ryloo_studio/m0110/config.h +++ b/keyboards/ryloo_studio/m0110/config.h | |||
| @@ -25,11 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | #ifdef BACKLIGHT_PIN | ||
| 30 | # define BACKLIGHT_LEVELS 5 | ||
| 31 | #endif | ||
| 32 | |||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 35 | 30 | ||
diff --git a/keyboards/ryloo_studio/m0110/info.json b/keyboards/ryloo_studio/m0110/info.json index 28eec374d9..251737d61e 100644 --- a/keyboards/ryloo_studio/m0110/info.json +++ b/keyboards/ryloo_studio/m0110/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x1000", | 8 | "pid": "0x1000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi", "60_hhkb"], | 17 | "community_layouts": ["60_ansi", "60_hhkb"], |
diff --git a/keyboards/sam/s80/config.h b/keyboards/sam/s80/config.h index 9a89cb2560..0a235bd36c 100644 --- a/keyboards/sam/s80/config.h +++ b/keyboards/sam/s80/config.h | |||
| @@ -32,8 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION ROW2COL | 33 | #define DIODE_DIRECTION ROW2COL |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | |||
| 37 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 38 | #ifdef RGB_DI_PIN | 36 | #ifdef RGB_DI_PIN |
| 39 | # define RGBLED_NUM 20 | 37 | # define RGBLED_NUM 20 |
diff --git a/keyboards/sam/s80/info.json b/keyboards/sam/s80/info.json index 39de786a79..ab0cde43a1 100644 --- a/keyboards/sam/s80/info.json +++ b/keyboards/sam/s80/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3830", | 8 | "pid": "0x3830", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/sandwich/keeb68/config.h b/keyboards/sandwich/keeb68/config.h index 23c2cbe484..d12d01cb38 100644 --- a/keyboards/sandwich/keeb68/config.h +++ b/keyboards/sandwich/keeb68/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN C7 | ||
| 38 | #define BACKLIGHT_LEVELS 5 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/sandwich/keeb68/info.json b/keyboards/sandwich/keeb68/info.json index f8c50fbd10..ed30bd810a 100644 --- a/keyboards/sandwich/keeb68/info.json +++ b/keyboards/sandwich/keeb68/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi"], | 18 | "community_layouts": ["65_ansi"], |
diff --git a/keyboards/sentraq/number_pad/config.h b/keyboards/sentraq/number_pad/config.h index 8e5be4d533..0d96be0baf 100644 --- a/keyboards/sentraq/number_pad/config.h +++ b/keyboards/sentraq/number_pad/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN B0 | 37 | #define RGB_DI_PIN B0 |
| 40 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 41 | #define RGBLED_NUM 13 | 39 | #define RGBLED_NUM 13 |
diff --git a/keyboards/sentraq/number_pad/info.json b/keyboards/sentraq/number_pad/info.json index d39336e2e4..5b7af3fb0f 100644 --- a/keyboards/sentraq/number_pad/info.json +++ b/keyboards/sentraq/number_pad/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x0000", | 7 | "pid": "0x0000", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B7" | ||
| 12 | }, | ||
| 10 | "processor": "atmega32u4", | 13 | "processor": "atmega32u4", |
| 11 | "bootloader": "atmel-dfu", | 14 | "bootloader": "atmel-dfu", |
| 12 | "url": "https://sentraq.com/collections/kits/products/number-pad-rgb-kit", | 15 | "url": "https://sentraq.com/collections/kits/products/number-pad-rgb-kit", |
diff --git a/keyboards/sentraq/s60_x/default/config.h b/keyboards/sentraq/s60_x/default/config.h index 3f073551d1..01ce1f2e65 100644 --- a/keyboards/sentraq/s60_x/default/config.h +++ b/keyboards/sentraq/s60_x/default/config.h | |||
| @@ -5,11 +5,6 @@ | |||
| 5 | #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 } | 5 | #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 } |
| 6 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 } | 6 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 } |
| 7 | 7 | ||
| 8 | #define BACKLIGHT_PIN B7 | ||
| 9 | #ifdef BACKLIGHT_PIN | ||
| 10 | #define BACKLIGHT_BREATHING | ||
| 11 | #endif | ||
| 12 | |||
| 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 8 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 14 | #define LOCKING_SUPPORT_ENABLE | 9 | #define LOCKING_SUPPORT_ENABLE |
| 15 | 10 | ||
diff --git a/keyboards/sentraq/s60_x/default/info.json b/keyboards/sentraq/s60_x/default/info.json index 2e98820a02..ae5728a679 100644 --- a/keyboards/sentraq/s60_x/default/info.json +++ b/keyboards/sentraq/s60_x/default/info.json | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "S60-X", | 2 | "keyboard_name": "S60-X", |
| 3 | "backlight": { | ||
| 4 | "pin": "B7", | ||
| 5 | "breathing": true | ||
| 6 | }, | ||
| 3 | "processor": "atmega32u4", | 7 | "processor": "atmega32u4", |
| 4 | "bootloader": "atmel-dfu" | 8 | "bootloader": "atmel-dfu" |
| 5 | } | 9 | } |
diff --git a/keyboards/sentraq/s60_x/rgb/config.h b/keyboards/sentraq/s60_x/rgb/config.h index 178b6c3027..2332b484e1 100644 --- a/keyboards/sentraq/s60_x/rgb/config.h +++ b/keyboards/sentraq/s60_x/rgb/config.h | |||
| @@ -5,11 +5,6 @@ | |||
| 5 | #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } | 5 | #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } |
| 6 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } | 6 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } |
| 7 | 7 | ||
| 8 | #define BACKLIGHT_PIN B7 | ||
| 9 | #ifdef BACKLIGHT_PIN | ||
| 10 | #define BACKLIGHT_BREATHING | ||
| 11 | #endif | ||
| 12 | |||
| 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 8 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 14 | #define LOCKING_SUPPORT_ENABLE | 9 | #define LOCKING_SUPPORT_ENABLE |
| 15 | 10 | ||
diff --git a/keyboards/sentraq/s60_x/rgb/info.json b/keyboards/sentraq/s60_x/rgb/info.json index b29f71288b..6420a8069a 100644 --- a/keyboards/sentraq/s60_x/rgb/info.json +++ b/keyboards/sentraq/s60_x/rgb/info.json | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "S60-X-RGB", | 2 | "keyboard_name": "S60-X-RGB", |
| 3 | "backlight": { | ||
| 4 | "pin": "B7", | ||
| 5 | "breathing": true | ||
| 6 | }, | ||
| 3 | "processor": "atmega32u4", | 7 | "processor": "atmega32u4", |
| 4 | "bootloader": "atmel-dfu" | 8 | "bootloader": "atmel-dfu" |
| 5 | } | 9 | } |
diff --git a/keyboards/sentraq/s65_plus/config.h b/keyboards/sentraq/s65_plus/config.h index 648c758462..3b8323074f 100644 --- a/keyboards/sentraq/s65_plus/config.h +++ b/keyboards/sentraq/s65_plus/config.h | |||
| @@ -5,8 +5,6 @@ | |||
| 5 | #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 } | 5 | #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 } |
| 6 | #define MATRIX_COL_PINS { F6, F5, F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 } | 6 | #define MATRIX_COL_PINS { F6, F5, F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 } |
| 7 | 7 | ||
| 8 | #define BACKLIGHT_PIN B7 | ||
| 9 | |||
| 10 | #define RGB_DI_PIN D3 | 8 | #define RGB_DI_PIN D3 |
| 11 | #define RGBLIGHT_EFFECT_BREATHING | 9 | #define RGBLIGHT_EFFECT_BREATHING |
| 12 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 10 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/sentraq/s65_plus/info.json b/keyboards/sentraq/s65_plus/info.json index 0e9f0fce75..3d9f6d1f21 100644 --- a/keyboards/sentraq/s65_plus/info.json +++ b/keyboards/sentraq/s65_plus/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 | "pin": "B7" | ||
| 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/sentraq/s65_x/config.h b/keyboards/sentraq/s65_x/config.h index cc31fdfd19..e8d1cb933d 100644 --- a/keyboards/sentraq/s65_x/config.h +++ b/keyboards/sentraq/s65_x/config.h | |||
| @@ -5,10 +5,6 @@ | |||
| 5 | #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 } | 5 | #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 } |
| 6 | #define MATRIX_COL_PINS { F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 } | 6 | #define MATRIX_COL_PINS { F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 } |
| 7 | 7 | ||
| 8 | #define BACKLIGHT_PIN B7 | ||
| 9 | #define BACKLIGHT_LEVELS 5 | ||
| 10 | #define BACKLIGHT_CAPS_LOCK | ||
| 11 | |||
| 12 | #define RGB_DI_PIN D3 | 8 | #define RGB_DI_PIN D3 |
| 13 | #define RGBLIGHT_EFFECT_BREATHING | 9 | #define RGBLIGHT_EFFECT_BREATHING |
| 14 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 10 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/sentraq/s65_x/info.json b/keyboards/sentraq/s65_x/info.json index 6b77754a65..a37852080c 100644 --- a/keyboards/sentraq/s65_x/info.json +++ b/keyboards/sentraq/s65_x/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "as_caps_lock": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["65_ansi", "65_iso"], | 18 | "community_layouts": ["65_ansi", "65_iso"], |
diff --git a/keyboards/singa/config.h b/keyboards/singa/config.h index 2540c59465..3e9694ca36 100644 --- a/keyboards/singa/config.h +++ b/keyboards/singa/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | |||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/singa/info.json b/keyboards/singa/info.json index 6a1271e237..3784c7232a 100644 --- a/keyboards/singa/info.json +++ b/keyboards/singa/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x7575", | 8 | "pid": "0x7575", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/skeletn87/hotswap/config.h b/keyboards/skeletn87/hotswap/config.h index 56bdd8e8c9..5307bcd65a 100644 --- a/keyboards/skeletn87/hotswap/config.h +++ b/keyboards/skeletn87/hotswap/config.h | |||
| @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL */ | 25 | /* COL2ROW, ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | #define BACKLIGHT_LEVELS 8 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | |||
| 32 | #define RGB_DI_PIN B3 | 28 | #define RGB_DI_PIN B3 |
| 33 | #ifdef RGB_DI_PIN | 29 | #ifdef RGB_DI_PIN |
| 34 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/skeletn87/hotswap/info.json b/keyboards/skeletn87/hotswap/info.json index cf326cff80..39b296a679 100644 --- a/keyboards/skeletn87/hotswap/info.json +++ b/keyboards/skeletn87/hotswap/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xB5E9", | 8 | "pid": "0xB5E9", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 8, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "E6", | 17 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/skeletn87/soldered/config.h b/keyboards/skeletn87/soldered/config.h index 5f140d1f25..095b95d13c 100644 --- a/keyboards/skeletn87/soldered/config.h +++ b/keyboards/skeletn87/soldered/config.h | |||
| @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL */ | 25 | /* COL2ROW, ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | #define BACKLIGHT_LEVELS 8 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | |||
| 32 | #define RGB_DI_PIN B2 | 28 | #define RGB_DI_PIN B2 |
| 33 | #ifdef RGB_DI_PIN | 29 | #ifdef RGB_DI_PIN |
| 34 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/skeletn87/soldered/info.json b/keyboards/skeletn87/soldered/info.json index 20c94f4625..32ed0e6f0e 100644 --- a/keyboards/skeletn87/soldered/info.json +++ b/keyboards/skeletn87/soldered/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xB5E8", | 8 | "pid": "0xB5E8", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 8, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "E6", | 17 | "caps_lock": "E6", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/smithrune/iron165r2/f072/config.h b/keyboards/smithrune/iron165r2/f072/config.h index 28ab38b25e..21702a94a6 100644 --- a/keyboards/smithrune/iron165r2/f072/config.h +++ b/keyboards/smithrune/iron165r2/f072/config.h | |||
| @@ -17,12 +17,9 @@ 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_PIN A6 | ||
| 21 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 20 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 22 | #define BACKLIGHT_PWM_CHANNEL 1 | 21 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 23 | #define BACKLIGHT_PAL_MODE 1 | 22 | #define BACKLIGHT_PAL_MODE 1 |
| 24 | #define BACKLIGHT_LEVELS 20 | ||
| 25 | #define BACKLIGHT_BREATHING | ||
| 26 | 23 | ||
| 27 | #define RGB_DI_PIN B15 | 24 | #define RGB_DI_PIN B15 |
| 28 | #define RGBLED_NUM 22 | 25 | #define RGBLED_NUM 22 |
diff --git a/keyboards/smithrune/iron165r2/f072/info.json b/keyboards/smithrune/iron165r2/f072/info.json index 8bba6f5d5d..a4171d423e 100644 --- a/keyboards/smithrune/iron165r2/f072/info.json +++ b/keyboards/smithrune/iron165r2/f072/info.json | |||
| @@ -1,4 +1,9 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "pin": "A6", | ||
| 4 | "levels": 20, | ||
| 5 | "breathing": true | ||
| 6 | }, | ||
| 2 | "processor": "STM32F072", | 7 | "processor": "STM32F072", |
| 3 | "bootloader": "stm32-dfu" | 8 | "bootloader": "stm32-dfu" |
| 4 | } | 9 | } |
diff --git a/keyboards/smithrune/iron165r2/f072/rules.mk b/keyboards/smithrune/iron165r2/f072/rules.mk index 1b6ec31817..8b584c9a42 100644 --- a/keyboards/smithrune/iron165r2/f072/rules.mk +++ b/keyboards/smithrune/iron165r2/f072/rules.mk | |||
| @@ -12,7 +12,6 @@ AUDIO_ENABLE = no # Audio output | |||
| 12 | LTO_ENABLE = no | 12 | LTO_ENABLE = no |
| 13 | ENCODER_ENABLE = no | 13 | ENCODER_ENABLE = no |
| 14 | BACKLIGHT_ENABLE = yes | 14 | BACKLIGHT_ENABLE = yes |
| 15 | BACKLIGHT_DRIVER = pwm | ||
| 16 | 15 | ||
| 17 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 16 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
| 18 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 17 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/smithrune/iron165r2/f411/config.h b/keyboards/smithrune/iron165r2/f411/config.h index 832c40e1cc..88ff1d167a 100644 --- a/keyboards/smithrune/iron165r2/f411/config.h +++ b/keyboards/smithrune/iron165r2/f411/config.h | |||
| @@ -17,12 +17,9 @@ 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_PIN A6 | ||
| 21 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 20 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 22 | #define BACKLIGHT_PWM_CHANNEL 1 | 21 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 23 | #define BACKLIGHT_PAL_MODE 2 | 22 | #define BACKLIGHT_PAL_MODE 2 |
| 24 | #define BACKLIGHT_LEVELS 20 | ||
| 25 | #define BACKLIGHT_BREATHING | ||
| 26 | 23 | ||
| 27 | #define RGB_DI_PIN B15 | 24 | #define RGB_DI_PIN B15 |
| 28 | #define RGBLED_NUM 22 | 25 | #define RGBLED_NUM 22 |
diff --git a/keyboards/smithrune/iron165r2/f411/info.json b/keyboards/smithrune/iron165r2/f411/info.json index 8610c8de5f..e3a63f8764 100644 --- a/keyboards/smithrune/iron165r2/f411/info.json +++ b/keyboards/smithrune/iron165r2/f411/info.json | |||
| @@ -1,4 +1,9 @@ | |||
| 1 | { | 1 | { |
| 2 | "backlight": { | ||
| 3 | "pin": "A6", | ||
| 4 | "levels": 20, | ||
| 5 | "breathing": true | ||
| 6 | }, | ||
| 2 | "processor": "STM32F411", | 7 | "processor": "STM32F411", |
| 3 | "bootloader": "stm32-dfu" | 8 | "bootloader": "stm32-dfu" |
| 4 | } | 9 | } |
diff --git a/keyboards/smithrune/iron165r2/f411/rules.mk b/keyboards/smithrune/iron165r2/f411/rules.mk index 3fcdaacb60..b5b0582d5d 100644 --- a/keyboards/smithrune/iron165r2/f411/rules.mk +++ b/keyboards/smithrune/iron165r2/f411/rules.mk | |||
| @@ -13,7 +13,6 @@ LTO_ENABLE = no | |||
| 13 | ENCODER_ENABLE = no | 13 | ENCODER_ENABLE = no |
| 14 | EEPROM_DRIVER = i2c | 14 | EEPROM_DRIVER = i2c |
| 15 | BACKLIGHT_ENABLE = yes | 15 | BACKLIGHT_ENABLE = yes |
| 16 | BACKLIGHT_DRIVER = pwm | ||
| 17 | WS2812_DRIVER = pwm | 16 | WS2812_DRIVER = pwm |
| 18 | 17 | ||
| 19 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 18 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
diff --git a/keyboards/smithrune/iron180/config.h b/keyboards/smithrune/iron180/config.h index bec408edc8..92c28d5719 100644 --- a/keyboards/smithrune/iron180/config.h +++ b/keyboards/smithrune/iron180/config.h | |||
| @@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_ROW_PINS { B9 , B8 , A15, B0 , A7 , A5 } | 21 | #define MATRIX_ROW_PINS { B9 , B8 , A15, B0 , A7 , A5 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN A6 | ||
| 25 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 24 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 26 | #define BACKLIGHT_PWM_CHANNEL 1 | 25 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 27 | #define BACKLIGHT_PAL_MODE 1 | 26 | #define BACKLIGHT_PAL_MODE 1 |
| 28 | #define BACKLIGHT_LEVELS 6 | ||
| 29 | #define BACKLIGHT_BREATHING | ||
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/smithrune/iron180/info.json b/keyboards/smithrune/iron180/info.json index 3092b2021f..0f8c436240 100644 --- a/keyboards/smithrune/iron180/info.json +++ b/keyboards/smithrune/iron180/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1180", | 8 | "pid": "0x1180", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "STM32F072", | 16 | "processor": "STM32F072", |
| 12 | "bootloader": "stm32-dfu", | 17 | "bootloader": "stm32-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/sowbug/68keys/config.h b/keyboards/sowbug/68keys/config.h index 513a4963e9..265cb24f07 100644 --- a/keyboards/sowbug/68keys/config.h +++ b/keyboards/sowbug/68keys/config.h | |||
| @@ -28,11 +28,6 @@ | |||
| 28 | 28 | ||
| 29 | #define RGB_DI_PIN B9 | 29 | #define RGB_DI_PIN B9 |
| 30 | 30 | ||
| 31 | // Want backlighting and RGB Matrix patterns? See the note in the readme, | ||
| 32 | // apply the patches, and then uncomment the line below as well as the ones | ||
| 33 | // in rules.mk. | ||
| 34 | // | ||
| 35 | // #define BACKLIGHT_PIN rgb_matrix | ||
| 36 | #define RGB_MATRIX_KEYPRESSES | 31 | #define RGB_MATRIX_KEYPRESSES |
| 37 | #define RGBLED_NUM 68 | 32 | #define RGBLED_NUM 68 |
| 38 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | 33 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM |
diff --git a/keyboards/sowbug/ansi_tkl/config.h b/keyboards/sowbug/ansi_tkl/config.h index 1c96bbac26..770a48b14d 100644 --- a/keyboards/sowbug/ansi_tkl/config.h +++ b/keyboards/sowbug/ansi_tkl/config.h | |||
| @@ -83,9 +83,3 @@ | |||
| 83 | #define ENABLE_RGB_MATRIX_MULTISPLASH | 83 | #define ENABLE_RGB_MATRIX_MULTISPLASH |
| 84 | #define ENABLE_RGB_MATRIX_SOLID_SPLASH | 84 | #define ENABLE_RGB_MATRIX_SOLID_SPLASH |
| 85 | #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | 85 | #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH |
| 86 | |||
| 87 | // Want backlighting and RGB Matrix patterns? See the note in the readme, | ||
| 88 | // apply the patches, and then uncomment the line below as well as the ones | ||
| 89 | // in rules.mk. | ||
| 90 | // | ||
| 91 | // #define BACKLIGHT_PIN rgb_matrix | ||
diff --git a/keyboards/specskeys/config.h b/keyboards/specskeys/config.h index 1b41c96d2c..a987f5782f 100644 --- a/keyboards/specskeys/config.h +++ b/keyboards/specskeys/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_LEVELS 1 | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/specskeys/info.json b/keyboards/specskeys/info.json index 57e0b92d51..8a4ff0d90b 100644 --- a/keyboards/specskeys/info.json +++ b/keyboards/specskeys/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0080", | 8 | "pid": "0x0080", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 1 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "C7", | 16 | "caps_lock": "C7", |
| 13 | "scroll_lock": "C6" | 17 | "scroll_lock": "C6" |
diff --git a/keyboards/spiderisland/split78/config.h b/keyboards/spiderisland/split78/config.h index 1f4772169e..6769ee2feb 100644 --- a/keyboards/spiderisland/split78/config.h +++ b/keyboards/spiderisland/split78/config.h | |||
| @@ -22,7 +22,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_ROWS 8 | 22 | #define MATRIX_ROWS 8 |
| 23 | #define MATRIX_COLS 14 | 23 | #define MATRIX_COLS 14 |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN D4 | ||
| 26 | #define BACKLIGHT_BREATHING | ||
| 27 | |||
| 28 | #define I2C_START_RETRY_COUNT 1 | 25 | #define I2C_START_RETRY_COUNT 1 |
diff --git a/keyboards/spiderisland/split78/info.json b/keyboards/spiderisland/split78/info.json index 27ab69b27b..74a49c57e3 100644 --- a/keyboards/spiderisland/split78/info.json +++ b/keyboards/spiderisland/split78/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xF4E4", | 8 | "pid": "0xF4E4", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32a", | 15 | "processor": "atmega32a", |
| 12 | "bootloader": "bootloadhid", | 16 | "bootloader": "bootloadhid", |
| 13 | "debounce": 50, | 17 | "debounce": 50, |
diff --git a/keyboards/subatomic/config.h b/keyboards/subatomic/config.h index 600d8bb156..058b582c36 100644 --- a/keyboards/subatomic/config.h +++ b/keyboards/subatomic/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | // #define AUDIO_VOICES | 25 | // #define AUDIO_VOICES |
| 26 | // #define AUDIO_PIN C6 | 26 | // #define AUDIO_PIN C6 |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B7 | ||
| 29 | |||
| 30 | /* COL2ROW or ROW2COL */ | 28 | /* COL2ROW or ROW2COL */ |
| 31 | #define DIODE_DIRECTION COL2ROW | 29 | #define DIODE_DIRECTION COL2ROW |
| 32 | 30 | ||
diff --git a/keyboards/subatomic/info.json b/keyboards/subatomic/info.json index 2b8546be71..99af17a9b7 100644 --- a/keyboards/subatomic/info.json +++ b/keyboards/subatomic/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6063", | 8 | "pid": "0x6063", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "at90usb1286", | 14 | "processor": "at90usb1286", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/switchplate/southpaw_65/config.h b/keyboards/switchplate/southpaw_65/config.h index bfd3cb0cc1..598ac367b3 100644 --- a/keyboards/switchplate/southpaw_65/config.h +++ b/keyboards/switchplate/southpaw_65/config.h | |||
| @@ -37,9 +37,6 @@ | |||
| 37 | /* COL2ROW, ROW2COL */ | 37 | /* COL2ROW, ROW2COL */ |
| 38 | //#define DIODE_DIRECTION COL2ROW | 38 | //#define DIODE_DIRECTION COL2ROW |
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN B5 | ||
| 41 | #define BACKLIGHT_LEVELS 10 | ||
| 42 | |||
| 43 | #define RGB_DI_PIN C7 | 40 | #define RGB_DI_PIN C7 |
| 44 | #define RGBLED_NUM 9 | 41 | #define RGBLED_NUM 9 |
| 45 | #define RGBLIGHT_EFFECT_BREATHING | 42 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/switchplate/southpaw_65/info.json b/keyboards/switchplate/southpaw_65/info.json index a59c899bd6..97cff66a16 100644 --- a/keyboards/switchplate/southpaw_65/info.json +++ b/keyboards/switchplate/southpaw_65/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4084", | 8 | "pid": "0x4084", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 10 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/switchplate/southpaw_fullsize/config.h b/keyboards/switchplate/southpaw_fullsize/config.h index 4f2ad82c45..92247d7951 100644 --- a/keyboards/switchplate/southpaw_fullsize/config.h +++ b/keyboards/switchplate/southpaw_fullsize/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/switchplate/southpaw_fullsize/info.json b/keyboards/switchplate/southpaw_fullsize/info.json index 507ed097bc..1b1cda7d2f 100644 --- a/keyboards/switchplate/southpaw_fullsize/info.json +++ b/keyboards/switchplate/southpaw_fullsize/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0017", | 8 | "pid": "0x0017", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "at90usb1286", | 14 | "processor": "at90usb1286", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/switchplate/switchplate910/config.h b/keyboards/switchplate/switchplate910/config.h index d18bb40c3c..adb547468a 100644 --- a/keyboards/switchplate/switchplate910/config.h +++ b/keyboards/switchplate/switchplate910/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/switchplate/switchplate910/info.json b/keyboards/switchplate/switchplate910/info.json index cdc9291765..5807471094 100644 --- a/keyboards/switchplate/switchplate910/info.json +++ b/keyboards/switchplate/switchplate910/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x2065", | 8 | "pid": "0x2065", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/sx60/config.h b/keyboards/sx60/config.h index 2fb26e4fc0..46921665c9 100755 --- a/keyboards/sx60/config.h +++ b/keyboards/sx60/config.h | |||
| @@ -32,8 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | /* COL2ROW or ROW2COL */ | 32 | /* COL2ROW or ROW2COL */ |
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B7 | ||
| 36 | |||
| 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 38 | #define LOCKING_SUPPORT_ENABLE | 36 | #define LOCKING_SUPPORT_ENABLE |
| 39 | 37 | ||
diff --git a/keyboards/sx60/info.json b/keyboards/sx60/info.json index b4b93b2cad..9c0b6bcf9a 100644 --- a/keyboards/sx60/info.json +++ b/keyboards/sx60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0010", | 8 | "pid": "0x0010", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "F4", | 15 | "caps_lock": "F4", |
| 13 | "num_lock": "F5", | 16 | "num_lock": "F5", |
diff --git a/keyboards/tada68/config.h b/keyboards/tada68/config.h index 6781107ec6..e99d3e1255 100755 --- a/keyboards/tada68/config.h +++ b/keyboards/tada68/config.h | |||
| @@ -31,11 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 32 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 33 | 33 | ||
| 34 | /* Backlight configuration */ | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | #define BACKLIGHT_BREATHING | ||
| 37 | #define BACKLIGHT_LEVELS 4 | ||
| 38 | |||
| 39 | /* | 34 | /* |
| 40 | * Feature disable options | 35 | * Feature disable options |
| 41 | * These options are also useful to firmware size reduction. | 36 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/tada68/info.json b/keyboards/tada68/info.json index 53ac1a5bfc..73dd33330b 100644 --- a/keyboards/tada68/info.json +++ b/keyboards/tada68/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 4, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B2", | 17 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/team0110/p1800fl/config.h b/keyboards/team0110/p1800fl/config.h index 3b0c746dd7..fc5c288264 100644 --- a/keyboards/team0110/p1800fl/config.h +++ b/keyboards/team0110/p1800fl/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | /* RGB Lighting */ | 37 | /* RGB Lighting */ |
| 42 | #define RGB_DI_PIN C6 | 38 | #define RGB_DI_PIN C6 |
| 43 | #ifdef RGB_DI_PIN | 39 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/team0110/p1800fl/info.json b/keyboards/team0110/p1800fl/info.json index 3abaaf33b7..118299101b 100644 --- a/keyboards/team0110/p1800fl/info.json +++ b/keyboards/team0110/p1800fl/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x3EAE", | 8 | "pid": "0x3EAE", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/tgr/910/config.h b/keyboards/tgr/910/config.h index 8f383b8710..fdc08d244c 100644 --- a/keyboards/tgr/910/config.h +++ b/keyboards/tgr/910/config.h | |||
| @@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | 26 | ||
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN D4 | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tgr/910/info.json b/keyboards/tgr/910/info.json index 3c4de6fe39..65aabe6ca8 100644 --- a/keyboards/tgr/910/info.json +++ b/keyboards/tgr/910/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x9100", | 8 | "pid": "0x9100", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/tgr/910ce/config.h b/keyboards/tgr/910ce/config.h index a868ebe1f9..5e5d28d5af 100644 --- a/keyboards/tgr/910ce/config.h +++ b/keyboards/tgr/910ce/config.h | |||
| @@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | 26 | ||
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN D4 | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tgr/910ce/info.json b/keyboards/tgr/910ce/info.json index 77655f52af..2c5fcb40d9 100644 --- a/keyboards/tgr/910ce/info.json +++ b/keyboards/tgr/910ce/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x910C", | 8 | "pid": "0x910C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/tgr/alice/config.h b/keyboards/tgr/alice/config.h index ba9171b989..d2e2f41a62 100644 --- a/keyboards/tgr/alice/config.h +++ b/keyboards/tgr/alice/config.h | |||
| @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } | 21 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } |
| 22 | #define DIODE_DIRECTION COL2ROW | 22 | #define DIODE_DIRECTION COL2ROW |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN D4 | ||
| 25 | |||
| 26 | #define RGBLED_NUM 18 | 24 | #define RGBLED_NUM 18 |
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/tgr/alice/info.json b/keyboards/tgr/alice/info.json index 3586e49367..67cbcad7ea 100644 --- a/keyboards/tgr/alice/info.json +++ b/keyboards/tgr/alice/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x422E", | 8 | "pid": "0x422E", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/tgr/jane/v2/config.h b/keyboards/tgr/jane/v2/config.h index d0f00ac2bd..fa8fe1d455 100644 --- a/keyboards/tgr/jane/v2/config.h +++ b/keyboards/tgr/jane/v2/config.h | |||
| @@ -23,5 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } | 23 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } |
| 24 | 24 | ||
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | |||
| 27 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/tgr/jane/v2/info.json b/keyboards/tgr/jane/v2/info.json index f43d27c84f..4351782e57 100644 --- a/keyboards/tgr/jane/v2/info.json +++ b/keyboards/tgr/jane/v2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4A4E", | 8 | "pid": "0x4A4E", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "scroll_lock": "D6" | 16 | "scroll_lock": "D6" |
diff --git a/keyboards/tgr/jane/v2ce/config.h b/keyboards/tgr/jane/v2ce/config.h index 0b3d381d19..485a2416e9 100644 --- a/keyboards/tgr/jane/v2ce/config.h +++ b/keyboards/tgr/jane/v2ce/config.h | |||
| @@ -22,5 +22,3 @@ | |||
| 22 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } | 22 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } |
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | |||
| 26 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/tgr/jane/v2ce/info.json b/keyboards/tgr/jane/v2ce/info.json index 3aa62ded58..b27eaf8e92 100644 --- a/keyboards/tgr/jane/v2ce/info.json +++ b/keyboards/tgr/jane/v2ce/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4A43", | 8 | "pid": "0x4A43", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D6" | 16 | "num_lock": "D6" |
diff --git a/keyboards/tgr/tris/config.h b/keyboards/tgr/tris/config.h index 59d4fbb325..db1d1e1625 100644 --- a/keyboards/tgr/tris/config.h +++ b/keyboards/tgr/tris/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN D4 | ||
| 27 | |||
| 28 | #define RGBLED_NUM 6 | 26 | #define RGBLED_NUM 6 |
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/tgr/tris/info.json b/keyboards/tgr/tris/info.json index 6ce36ce819..91cce43327 100644 --- a/keyboards/tgr/tris/info.json +++ b/keyboards/tgr/tris/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5452", | 8 | "pid": "0x5452", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "num_lock": "D0" | 15 | "num_lock": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/thevankeyboards/bananasplit/config.h b/keyboards/thevankeyboards/bananasplit/config.h index c526ed05f9..ab5f20d40a 100644 --- a/keyboards/thevankeyboards/bananasplit/config.h +++ b/keyboards/thevankeyboards/bananasplit/config.h | |||
| @@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION ROW2COL | 24 | #define DIODE_DIRECTION ROW2COL |
| 25 | 25 | ||
| 26 | /* mapping backlight LEDs to correct Pin */ | ||
| 27 | #define BACKLIGHT_PIN B7 | ||
| 28 | |||
| 29 | #define TAPPING_TERM 175 | 26 | #define TAPPING_TERM 175 |
| 30 | 27 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
diff --git a/keyboards/thevankeyboards/bananasplit/info.json b/keyboards/thevankeyboards/bananasplit/info.json index 961a89c94f..1824e945cf 100644 --- a/keyboards/thevankeyboards/bananasplit/info.json +++ b/keyboards/thevankeyboards/bananasplit/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x8870", | 8 | "pid": "0x8870", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 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/tkc/california/config.h b/keyboards/tkc/california/config.h index 8b59585bac..01959c10ad 100644 --- a/keyboards/tkc/california/config.h +++ b/keyboards/tkc/california/config.h | |||
| @@ -36,11 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | /* COL2ROW, ROW2COL*/ | 36 | /* COL2ROW, ROW2COL*/ |
| 37 | #define DIODE_DIRECTION ROW2COL | 37 | #define DIODE_DIRECTION ROW2COL |
| 38 | 38 | ||
| 39 | #define BACKLIGHT_PIN B7 | ||
| 40 | #ifdef BACKLIGHT_PIN | ||
| 41 | #define BACKLIGHT_BREATHING | ||
| 42 | #endif | ||
| 43 | |||
| 44 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 45 | #define LOCKING_SUPPORT_ENABLE | 40 | #define LOCKING_SUPPORT_ENABLE |
| 46 | /* Locking resynchronize hack */ | 41 | /* Locking resynchronize hack */ |
diff --git a/keyboards/tkc/california/info.json b/keyboards/tkc/california/info.json index 0b50229db8..d7c95747c9 100644 --- a/keyboards/tkc/california/info.json +++ b/keyboards/tkc/california/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0009", | 8 | "pid": "0x0009", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "F0", | 16 | "caps_lock": "F0", |
| 13 | "num_lock": "F1" | 17 | "num_lock": "F1" |
diff --git a/keyboards/tkc/m0lly/config.h b/keyboards/tkc/m0lly/config.h index dc94510953..7c09119e17 100644 --- a/keyboards/tkc/m0lly/config.h +++ b/keyboards/tkc/m0lly/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | |||
| 41 | #define RGB_DI_PIN D7 | 37 | #define RGB_DI_PIN D7 |
| 42 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 43 | # define RGBLED_NUM 30 | 39 | # define RGBLED_NUM 30 |
diff --git a/keyboards/tkc/m0lly/info.json b/keyboards/tkc/m0lly/info.json index 61bb64dca2..8f6d63a74d 100644 --- a/keyboards/tkc/m0lly/info.json +++ b/keyboards/tkc/m0lly/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0004", | 8 | "pid": "0x0004", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "qmk_lufa_bootloader": { | 15 | "qmk_lufa_bootloader": { |
| 12 | "esc_input": "F4", | 16 | "esc_input": "F4", |
| 13 | "esc_output": "A0", | 17 | "esc_output": "A0", |
diff --git a/keyboards/tkc/osav2/config.h b/keyboards/tkc/osav2/config.h index a4a78406e6..b8f2806ef1 100644 --- a/keyboards/tkc/osav2/config.h +++ b/keyboards/tkc/osav2/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN D6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN D4 | 37 | #define RGB_DI_PIN D4 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLED_NUM 9 | 39 | #define RGBLED_NUM 9 |
diff --git a/keyboards/tkc/osav2/info.json b/keyboards/tkc/osav2/info.json index d718a790c4..ed842b4b51 100644 --- a/keyboards/tkc/osav2/info.json +++ b/keyboards/tkc/osav2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0005", | 8 | "pid": "0x0005", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["alice", "alice_split_bs"], | 17 | "community_layouts": ["alice", "alice_split_bs"], |
diff --git a/keyboards/tkc/tkc1800/config.h b/keyboards/tkc/tkc1800/config.h index 8e475e3ff2..747db6bf03 100644 --- a/keyboards/tkc/tkc1800/config.h +++ b/keyboards/tkc/tkc1800/config.h | |||
| @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | /* COL2ROW or ROW2COL */ | 29 | /* COL2ROW or ROW2COL */ |
| 30 | #define DIODE_DIRECTION COL2ROW | 30 | #define DIODE_DIRECTION COL2ROW |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN B6 | ||
| 33 | #define BACKLIGHT_BREATHING | ||
| 34 | |||
| 35 | /* Underlight configuration | 32 | /* Underlight configuration |
| 36 | */ | 33 | */ |
| 37 | #define RGB_DI_PIN D7 | 34 | #define RGB_DI_PIN D7 |
diff --git a/keyboards/tkc/tkc1800/info.json b/keyboards/tkc/tkc1800/info.json index 0be83dbd53..ad57eb1aa5 100644 --- a/keyboards/tkc/tkc1800/info.json +++ b/keyboards/tkc/tkc1800/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "qmk_lufa_bootloader": { | 15 | "qmk_lufa_bootloader": { |
| 12 | "esc_input": "F4", | 16 | "esc_input": "F4", |
| 13 | "esc_output": "A0", | 17 | "esc_output": "A0", |
diff --git a/keyboards/tkc/tkl_ab87/config.h b/keyboards/tkc/tkl_ab87/config.h index 002979fcc0..ed701d2aa1 100644 --- a/keyboards/tkc/tkl_ab87/config.h +++ b/keyboards/tkc/tkl_ab87/config.h | |||
| @@ -36,10 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | /* COL2ROW, ROW2COL*/ | 36 | /* COL2ROW, ROW2COL*/ |
| 37 | #define DIODE_DIRECTION COL2ROW | 37 | #define DIODE_DIRECTION COL2ROW |
| 38 | 38 | ||
| 39 | #define BACKLIGHT_PIN B7 | ||
| 40 | #ifdef BACKLIGHT_PIN | ||
| 41 | #define BACKLIGHT_BREATHING | ||
| 42 | #endif | ||
| 43 | #define RGB_DI_PIN E2 | 39 | #define RGB_DI_PIN E2 |
| 44 | #ifdef RGB_DI_PIN | 40 | #ifdef RGB_DI_PIN |
| 45 | #define RGBLED_NUM 22 | 41 | #define RGBLED_NUM 22 |
diff --git a/keyboards/tkc/tkl_ab87/info.json b/keyboards/tkc/tkl_ab87/info.json index 76f0c3f63e..6c610a6007 100644 --- a/keyboards/tkc/tkl_ab87/info.json +++ b/keyboards/tkc/tkl_ab87/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0007", | 8 | "pid": "0x0007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "F1", | 16 | "caps_lock": "F1", |
| 13 | "scroll_lock": "F0" | 17 | "scroll_lock": "F0" |
diff --git a/keyboards/tmo50/config.h b/keyboards/tmo50/config.h index 09258f347c..1aac9574f8 100644 --- a/keyboards/tmo50/config.h +++ b/keyboards/tmo50/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B7 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | |||
| 40 | #define RGB_DI_PIN C7 | 37 | #define RGB_DI_PIN C7 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | #define RGBLED_NUM 10 | 39 | #define RGBLED_NUM 10 |
diff --git a/keyboards/tmo50/info.json b/keyboards/tmo50/info.json index 24d9e8296a..29b19aa513 100644 --- a/keyboards/tmo50/info.json +++ b/keyboards/tmo50/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0050", | 8 | "pid": "0x0050", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/tokyokeyboard/alix40/config.h b/keyboards/tokyokeyboard/alix40/config.h index 9a98443470..26736637cb 100644 --- a/keyboards/tokyokeyboard/alix40/config.h +++ b/keyboards/tokyokeyboard/alix40/config.h | |||
| @@ -14,12 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define BACKLIGHT_PIN B7 | ||
| 18 | #ifdef BACKLIGHT_PIN | ||
| 19 | #define BACKLIGHT_LEVELS 31 | ||
| 20 | #define BACKLIGHT_BREATHING | ||
| 21 | #endif | ||
| 22 | |||
| 23 | /* COL2ROW or ROW2COL */ | 17 | /* COL2ROW or ROW2COL */ |
| 24 | #define DIODE_DIRECTION ROW2COL | 18 | #define DIODE_DIRECTION ROW2COL |
| 25 | 19 | ||
diff --git a/keyboards/tokyokeyboard/alix40/info.json b/keyboards/tokyokeyboard/alix40/info.json index 1113fbf392..513a883d8e 100644 --- a/keyboards/tokyokeyboard/alix40/info.json +++ b/keyboards/tokyokeyboard/alix40/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x4134", | 8 | "pid": "0x4134", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 31, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/tokyokeyboard/tokyo60/config.h b/keyboards/tokyokeyboard/tokyo60/config.h index c29c92ad37..8ba921eaeb 100644 --- a/keyboards/tokyokeyboard/tokyo60/config.h +++ b/keyboards/tokyokeyboard/tokyo60/config.h | |||
| @@ -1,10 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #define BACKLIGHT_PIN B7 | ||
| 4 | #ifdef BACKLIGHT_PIN | ||
| 5 | #define BACKLIGHT_LEVELS 6 | ||
| 6 | #endif | ||
| 7 | |||
| 8 | /* COL2ROW or ROW2COL */ | 3 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION ROW2COL | 4 | #define DIODE_DIRECTION ROW2COL |
| 10 | 5 | ||
diff --git a/keyboards/tokyokeyboard/tokyo60/info.json b/keyboards/tokyokeyboard/tokyo60/info.json index b39dff92bc..dd16c3f4c2 100644 --- a/keyboards/tokyokeyboard/tokyo60/info.json +++ b/keyboards/tokyokeyboard/tokyo60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_hhkb"], | 17 | "community_layouts": ["60_hhkb"], |
diff --git a/keyboards/tr60w/config.h b/keyboards/tr60w/config.h index ac28f080af..39f21310ca 100644 --- a/keyboards/tr60w/config.h +++ b/keyboards/tr60w/config.h | |||
| @@ -8,8 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B7 | ||
| 12 | |||
| 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 14 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 15 | 13 | ||
diff --git a/keyboards/tr60w/info.json b/keyboards/tr60w/info.json index 09e236dbd2..15025926ce 100644 --- a/keyboards/tr60w/info.json +++ b/keyboards/tr60w/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4140", | 8 | "pid": "0x4140", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/treasure/type9/config.h b/keyboards/treasure/type9/config.h index 288cbe0549..35b03eebfb 100644 --- a/keyboards/treasure/type9/config.h +++ b/keyboards/treasure/type9/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION ROW2COL | 35 | #define DIODE_DIRECTION ROW2COL |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B5 | ||
| 38 | #define BACKLIGHT_LEVELS 10 | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/treasure/type9/info.json b/keyboards/treasure/type9/info.json index 6abc631310..c2ed86346f 100644 --- a/keyboards/treasure/type9/info.json +++ b/keyboards/treasure/type9/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 10 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/treasure/type9s2/config.h b/keyboards/treasure/type9s2/config.h index e94a269caa..f4e04317ce 100644 --- a/keyboards/treasure/type9s2/config.h +++ b/keyboards/treasure/type9s2/config.h | |||
| @@ -23,5 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | /* COL2ROW, ROW2COL*/ | 24 | /* COL2ROW, ROW2COL*/ |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | |||
| 27 | #define BACKLIGHT_PIN B7 | ||
diff --git a/keyboards/treasure/type9s2/info.json b/keyboards/treasure/type9s2/info.json index ce99c159da..bcb719c76f 100644 --- a/keyboards/treasure/type9s2/info.json +++ b/keyboards/treasure/type9s2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5492", | 8 | "pid": "0x5492", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u2", | 14 | "processor": "atmega32u2", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/tzarc/djinn/config.h b/keyboards/tzarc/djinn/config.h index 9ef23769f1..bb2bd6f6e2 100644 --- a/keyboards/tzarc/djinn/config.h +++ b/keyboards/tzarc/djinn/config.h | |||
| @@ -49,7 +49,6 @@ | |||
| 49 | #endif // LCD_ACTIVITY_TIMEOUT | 49 | #endif // LCD_ACTIVITY_TIMEOUT |
| 50 | 50 | ||
| 51 | // Backlight driver (to control LCD backlight) | 51 | // Backlight driver (to control LCD backlight) |
| 52 | #define BACKLIGHT_LEVELS 4 | ||
| 53 | #define BACKLIGHT_PWM_DRIVER PWMD17 | 52 | #define BACKLIGHT_PWM_DRIVER PWMD17 |
| 54 | #define BACKLIGHT_PWM_CHANNEL 1 | 53 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 55 | #define BACKLIGHT_PAL_MODE 1 | 54 | #define BACKLIGHT_PAL_MODE 1 |
diff --git a/keyboards/tzarc/djinn/info.json b/keyboards/tzarc/djinn/info.json index 08634983c8..cceaf637e5 100644 --- a/keyboards/tzarc/djinn/info.json +++ b/keyboards/tzarc/djinn/info.json | |||
| @@ -30,7 +30,8 @@ | |||
| 30 | "cols": ["C0", "C1", "C2", "C3", "A0", "A1", "A2"] | 30 | "cols": ["C0", "C1", "C2", "C3", "A0", "A1", "A2"] |
| 31 | }, | 31 | }, |
| 32 | "backlight": { | 32 | "backlight": { |
| 33 | "pin": "A7" | 33 | "pin": "A7", |
| 34 | "levels": 4 | ||
| 34 | }, | 35 | }, |
| 35 | "split": { | 36 | "split": { |
| 36 | "enabled": true, | 37 | "enabled": true, |
diff --git a/keyboards/tzarc/djinn/rules.mk b/keyboards/tzarc/djinn/rules.mk index 2f343a5a9d..9b81a4bfaf 100644 --- a/keyboards/tzarc/djinn/rules.mk +++ b/keyboards/tzarc/djinn/rules.mk | |||
| @@ -2,8 +2,6 @@ CUSTOM_MATRIX = lite | |||
| 2 | 2 | ||
| 3 | SERIAL_DRIVER = usart | 3 | SERIAL_DRIVER = usart |
| 4 | 4 | ||
| 5 | BACKLIGHT_DRIVER = pwm | ||
| 6 | |||
| 7 | WS2812_DRIVER = pwm | 5 | WS2812_DRIVER = pwm |
| 8 | CIE1931_CURVE = yes | 6 | CIE1931_CURVE = yes |
| 9 | 7 | ||
diff --git a/keyboards/ubest/vn/config.h b/keyboards/ubest/vn/config.h index feb3d468b2..75551832f1 100644 --- a/keyboards/ubest/vn/config.h +++ b/keyboards/ubest/vn/config.h | |||
| @@ -32,8 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | |||
| 37 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 38 | #ifdef RGB_DI_PIN | 36 | #ifdef RGB_DI_PIN |
| 39 | #define RGBLED_NUM 8 | 37 | #define RGBLED_NUM 8 |
diff --git a/keyboards/ubest/vn/info.json b/keyboards/ubest/vn/info.json index ab4df7d838..348a51fc7a 100644 --- a/keyboards/ubest/vn/info.json +++ b/keyboards/ubest/vn/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0868", | 8 | "pid": "0x0868", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B3", | 15 | "caps_lock": "B3", |
| 13 | "num_lock": "B1", | 16 | "num_lock": "B1", |
diff --git a/keyboards/uk78/config.h b/keyboards/uk78/config.h index c03e419ab2..3a9e21ea60 100644 --- a/keyboards/uk78/config.h +++ b/keyboards/uk78/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B6 | ||
| 29 | |||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 32 | 30 | ||
diff --git a/keyboards/uk78/info.json b/keyboards/uk78/info.json index 06c6626a0a..fbbc15609c 100644 --- a/keyboards/uk78/info.json +++ b/keyboards/uk78/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x004E", | 8 | "pid": "0x004E", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6" | ||
| 13 | }, | ||
| 11 | "processor": "at90usb1286", | 14 | "processor": "at90usb1286", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/unikeyboard/diverge3/config.h b/keyboards/unikeyboard/diverge3/config.h index d845d8a2f3..c9a5d49447 100644 --- a/keyboards/unikeyboard/diverge3/config.h +++ b/keyboards/unikeyboard/diverge3/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION ROW2COL | 35 | #define DIODE_DIRECTION ROW2COL |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN C6 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | #ifndef SELECT_SOFT_SERIAL_SPEED | 37 | #ifndef SELECT_SOFT_SERIAL_SPEED |
| 42 | #define SELECT_SOFT_SERIAL_SPEED 3 | 38 | #define SELECT_SOFT_SERIAL_SPEED 3 |
| 43 | #endif | 39 | #endif |
diff --git a/keyboards/unikeyboard/diverge3/info.json b/keyboards/unikeyboard/diverge3/info.json index 65f72af3be..c2caaca881 100644 --- a/keyboards/unikeyboard/diverge3/info.json +++ b/keyboards/unikeyboard/diverge3/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x1257", | 8 | "pid": "0x1257", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "split": { | 16 | "split": { |
| 12 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 13 | }, | 18 | }, |
diff --git a/keyboards/unikeyboard/felix/config.h b/keyboards/unikeyboard/felix/config.h index 2f0740c8f1..a3a667d632 100644 --- a/keyboards/unikeyboard/felix/config.h +++ b/keyboards/unikeyboard/felix/config.h | |||
| @@ -17,9 +17,6 @@ | |||
| 17 | /* COL2ROW, ROW2COL */ | 17 | /* COL2ROW, ROW2COL */ |
| 18 | #define DIODE_DIRECTION ROW2COL | 18 | #define DIODE_DIRECTION ROW2COL |
| 19 | 19 | ||
| 20 | #define BACKLIGHT_PIN C6 | ||
| 21 | #define BACKLIGHT_LEVELS 5 | ||
| 22 | |||
| 23 | /* 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 */ |
| 24 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 25 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/unikeyboard/felix/info.json b/keyboards/unikeyboard/felix/info.json index f8ebb75424..ee74cb134f 100644 --- a/keyboards/unikeyboard/felix/info.json +++ b/keyboards/unikeyboard/felix/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "community_layouts": ["ortho_5x4"], | 17 | "community_layouts": ["ortho_5x4"], |
diff --git a/keyboards/unikorn/config.h b/keyboards/unikorn/config.h index d1c71a801e..fc91f5138f 100644 --- a/keyboards/unikorn/config.h +++ b/keyboards/unikorn/config.h | |||
| @@ -24,8 +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 | #define BACKLIGHT_PIN D4 | ||
| 28 | |||
| 29 | #ifdef RGBLIGHT_ENABLE | 27 | #ifdef RGBLIGHT_ENABLE |
| 30 | #define RGBLED_NUM 17 | 28 | #define RGBLED_NUM 17 |
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/unikorn/info.json b/keyboards/unikorn/info.json index 8a6b47624b..b894a98dac 100644 --- a/keyboards/unikorn/info.json +++ b/keyboards/unikorn/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x556B", | 8 | "pid": "0x556B", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1" | 15 | "caps_lock": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/utd80/config.h b/keyboards/utd80/config.h index 074b7311a6..9677a8e262 100644 --- a/keyboards/utd80/config.h +++ b/keyboards/utd80/config.h | |||
| @@ -21,9 +21,6 @@ | |||
| 21 | #define MATRIX_ROW_PINS { B4, D5, D0, B2, B3, B0 } | 21 | #define MATRIX_ROW_PINS { B4, D5, D0, B2, B3, B0 } |
| 22 | #define MATRIX_COL_PINS { B1, F0, F1, F4, F5, F6, F7, C7, C6, D3, E6, D7, D6, D4, D2, D1 } | 22 | #define MATRIX_COL_PINS { B1, F0, F1, F4, F5, F6, F7, C7, C6, D3, E6, D7, D6, D4, D2, D1 } |
| 23 | 23 | ||
| 24 | #define BACKLIGHT_PIN B7 | ||
| 25 | #define BACKLIGHT_BREATHING | ||
| 26 | |||
| 27 | /* COL2ROW or ROW2COL */ | 24 | /* COL2ROW or ROW2COL */ |
| 28 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 29 | 26 | ||
diff --git a/keyboards/utd80/info.json b/keyboards/utd80/info.json index 22e83c6f70..cf0b6530ad 100644 --- a/keyboards/utd80/info.json +++ b/keyboards/utd80/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x001C", | 8 | "pid": "0x001C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B6", | 16 | "caps_lock": "B6", |
| 13 | "scroll_lock": "B5" | 17 | "scroll_lock": "B5" |
diff --git a/keyboards/v60_type_r/config.h b/keyboards/v60_type_r/config.h index f2af33616e..3c76b77bce 100644 --- a/keyboards/v60_type_r/config.h +++ b/keyboards/v60_type_r/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN F7 | ||
| 38 | |||
| 39 | #define RGBLED_NUM 1 | 37 | #define RGBLED_NUM 1 |
| 40 | #define RGBLIGHT_EFFECT_BREATHING | 38 | #define RGBLIGHT_EFFECT_BREATHING |
| 41 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 39 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/v60_type_r/info.json b/keyboards/v60_type_r/info.json index f107f27aa4..e37ccc9543 100644 --- a/keyboards/v60_type_r/info.json +++ b/keyboards/v60_type_r/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "F7", | ||
| 12 | "on_state": 0 | 13 | "on_state": 0 |
| 13 | }, | 14 | }, |
| 14 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
diff --git a/keyboards/waldo/config.h b/keyboards/waldo/config.h index 856a1136d6..028b00de10 100644 --- a/keyboards/waldo/config.h +++ b/keyboards/waldo/config.h | |||
| @@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 } | 22 | #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 } |
| 23 | #define MATRIX_COL_PINS { F7, D5, D3, D2, B3, B2, C7, C6, B6, B5, B4, D7, D6, D4, B1 } | 23 | #define MATRIX_COL_PINS { F7, D5, D3, D2, B3, B2, C7, C6, B6, B5, B4, D7, D6, D4, B1 } |
| 24 | 24 | ||
| 25 | #define BACKLIGHT_PIN B7 | ||
| 26 | #define BACKLIGHT_BREATHING | ||
| 27 | |||
| 28 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 29 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 30 | 27 | ||
diff --git a/keyboards/waldo/info.json b/keyboards/waldo/info.json index 277664fd71..0c85e1d8d5 100644 --- a/keyboards/waldo/info.json +++ b/keyboards/waldo/info.json | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | "pid": "0x6060", | 7 | "pid": "0x6060", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B7", | ||
| 12 | "breathing": true | ||
| 13 | }, | ||
| 10 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 11 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 12 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/walletburner/neuron/config.h b/keyboards/walletburner/neuron/config.h index 5324f76114..84f3444730 100644 --- a/keyboards/walletburner/neuron/config.h +++ b/keyboards/walletburner/neuron/config.h | |||
| @@ -8,8 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B5 | ||
| 12 | |||
| 13 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 14 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 15 | 13 | ||
diff --git a/keyboards/westfoxtrot/aanzee/config.h b/keyboards/westfoxtrot/aanzee/config.h index 4ec99fa5ef..70f820c25e 100644 --- a/keyboards/westfoxtrot/aanzee/config.h +++ b/keyboards/westfoxtrot/aanzee/config.h | |||
| @@ -26,10 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | /* COL2ROW or ROW2COL */ | 26 | /* COL2ROW or ROW2COL */ |
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define BACKLIGHT_PIN B7 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | #define BACKLIGHT_LEVELS 5 | ||
| 32 | |||
| 33 | #define RGB_DI_PIN E6 | 29 | #define RGB_DI_PIN E6 |
| 34 | #ifdef RGB_DI_PIN | 30 | #ifdef RGB_DI_PIN |
| 35 | #define RGBLED_NUM 9 | 31 | #define RGBLED_NUM 9 |
diff --git a/keyboards/westfoxtrot/aanzee/info.json b/keyboards/westfoxtrot/aanzee/info.json index 65945c69a3..4c3e9bf058 100644 --- a/keyboards/westfoxtrot/aanzee/info.json +++ b/keyboards/westfoxtrot/aanzee/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xAA01", | 8 | "pid": "0xAA01", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "B2", | 17 | "caps_lock": "B2", |
| 13 | "on_state": 0 | 18 | "on_state": 0 |
diff --git a/keyboards/westfoxtrot/cypher/rev1/config.h b/keyboards/westfoxtrot/cypher/rev1/config.h index 3a6d4a024a..a6e5ac891f 100644 --- a/keyboards/westfoxtrot/cypher/rev1/config.h +++ b/keyboards/westfoxtrot/cypher/rev1/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN B5 | ||
| 38 | #define BACKLIGHT_BREATHING | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/westfoxtrot/cypher/rev1/info.json b/keyboards/westfoxtrot/cypher/rev1/info.json index 192d78d468..5089486866 100644 --- a/keyboards/westfoxtrot/cypher/rev1/info.json +++ b/keyboards/westfoxtrot/cypher/rev1/info.json | |||
| @@ -6,6 +6,11 @@ | |||
| 6 | "pid": "0xAA97", | 6 | "pid": "0xAA97", |
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "B5", | ||
| 11 | "levels": 5, | ||
| 12 | "breathing": true | ||
| 13 | }, | ||
| 9 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 10 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 11 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/westfoxtrot/cypher/rev5/config.h b/keyboards/westfoxtrot/cypher/rev5/config.h index 794f2188b0..61604a74a9 100644 --- a/keyboards/westfoxtrot/cypher/rev5/config.h +++ b/keyboards/westfoxtrot/cypher/rev5/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ | 34 | /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_BREATHING | ||
| 38 | #define BACKLIGHT_LEVELS 5 | ||
| 39 | |||
| 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 41 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 42 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
| @@ -47,11 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | */ | 44 | */ |
| 48 | #define GRAVE_ESC_CTRL_OVERRIDE | 45 | #define GRAVE_ESC_CTRL_OVERRIDE |
| 49 | 46 | ||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | #define BACKLIGHT_PIN D0 | ||
| 54 | |||
| 55 | #define RGB_DI_PIN E6 | 47 | #define RGB_DI_PIN E6 |
| 56 | #ifdef RGB_DI_PIN | 48 | #ifdef RGB_DI_PIN |
| 57 | #define RGBLED_NUM 10 | 49 | #define RGBLED_NUM 10 |
diff --git a/keyboards/westfoxtrot/cypher/rev5/info.json b/keyboards/westfoxtrot/cypher/rev5/info.json index b2d4417af5..17bc326890 100644 --- a/keyboards/westfoxtrot/cypher/rev5/info.json +++ b/keyboards/westfoxtrot/cypher/rev5/info.json | |||
| @@ -6,6 +6,11 @@ | |||
| 6 | "pid": "0xAA98", | 6 | "pid": "0xAA98", |
| 7 | "device_version": "0.0.2" | 7 | "device_version": "0.0.2" |
| 8 | }, | 8 | }, |
| 9 | "backlight": { | ||
| 10 | "pin": "D0", | ||
| 11 | "levels": 5, | ||
| 12 | "breathing": true | ||
| 13 | }, | ||
| 9 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 10 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 11 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/wilba_tech/rama_works_m10_b/config.h b/keyboards/wilba_tech/rama_works_m10_b/config.h index c3589cad99..be92b36639 100644 --- a/keyboards/wilba_tech/rama_works_m10_b/config.h +++ b/keyboards/wilba_tech/rama_works_m10_b/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 33 | ||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | |||
| 37 | #define BACKLIGHT_PIN C6 | ||
| 38 | 36 | ||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/wilba_tech/rama_works_m10_b/info.json b/keyboards/wilba_tech/rama_works_m10_b/info.json index ea7c0ba833..4b7c87be21 100644 --- a/keyboards/wilba_tech/rama_works_m10_b/info.json +++ b/keyboards/wilba_tech/rama_works_m10_b/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x00AB", | 8 | "pid": "0x00AB", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "C6" | ||
| 13 | }, | ||
| 11 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 16 | "layouts": { |
diff --git a/keyboards/winkeyless/b87/config.h b/keyboards/winkeyless/b87/config.h index 6d0d221922..ce27a1c563 100644 --- a/keyboards/winkeyless/b87/config.h +++ b/keyboards/winkeyless/b87/config.h | |||
| @@ -36,5 +36,3 @@ | |||
| 36 | 36 | ||
| 37 | /* COL2ROW or ROW2COL */ | 37 | /* COL2ROW or ROW2COL */ |
| 38 | #define DIODE_DIRECTION COL2ROW | 38 | #define DIODE_DIRECTION COL2ROW |
| 39 | |||
| 40 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/winkeyless/b87/info.json b/keyboards/winkeyless/b87/info.json index 0d53604cd1..542cc74d27 100644 --- a/keyboards/winkeyless/b87/info.json +++ b/keyboards/winkeyless/b87/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0B87", | 8 | "pid": "0x0B87", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "scroll_lock": "D6" | 16 | "scroll_lock": "D6" |
diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h index d2ad985cae..cbb0be707d 100644 --- a/keyboards/winkeyless/bface/config.h +++ b/keyboards/winkeyless/bface/config.h | |||
| @@ -35,5 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | |||
| 39 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/winkeyless/bface/info.json b/keyboards/winkeyless/bface/info.json index e19e42e577..f7a8c61032 100644 --- a/keyboards/winkeyless/bface/info.json +++ b/keyboards/winkeyless/bface/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4246", | 8 | "pid": "0x4246", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/winkeyless/bmini/config.h b/keyboards/winkeyless/bmini/config.h index 8589b74f37..033807a3f5 100644 --- a/keyboards/winkeyless/bmini/config.h +++ b/keyboards/winkeyless/bmini/config.h | |||
| @@ -34,5 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | |||
| 38 | #define BACKLIGHT_PIN D4 | ||
diff --git a/keyboards/winkeyless/bmini/info.json b/keyboards/winkeyless/bmini/info.json index e096f860cc..58edbac998 100644 --- a/keyboards/winkeyless/bmini/info.json +++ b/keyboards/winkeyless/bmini/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x424D", | 8 | "pid": "0x424D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "D1", | 15 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 16 | "num_lock": "D0", |
diff --git a/keyboards/winkeyless/bminiex/config.h b/keyboards/winkeyless/bminiex/config.h index b145f25348..351de6f475 100644 --- a/keyboards/winkeyless/bminiex/config.h +++ b/keyboards/winkeyless/bminiex/config.h | |||
| @@ -34,6 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | |||
| 38 | #define BACKLIGHT_PIN D4 | ||
| 39 | #define BACKLIGHT_LEVELS 5 | ||
diff --git a/keyboards/winkeyless/bminiex/info.json b/keyboards/winkeyless/bminiex/info.json index 65d888eaec..afd766f480 100644 --- a/keyboards/winkeyless/bminiex/info.json +++ b/keyboards/winkeyless/bminiex/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4258", | 8 | "pid": "0x4258", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "D1", | 16 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 17 | "num_lock": "D0", |
diff --git a/keyboards/wolf/sabre/config.h b/keyboards/wolf/sabre/config.h index 6787d262ca..c0150fce0b 100644 --- a/keyboards/wolf/sabre/config.h +++ b/keyboards/wolf/sabre/config.h | |||
| @@ -35,5 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | 35 | ||
| 36 | /* COL2ROW or ROW2COL */ | 36 | /* COL2ROW or ROW2COL */ |
| 37 | #define DIODE_DIRECTION COL2ROW | 37 | #define DIODE_DIRECTION COL2ROW |
| 38 | |||
| 39 | #define BACKLIGHT_PIN B7 | ||
diff --git a/keyboards/wolf/sabre/info.json b/keyboards/wolf/sabre/info.json index 5dd8aba471..40ee60a6d0 100644 --- a/keyboards/wolf/sabre/info.json +++ b/keyboards/wolf/sabre/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0055", | 8 | "pid": "0x0055", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7" | ||
| 13 | }, | ||
| 11 | "indicators": { | 14 | "indicators": { |
| 12 | "caps_lock": "B3", | 15 | "caps_lock": "B3", |
| 13 | "scroll_lock": "B0", | 16 | "scroll_lock": "B0", |
diff --git a/keyboards/wolf/sabre/rules.mk b/keyboards/wolf/sabre/rules.mk index c53a08ce4a..e7cc37d18d 100644 --- a/keyboards/wolf/sabre/rules.mk +++ b/keyboards/wolf/sabre/rules.mk | |||
| @@ -14,4 +14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
| 14 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 14 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 15 | AUDIO_ENABLE = no # Audio output | 15 | AUDIO_ENABLE = no # Audio output |
| 16 | BACKLIGHT_ENABLE = yes | 16 | BACKLIGHT_ENABLE = yes |
| 17 | BACKLIGHT_DRIVER = pwm \ No newline at end of file | ||
diff --git a/keyboards/wolf/ts60/config.h b/keyboards/wolf/ts60/config.h index e5cb71fb4c..7664e747c7 100644 --- a/keyboards/wolf/ts60/config.h +++ b/keyboards/wolf/ts60/config.h | |||
| @@ -52,7 +52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 52 | #define RGBLIGHT_SLEEP | 52 | #define RGBLIGHT_SLEEP |
| 53 | #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL | 53 | #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL |
| 54 | 54 | ||
| 55 | /* Define Per Key Backlight */ | ||
| 56 | #define BACKLIGHT_PIN B7 | ||
| 57 | #define BACKLIGHT_LEVELS 6 | ||
| 58 | #define BACKLIGHT_DEFAULT_LEVEL 6 | 55 | #define BACKLIGHT_DEFAULT_LEVEL 6 |
diff --git a/keyboards/wolf/ts60/info.json b/keyboards/wolf/ts60/info.json index e3d2a375e3..8b40cd6ff2 100644 --- a/keyboards/wolf/ts60/info.json +++ b/keyboards/wolf/ts60/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0050", | 8 | "pid": "0x0050", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["60_ansi"], | 17 | "community_layouts": ["60_ansi"], |
diff --git a/keyboards/woodkeys/meira/config.h b/keyboards/woodkeys/meira/config.h index e611ebf11f..f1434fdbd4 100644 --- a/keyboards/woodkeys/meira/config.h +++ b/keyboards/woodkeys/meira/config.h | |||
| @@ -25,10 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW, ROW2COL*/ | 25 | /* COL2ROW, ROW2COL*/ |
| 26 | //#define DIODE_DIRECTION | 26 | //#define DIODE_DIRECTION |
| 27 | 27 | ||
| 28 | #ifdef BACKLIGHT_ENABLE | ||
| 29 | #define BACKLIGHT_LEVELS 10 | ||
| 30 | #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} | 28 | #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} |
| 31 | #endif | ||
| 32 | 29 | ||
| 33 | #ifdef RGBLIGHT_ENABLE | 30 | #ifdef RGBLIGHT_ENABLE |
| 34 | #define RGB_DI_PIN D3 | 31 | #define RGB_DI_PIN D3 |
diff --git a/keyboards/woodkeys/meira/info.json b/keyboards/woodkeys/meira/info.json index 70d2600163..3a0ae1d190 100644 --- a/keyboards/woodkeys/meira/info.json +++ b/keyboards/woodkeys/meira/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6061", | 8 | "pid": "0x6061", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "driver": "custom", | ||
| 13 | "levels": 10 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "caterina", | 16 | "bootloader": "caterina", |
| 13 | "layout_aliases": { | 17 | "layout_aliases": { |
diff --git a/keyboards/woodkeys/meira/meira.c b/keyboards/woodkeys/meira/meira.c index d8c04859e2..1f4c2557b0 100644 --- a/keyboards/woodkeys/meira/meira.c +++ b/keyboards/woodkeys/meira/meira.c | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #include "TWIlib.h" | 18 | #include "TWIlib.h" |
| 19 | #include "lighting.h" | 19 | #include "lighting.h" |
| 20 | #include "quantum.h" | 20 | #include "quantum.h" |
| 21 | #define BACKLIGHT_BREATHING | ||
| 22 | 21 | ||
| 23 | extern void backlight_set(uint8_t level); | 22 | extern void backlight_set(uint8_t level); |
| 24 | 23 | ||
diff --git a/keyboards/woodkeys/meira/rules.mk b/keyboards/woodkeys/meira/rules.mk index 7f77c0a123..20802b3179 100644 --- a/keyboards/woodkeys/meira/rules.mk +++ b/keyboards/woodkeys/meira/rules.mk | |||
| @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug | |||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 9 | NKRO_ENABLE = no # Enable N-Key Rollover | 9 | NKRO_ENABLE = no # Enable N-Key Rollover |
| 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality, also set ISSI_ENABLE below for Meira | 10 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality, also set ISSI_ENABLE below for Meira |
| 11 | BACKLIGHT_DRIVER = custom | ||
| 12 | ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled | 11 | ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled |
| 13 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 12 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 14 | AUDIO_ENABLE = no # Audio output | 13 | AUDIO_ENABLE = no # Audio output |
diff --git a/keyboards/x16/config.h b/keyboards/x16/config.h index 40ae37b57f..673e71eca8 100644 --- a/keyboards/x16/config.h +++ b/keyboards/x16/config.h | |||
| @@ -33,9 +33,6 @@ | |||
| 33 | /* COL2ROW, ROW2COL*/ | 33 | /* COL2ROW, ROW2COL*/ |
| 34 | #define DIODE_DIRECTION COL2ROW | 34 | #define DIODE_DIRECTION COL2ROW |
| 35 | 35 | ||
| 36 | #define BACKLIGHT_PIN B5 | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 36 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 40 | #define LOCKING_SUPPORT_ENABLE | 37 | #define LOCKING_SUPPORT_ENABLE |
| 41 | /* Locking resynchronize hack */ | 38 | /* Locking resynchronize hack */ |
diff --git a/keyboards/x16/info.json b/keyboards/x16/info.json index 2fafd80695..b5e457d424 100644 --- a/keyboards/x16/info.json +++ b/keyboards/x16/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x016A", | 8 | "pid": "0x016A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/xiudi/xd004/info.json b/keyboards/xiudi/xd004/info.json index 175b7873f3..a404780eea 100644 --- a/keyboards/xiudi/xd004/info.json +++ b/keyboards/xiudi/xd004/info.json | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | "pid": "0x0404", | 7 | "pid": "0x0404", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "D5", | ||
| 12 | "levels": 6 | ||
| 13 | }, | ||
| 10 | "processor": "atmega16u2", | 14 | "processor": "atmega16u2", |
| 11 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 12 | "matrix_pins": { | 16 | "matrix_pins": { |
diff --git a/keyboards/xiudi/xd004/v1/config.h b/keyboards/xiudi/xd004/v1/config.h index 0b4e44336c..1e747adeaf 100644 --- a/keyboards/xiudi/xd004/v1/config.h +++ b/keyboards/xiudi/xd004/v1/config.h | |||
| @@ -23,11 +23,6 @@ where some things are disabled to save space as well. | |||
| 23 | 23 | ||
| 24 | #pragma once | 24 | #pragma once |
| 25 | 25 | ||
| 26 | /* Backlight Setup */ | ||
| 27 | // Looks like each backlight LED is connected to a single output, D5 is the one furtherst away from USB port | ||
| 28 | #define BACKLIGHT_PIN D5 | ||
| 29 | #define BACKLIGHT_LEVELS 6 | ||
| 30 | |||
| 31 | /* RGB Underglow | 26 | /* RGB Underglow |
| 32 | This will not be used, as RGBLIGHT_ENABLE is set to 'no' in rules.mk | 27 | This will not be used, as RGBLIGHT_ENABLE is set to 'no' in rules.mk |
| 33 | We do not have enough space in the flash for this at the moment, maybe | 28 | We do not have enough space in the flash for this at the moment, maybe |
diff --git a/keyboards/xiudi/xd60/rev2/config.h b/keyboards/xiudi/xd60/rev2/config.h index 8641113690..43a56c9a92 100644 --- a/keyboards/xiudi/xd60/rev2/config.h +++ b/keyboards/xiudi/xd60/rev2/config.h | |||
| @@ -31,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | 31 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } |
| 32 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } | 32 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } |
| 33 | 33 | ||
| 34 | /* Backlight Setup */ | ||
| 35 | #define BACKLIGHT_PIN F5 | ||
| 36 | #define BACKLIGHT_LEVELS 6 | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 39 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 40 | 36 | ||
diff --git a/keyboards/xiudi/xd60/rev2/info.json b/keyboards/xiudi/xd60/rev2/info.json index 6d6d288d0c..1951e52dfe 100644 --- a/keyboards/xiudi/xd60/rev2/info.json +++ b/keyboards/xiudi/xd60/rev2/info.json | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | "pid": "0x6060" | 4 | "pid": "0x6060" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | 6 | "backlight": { |
| 7 | "pin": "F5", | ||
| 8 | "levels": 6, | ||
| 7 | "on_state": 0 | 9 | "on_state": 0 |
| 8 | }, | 10 | }, |
| 9 | "processor": "atmega32u4", | 11 | "processor": "atmega32u4", |
diff --git a/keyboards/xiudi/xd60/rev3/config.h b/keyboards/xiudi/xd60/rev3/config.h index 05acd6cba2..617d77b1de 100644 --- a/keyboards/xiudi/xd60/rev3/config.h +++ b/keyboards/xiudi/xd60/rev3/config.h | |||
| @@ -31,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | 31 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } |
| 32 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } | 32 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } |
| 33 | 33 | ||
| 34 | /* Backlight Setup */ | ||
| 35 | #define BACKLIGHT_PIN F5 | ||
| 36 | #define BACKLIGHT_LEVELS 6 | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | 34 | /* COL2ROW or ROW2COL */ |
| 39 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 40 | 36 | ||
diff --git a/keyboards/xiudi/xd60/rev3/info.json b/keyboards/xiudi/xd60/rev3/info.json index 85e6a5d3f4..1b03e6c6e3 100644 --- a/keyboards/xiudi/xd60/rev3/info.json +++ b/keyboards/xiudi/xd60/rev3/info.json | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | "pid": "0x6363" | 4 | "pid": "0x6363" |
| 5 | }, | 5 | }, |
| 6 | "backlight": { | 6 | "backlight": { |
| 7 | "pin": "F5", | ||
| 8 | "levels": 6, | ||
| 7 | "on_state": 0 | 9 | "on_state": 0 |
| 8 | }, | 10 | }, |
| 9 | "processor": "atmega32u4", | 11 | "processor": "atmega32u4", |
diff --git a/keyboards/xiudi/xd68/config.h b/keyboards/xiudi/xd68/config.h index d1e69102e1..93181b668b 100644 --- a/keyboards/xiudi/xd68/config.h +++ b/keyboards/xiudi/xd68/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL*/ | 34 | /* COL2ROW, ROW2COL*/ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN F5 | ||
| 38 | #define BACKLIGHT_LEVELS 6 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 37 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 38 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 39 | /* Locking resynchronize hack */ |
diff --git a/keyboards/xiudi/xd68/info.json b/keyboards/xiudi/xd68/info.json index 5163e03127..8b1169474c 100644 --- a/keyboards/xiudi/xd68/info.json +++ b/keyboards/xiudi/xd68/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "F5", | ||
| 13 | "levels": 6, | ||
| 14 | "breathing": true, | ||
| 12 | "on_state": 0 | 15 | "on_state": 0 |
| 13 | }, | 16 | }, |
| 14 | "indicators": { | 17 | "indicators": { |
diff --git a/keyboards/xiudi/xd75/config.h b/keyboards/xiudi/xd75/config.h index b44c70e2c1..e4a2e0139e 100644 --- a/keyboards/xiudi/xd75/config.h +++ b/keyboards/xiudi/xd75/config.h | |||
| @@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN F5 | ||
| 38 | #define BACKLIGHT_LEVELS 6 | ||
| 39 | |||
| 40 | #define RGB_DI_PIN F6 | 37 | #define RGB_DI_PIN F6 |
| 41 | #ifdef RGB_DI_PIN | 38 | #ifdef RGB_DI_PIN |
| 42 | # define RGBLED_NUM 6 | 39 | # define RGBLED_NUM 6 |
diff --git a/keyboards/xiudi/xd75/info.json b/keyboards/xiudi/xd75/info.json index 0c45316080..54b1dc718b 100644 --- a/keyboards/xiudi/xd75/info.json +++ b/keyboards/xiudi/xd75/info.json | |||
| @@ -9,6 +9,8 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "F5", | ||
| 13 | "levels": 6, | ||
| 12 | "on_state": 0 | 14 | "on_state": 0 |
| 13 | }, | 15 | }, |
| 14 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
diff --git a/keyboards/xiudi/xd84/config.h b/keyboards/xiudi/xd84/config.h index 6d1024d748..5908cc6d24 100644 --- a/keyboards/xiudi/xd84/config.h +++ b/keyboards/xiudi/xd84/config.h | |||
| @@ -37,9 +37,6 @@ | |||
| 37 | /* COL2ROW, ROW2COL */ | 37 | /* COL2ROW, ROW2COL */ |
| 38 | //#define DIODE_DIRECTION COL2ROW | 38 | //#define DIODE_DIRECTION COL2ROW |
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN B5 | ||
| 41 | #define BACKLIGHT_LEVELS 10 | ||
| 42 | |||
| 43 | #define RGB_DI_PIN C7 | 40 | #define RGB_DI_PIN C7 |
| 44 | #define RGBLED_NUM 7 | 41 | #define RGBLED_NUM 7 |
| 45 | #define RGBLIGHT_EFFECT_BREATHING | 42 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/xiudi/xd84/info.json b/keyboards/xiudi/xd84/info.json index a4d40e4fcd..60fed56bce 100644 --- a/keyboards/xiudi/xd84/info.json +++ b/keyboards/xiudi/xd84/info.json | |||
| @@ -9,6 +9,8 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "B5", | ||
| 13 | "levels": 10, | ||
| 12 | "on_state": 0 | 14 | "on_state": 0 |
| 13 | }, | 15 | }, |
| 14 | "indicators": { | 16 | "indicators": { |
diff --git a/keyboards/xiudi/xd84pro/config.h b/keyboards/xiudi/xd84pro/config.h index f9b059ef56..7390a6cd0a 100644 --- a/keyboards/xiudi/xd84pro/config.h +++ b/keyboards/xiudi/xd84pro/config.h | |||
| @@ -42,9 +42,6 @@ | |||
| 42 | #define RGBLIGHT_EFFECT_TWINKLE | 42 | #define RGBLIGHT_EFFECT_TWINKLE |
| 43 | #endif | 43 | #endif |
| 44 | 44 | ||
| 45 | #define BACKLIGHT_PIN F5 | ||
| 46 | #define BACKLIGHT_LEVELS 10 | ||
| 47 | |||
| 48 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 49 | #define LOCKING_SUPPORT_ENABLE | 46 | #define LOCKING_SUPPORT_ENABLE |
| 50 | /* Locking resynchronize hack */ | 47 | /* Locking resynchronize hack */ |
diff --git a/keyboards/xiudi/xd84pro/info.json b/keyboards/xiudi/xd84pro/info.json index 87f1549c57..88968b933f 100644 --- a/keyboards/xiudi/xd84pro/info.json +++ b/keyboards/xiudi/xd84pro/info.json | |||
| @@ -9,6 +9,8 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "F5", | ||
| 13 | "levels": 10, | ||
| 12 | "on_state": 0 | 14 | "on_state": 0 |
| 13 | }, | 15 | }, |
| 14 | "indicators": { | 16 | "indicators": { |
diff --git a/keyboards/xiudi/xd87/config.h b/keyboards/xiudi/xd87/config.h index 80abf8b7ee..42a49372ce 100644 --- a/keyboards/xiudi/xd87/config.h +++ b/keyboards/xiudi/xd87/config.h | |||
| @@ -36,8 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | /* COL2ROW, ROW2COL*/ | 36 | /* COL2ROW, ROW2COL*/ |
| 37 | #define DIODE_DIRECTION COL2ROW | 37 | #define DIODE_DIRECTION COL2ROW |
| 38 | 38 | ||
| 39 | #define BACKLIGHT_PIN D0 | ||
| 40 | |||
| 41 | #define RGB_DI_PIN B7 | 39 | #define RGB_DI_PIN B7 |
| 42 | #ifdef RGB_DI_PIN | 40 | #ifdef RGB_DI_PIN |
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/xiudi/xd87/info.json b/keyboards/xiudi/xd87/info.json index 6503d55bba..52d010ada5 100644 --- a/keyboards/xiudi/xd87/info.json +++ b/keyboards/xiudi/xd87/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | 11 | "backlight": { |
| 12 | "pin": "D0", | ||
| 12 | "on_state": 0 | 13 | "on_state": 0 |
| 13 | }, | 14 | }, |
| 14 | "indicators": { | 15 | "indicators": { |
diff --git a/keyboards/xiudi/xd96/config.h b/keyboards/xiudi/xd96/config.h index 8e6c6601e7..5950630920 100644 --- a/keyboards/xiudi/xd96/config.h +++ b/keyboards/xiudi/xd96/config.h | |||
| @@ -37,9 +37,6 @@ | |||
| 37 | /* COL2ROW, ROW2COL */ | 37 | /* COL2ROW, ROW2COL */ |
| 38 | //#define DIODE_DIRECTION COL2ROW | 38 | //#define DIODE_DIRECTION COL2ROW |
| 39 | 39 | ||
| 40 | #define BACKLIGHT_PIN B5 | ||
| 41 | #define BACKLIGHT_LEVELS 10 | ||
| 42 | |||
| 43 | #define RGB_DI_PIN C7 | 40 | #define RGB_DI_PIN C7 |
| 44 | #define RGBLED_NUM 16 | 41 | #define RGBLED_NUM 16 |
| 45 | #define RGBLIGHT_EFFECT_BREATHING | 42 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/xiudi/xd96/info.json b/keyboards/xiudi/xd96/info.json index c8a62379b2..7d60236491 100644 --- a/keyboards/xiudi/xd96/info.json +++ b/keyboards/xiudi/xd96/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x9696", | 8 | "pid": "0x9696", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B5", | ||
| 13 | "levels": 10 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B6", | 16 | "caps_lock": "B6", |
| 13 | "num_lock": "C6", | 17 | "num_lock": "C6", |
diff --git a/keyboards/ydkb/chili/config.h b/keyboards/ydkb/chili/config.h index d9a06c2e2c..a3fcde472f 100644 --- a/keyboards/ydkb/chili/config.h +++ b/keyboards/ydkb/chili/config.h | |||
| @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | /* COL2ROW or ROW2COL */ | 29 | /* COL2ROW or ROW2COL */ |
| 30 | #define DIODE_DIRECTION COL2ROW | 30 | #define DIODE_DIRECTION COL2ROW |
| 31 | 31 | ||
| 32 | #define BACKLIGHT_PIN B7 | ||
| 33 | #define BACKLIGHT_BREATHING | ||
| 34 | |||
| 35 | /* Underlight configuration | 32 | /* Underlight configuration |
| 36 | */ | 33 | */ |
| 37 | #define RGB_DI_PIN B3 | 34 | #define RGB_DI_PIN B3 |
diff --git a/keyboards/ydkb/chili/info.json b/keyboards/ydkb/chili/info.json index 78a64c44ea..1ef666e69f 100644 --- a/keyboards/ydkb/chili/info.json +++ b/keyboards/ydkb/chili/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B2", | 16 | "caps_lock": "B2", |
| 13 | "num_lock": "B1", | 17 | "num_lock": "B1", |
diff --git a/keyboards/ydkb/grape/config.h b/keyboards/ydkb/grape/config.h index 515ca47546..0b71d91e84 100644 --- a/keyboards/ydkb/grape/config.h +++ b/keyboards/ydkb/grape/config.h | |||
| @@ -24,9 +24,6 @@ | |||
| 24 | 24 | ||
| 25 | #define SN74X138_ADDRESS_PINS { D2, D1, D0 } | 25 | #define SN74X138_ADDRESS_PINS { D2, D1, D0 } |
| 26 | 26 | ||
| 27 | #define BACKLIGHT_PIN B7 | ||
| 28 | #define BACKLIGHT_BREATHING | ||
| 29 | |||
| 30 | #ifdef RGBLIGHT_ENABLE | 27 | #ifdef RGBLIGHT_ENABLE |
| 31 | #define RGB_DI_PIN E6 | 28 | #define RGB_DI_PIN E6 |
| 32 | #define RGBLED_NUM 4 | 29 | #define RGBLED_NUM 4 |
diff --git a/keyboards/ydkb/grape/info.json b/keyboards/ydkb/grape/info.json index c9dbcb6136..1609ba2721 100644 --- a/keyboards/ydkb/grape/info.json +++ b/keyboards/ydkb/grape/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6772", | 8 | "pid": "0x6772", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "F0", | 16 | "caps_lock": "F0", |
| 13 | "num_lock": "F1", | 17 | "num_lock": "F1", |
diff --git a/keyboards/ymdk/bface/config.h b/keyboards/ymdk/bface/config.h index 0b4652da0e..9314f26bea 100644 --- a/keyboards/ymdk/bface/config.h +++ b/keyboards/ymdk/bface/config.h | |||
| @@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN D4 | ||
| 27 | #define BACKLIGHT_LEVELS 6 | ||
| 28 | |||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ymdk/bface/info.json b/keyboards/ymdk/bface/info.json index 0547091c2a..641fe31543 100644 --- a/keyboards/ymdk/bface/info.json +++ b/keyboards/ymdk/bface/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4266", | 8 | "pid": "0x4266", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "levels": 6 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "D1" | 16 | "caps_lock": "D1" |
| 13 | }, | 17 | }, |
diff --git a/keyboards/ymdk/melody96/config.h b/keyboards/ymdk/melody96/config.h index 2a9a53dcab..1420387adb 100644 --- a/keyboards/ymdk/melody96/config.h +++ b/keyboards/ymdk/melody96/config.h | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION ROW2COL | 9 | #define DIODE_DIRECTION ROW2COL |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B6 | ||
| 12 | #ifdef BACKLIGHT_PIN | ||
| 13 | #define BACKLIGHT_LEVELS 5 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 17 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 18 | 13 | ||
diff --git a/keyboards/ymdk/melody96/info.json b/keyboards/ymdk/melody96/info.json index 93c64be2cd..074e6c0485 100644 --- a/keyboards/ymdk/melody96/info.json +++ b/keyboards/ymdk/melody96/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4D96", | 8 | "pid": "0x4D96", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "C7", | 16 | "caps_lock": "C7", |
| 13 | "num_lock": "C6", | 17 | "num_lock": "C6", |
diff --git a/keyboards/ymdk/np21/config.h b/keyboards/ymdk/np21/config.h index 631f9d5c0e..ce2e688bd7 100644 --- a/keyboards/ymdk/np21/config.h +++ b/keyboards/ymdk/np21/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | #define BACKLIGHT_PIN D4 | ||
| 38 | #define BACKLIGHT_LEVELS 12 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | #define RGBLED_NUM 5 | 37 | #define RGBLED_NUM 5 |
| 42 | //#define RGBLIGHT_HUE_STEP 8 | 38 | //#define RGBLIGHT_HUE_STEP 8 |
| 43 | //#define RGBLIGHT_SAT_STEP 8 | 39 | //#define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/ymdk/np21/info.json b/keyboards/ymdk/np21/info.json index 31dc02f0cd..9d1e375cd9 100644 --- a/keyboards/ymdk/np21/info.json +++ b/keyboards/ymdk/np21/info.json | |||
| @@ -7,6 +7,11 @@ | |||
| 7 | "pid": "0x5021", | 7 | "pid": "0x5021", |
| 8 | "device_version": "2.0.0" | 8 | "device_version": "2.0.0" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "D4", | ||
| 12 | "levels": 12, | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 10 | "indicators": { | 15 | "indicators": { |
| 11 | "num_lock": "D0" | 16 | "num_lock": "D0" |
| 12 | }, | 17 | }, |
diff --git a/keyboards/ymdk/np24/u4rgb6/config.h b/keyboards/ymdk/np24/u4rgb6/config.h index ab5642d682..0524cfd563 100644 --- a/keyboards/ymdk/np24/u4rgb6/config.h +++ b/keyboards/ymdk/np24/u4rgb6/config.h | |||
| @@ -23,11 +23,6 @@ | |||
| 23 | /* COL2ROW or ROW2COL */ | 23 | /* COL2ROW or ROW2COL */ |
| 24 | #define DIODE_DIRECTION ROW2COL | 24 | #define DIODE_DIRECTION ROW2COL |
| 25 | 25 | ||
| 26 | #define BACKLIGHT_PIN B7 | ||
| 27 | #ifdef BACKLIGHT_PIN | ||
| 28 | # define BACKLIGHT_LEVELS 31 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #define RGB_DI_PIN E2 | 26 | #define RGB_DI_PIN E2 |
| 32 | #ifdef RGB_DI_PIN | 27 | #ifdef RGB_DI_PIN |
| 33 | # define RGBLED_NUM 6 | 28 | # define RGBLED_NUM 6 |
diff --git a/keyboards/ymdk/np24/u4rgb6/info.json b/keyboards/ymdk/np24/u4rgb6/info.json index 1d5ff5dbd7..dd4b532538 100644 --- a/keyboards/ymdk/np24/u4rgb6/info.json +++ b/keyboards/ymdk/np24/u4rgb6/info.json | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | "pid": "0x5024", | 7 | "pid": "0x5024", |
| 8 | "device_version": "4.0.6" | 8 | "device_version": "4.0.6" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B7", | ||
| 12 | "levels": 31 | ||
| 13 | }, | ||
| 10 | "indicators": { | 14 | "indicators": { |
| 11 | "num_lock": "C6", | 15 | "num_lock": "C6", |
| 12 | "on_state": 0 | 16 | "on_state": 0 |
diff --git a/keyboards/ymdk/wings/config.h b/keyboards/ymdk/wings/config.h index 757f474490..3b21cea4a6 100644 --- a/keyboards/ymdk/wings/config.h +++ b/keyboards/ymdk/wings/config.h | |||
| @@ -32,9 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | /* COL2ROW, ROW2COL*/ | 32 | /* COL2ROW, ROW2COL*/ |
| 33 | #define DIODE_DIRECTION ROW2COL | 33 | #define DIODE_DIRECTION ROW2COL |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | #define BACKLIGHT_LEVELS 5 | ||
| 37 | |||
| 38 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 39 | #ifdef RGB_DI_PIN | 36 | #ifdef RGB_DI_PIN |
| 40 | #define RGBLED_NUM 14 | 37 | #define RGBLED_NUM 14 |
diff --git a/keyboards/ymdk/wings/info.json b/keyboards/ymdk/wings/info.json index 80e0c580a3..92f019bacb 100644 --- a/keyboards/ymdk/wings/info.json +++ b/keyboards/ymdk/wings/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x2975", | 8 | "pid": "0x2975", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "C7", | 16 | "caps_lock": "C7", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/ymdk/wingshs/config.h b/keyboards/ymdk/wingshs/config.h index 3b1e7f3182..055c93b327 100644 --- a/keyboards/ymdk/wingshs/config.h +++ b/keyboards/ymdk/wingshs/config.h | |||
| @@ -30,9 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | /* COL2ROW, ROW2COL*/ | 30 | /* COL2ROW, ROW2COL*/ |
| 31 | #define DIODE_DIRECTION ROW2COL | 31 | #define DIODE_DIRECTION ROW2COL |
| 32 | 32 | ||
| 33 | #define BACKLIGHT_PIN B6 | ||
| 34 | #define BACKLIGHT_LEVELS 5 | ||
| 35 | |||
| 36 | #define RGB_DI_PIN E2 | 33 | #define RGB_DI_PIN E2 |
| 37 | #ifdef RGB_DI_PIN | 34 | #ifdef RGB_DI_PIN |
| 38 | #define RGBLED_NUM 80 | 35 | #define RGBLED_NUM 80 |
diff --git a/keyboards/ymdk/wingshs/info.json b/keyboards/ymdk/wingshs/info.json index e451d10d4d..8e72d4093a 100644 --- a/keyboards/ymdk/wingshs/info.json +++ b/keyboards/ymdk/wingshs/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4975", | 8 | "pid": "0x4975", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "C7", | 16 | "caps_lock": "C7", |
| 13 | "on_state": 0 | 17 | "on_state": 0 |
diff --git a/keyboards/ymdk/yd60mq/config.h b/keyboards/ymdk/yd60mq/config.h index 602144f294..82d7484aa8 100644 --- a/keyboards/ymdk/yd60mq/config.h +++ b/keyboards/ymdk/yd60mq/config.h | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B7 | ||
| 12 | #ifdef BACKLIGHT_PIN | ||
| 13 | #define BACKLIGHT_LEVELS 5 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 17 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 18 | 13 | ||
diff --git a/keyboards/ymdk/yd60mq/info.json b/keyboards/ymdk/yd60mq/info.json index 2d3777414e..84b42905c7 100644 --- a/keyboards/ymdk/yd60mq/info.json +++ b/keyboards/ymdk/yd60mq/info.json | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | "vid": "0x594D", | 7 | "vid": "0x594D", |
| 8 | "pid": "0x604D" | 8 | "pid": "0x604D" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B7", | ||
| 12 | "levels": 5 | ||
| 13 | }, | ||
| 10 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 11 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 12 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_ansi_tsangan", "60_hhkb", "60_iso", "60_iso_split_bs_rshift", "60_iso_tsangan"], | 16 | "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_ansi_tsangan", "60_hhkb", "60_iso", "60_iso_split_bs_rshift", "60_iso_tsangan"], |
diff --git a/keyboards/ymdk/ym68/config.h b/keyboards/ymdk/ym68/config.h index 7716529d54..d07a8917df 100644 --- a/keyboards/ymdk/ym68/config.h +++ b/keyboards/ymdk/ym68/config.h | |||
| @@ -32,10 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION ROW2COL | 33 | #define DIODE_DIRECTION ROW2COL |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B6 | ||
| 36 | #define BACKLIGHT_BREATHING | ||
| 37 | #define BACKLIGHT_LEVELS 5 | ||
| 38 | |||
| 39 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 40 | #if defined(RGBLIGHT_ENABLE) | 36 | #if defined(RGBLIGHT_ENABLE) |
| 41 | #define RGBLED_NUM 20 | 37 | #define RGBLED_NUM 20 |
diff --git a/keyboards/ymdk/ym68/info.json b/keyboards/ymdk/ym68/info.json index 5074716cf3..5d4d3913f8 100644 --- a/keyboards/ymdk/ym68/info.json +++ b/keyboards/ymdk/ym68/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0xD896", | 8 | "pid": "0xD896", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B6", | ||
| 13 | "levels": 5, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "processor": "atmega32u4", | 16 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 17 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/ymdk/ymd21/v2/config.h b/keyboards/ymdk/ymd21/v2/config.h index 494a299296..36cbd93891 100644 --- a/keyboards/ymdk/ymd21/v2/config.h +++ b/keyboards/ymdk/ymd21/v2/config.h | |||
| @@ -32,9 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION ROW2COL | 33 | #define DIODE_DIRECTION ROW2COL |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B7 | ||
| 36 | #define BACKLIGHT_BREATHING | ||
| 37 | |||
| 38 | #define RGB_DI_PIN E2 | 35 | #define RGB_DI_PIN E2 |
| 39 | #if defined(RGBLIGHT_ENABLE) | 36 | #if defined(RGBLIGHT_ENABLE) |
| 40 | #define RGBLED_NUM 8 | 37 | #define RGBLED_NUM 8 |
diff --git a/keyboards/ymdk/ymd21/v2/info.json b/keyboards/ymdk/ymd21/v2/info.json index b5729091f6..84badccc5a 100644 --- a/keyboards/ymdk/ymd21/v2/info.json +++ b/keyboards/ymdk/ymd21/v2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x0110", | 8 | "pid": "0x0110", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_6x4"], | 17 | "community_layouts": ["ortho_6x4"], |
diff --git a/keyboards/ymdk/ymd40/v2/config.h b/keyboards/ymdk/ymd40/v2/config.h index 3304be6aac..21a027eab4 100644 --- a/keyboards/ymdk/ymd40/v2/config.h +++ b/keyboards/ymdk/ymd40/v2/config.h | |||
| @@ -32,9 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #define DIODE_DIRECTION COL2ROW | 33 | #define DIODE_DIRECTION COL2ROW |
| 34 | 34 | ||
| 35 | #define BACKLIGHT_PIN B7 | ||
| 36 | #define BACKLIGHT_BREATHING | ||
| 37 | |||
| 38 | #if defined(RGBLIGHT_ENABLE) | 35 | #if defined(RGBLIGHT_ENABLE) |
| 39 | #define RGB_DI_PIN E2 | 36 | #define RGB_DI_PIN E2 |
| 40 | #define RGBLED_NUM 8 | 37 | #define RGBLED_NUM 8 |
diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json index 55681cb2f0..375f8c8480 100644 --- a/keyboards/ymdk/ymd40/v2/info.json +++ b/keyboards/ymdk/ymd40/v2/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x4440", | 8 | "pid": "0x4440", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "community_layouts": ["ortho_4x12"], | 17 | "community_layouts": ["ortho_4x12"], |
diff --git a/keyboards/ymdk/ymd67/config.h b/keyboards/ymdk/ymd67/config.h index ee4bedbaaa..90f4ffed24 100644 --- a/keyboards/ymdk/ymd67/config.h +++ b/keyboards/ymdk/ymd67/config.h | |||
| @@ -8,11 +8,6 @@ | |||
| 8 | /* COL2ROW or ROW2COL */ | 8 | /* COL2ROW or ROW2COL */ |
| 9 | #define DIODE_DIRECTION COL2ROW | 9 | #define DIODE_DIRECTION COL2ROW |
| 10 | 10 | ||
| 11 | #define BACKLIGHT_PIN B7 | ||
| 12 | #ifdef BACKLIGHT_PIN | ||
| 13 | #define BACKLIGHT_LEVELS 5 | ||
| 14 | #endif | ||
| 15 | |||
| 16 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 11 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 17 | #define LOCKING_SUPPORT_ENABLE | 12 | #define LOCKING_SUPPORT_ENABLE |
| 18 | 13 | ||
diff --git a/keyboards/ymdk/ymd67/info.json b/keyboards/ymdk/ymd67/info.json index 39a823c830..f66e1533dd 100644 --- a/keyboards/ymdk/ymd67/info.json +++ b/keyboards/ymdk/ymd67/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "B7", | ||
| 13 | "levels": 5 | ||
| 14 | }, | ||
| 11 | "processor": "atmega32u4", | 15 | "processor": "atmega32u4", |
| 12 | "bootloader": "atmel-dfu", | 16 | "bootloader": "atmel-dfu", |
| 13 | "layouts": { | 17 | "layouts": { |
diff --git a/keyboards/ymdk/ymd75/config.h b/keyboards/ymdk/ymd75/config.h index d384ae2479..5807ae4d8d 100644 --- a/keyboards/ymdk/ymd75/config.h +++ b/keyboards/ymdk/ymd75/config.h | |||
| @@ -19,9 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #pragma once | 20 | #pragma once |
| 21 | 21 | ||
| 22 | |||
| 23 | #define BACKLIGHT_LEVELS 12 | ||
| 24 | |||
| 25 | #define RGB_DI_PIN E2 | 22 | #define RGB_DI_PIN E2 |
| 26 | #define RGBLED_NUM 16 | 23 | #define RGBLED_NUM 16 |
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/ymdk/ymd75/rev1/config.h b/keyboards/ymdk/ymd75/rev1/config.h index 967bb1b226..d46c3bc010 100644 --- a/keyboards/ymdk/ymd75/rev1/config.h +++ b/keyboards/ymdk/ymd75/rev1/config.h | |||
| @@ -21,5 +21,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 21 | ||
| 22 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 } | 22 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 } |
| 23 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } | 23 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } |
| 24 | #define BACKLIGHT_PIN D4 | ||
| 25 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/ymdk/ymd75/rev1/info.json b/keyboards/ymdk/ymd75/rev1/info.json index 6dee7f2d94..967dd3de95 100644 --- a/keyboards/ymdk/ymd75/rev1/info.json +++ b/keyboards/ymdk/ymd75/rev1/info.json | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "1.0.0" | 3 | "device_version": "1.0.0" |
| 4 | }, | 4 | }, |
| 5 | "backlight": { | ||
| 6 | "pin": "D4", | ||
| 7 | "levels": 12 | ||
| 8 | }, | ||
| 5 | "indicators": { | 9 | "indicators": { |
| 6 | "caps_lock": "D1" | 10 | "caps_lock": "D1" |
| 7 | }, | 11 | }, |
diff --git a/keyboards/ymdk/ymd75/rev2/config.h b/keyboards/ymdk/ymd75/rev2/config.h index 04db2b13a6..83e075b290 100644 --- a/keyboards/ymdk/ymd75/rev2/config.h +++ b/keyboards/ymdk/ymd75/rev2/config.h | |||
| @@ -2,5 +2,4 @@ | |||
| 2 | 2 | ||
| 3 | #define MATRIX_ROW_PINS { B7, B6, B5, B4, B3, B0 } | 3 | #define MATRIX_ROW_PINS { B7, B6, B5, B4, B3, B0 } |
| 4 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } | 4 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } |
| 5 | #define BACKLIGHT_PIN D4 | ||
| 6 | #define DIODE_DIRECTION COL2ROW | 5 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/ymdk/ymd75/rev2/info.json b/keyboards/ymdk/ymd75/rev2/info.json index be7df2e5a7..56435d5b27 100644 --- a/keyboards/ymdk/ymd75/rev2/info.json +++ b/keyboards/ymdk/ymd75/rev2/info.json | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "2.0.0" | 3 | "device_version": "2.0.0" |
| 4 | }, | 4 | }, |
| 5 | "backlight": { | ||
| 6 | "pin": "D4", | ||
| 7 | "levels": 12 | ||
| 8 | }, | ||
| 5 | "indicators": { | 9 | "indicators": { |
| 6 | "caps_lock": "D1" | 10 | "caps_lock": "D1" |
| 7 | }, | 11 | }, |
diff --git a/keyboards/ymdk/ymd75/rev3/config.h b/keyboards/ymdk/ymd75/rev3/config.h index 87053214b4..e3a31b5116 100644 --- a/keyboards/ymdk/ymd75/rev3/config.h +++ b/keyboards/ymdk/ymd75/rev3/config.h | |||
| @@ -2,6 +2,5 @@ | |||
| 2 | 2 | ||
| 3 | #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 } | 3 | #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 } |
| 4 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } | 4 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } |
| 5 | #define BACKLIGHT_PIN B6 // change the backlight pin that has since changed in Rev 3 | ||
| 6 | #define DIODE_DIRECTION ROW2COL | 5 | #define DIODE_DIRECTION ROW2COL |
| 7 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4 | 6 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4 |
diff --git a/keyboards/ymdk/ymd75/rev3/info.json b/keyboards/ymdk/ymd75/rev3/info.json index 850cf51f56..ce0db873cf 100644 --- a/keyboards/ymdk/ymd75/rev3/info.json +++ b/keyboards/ymdk/ymd75/rev3/info.json | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "3.0.0" | 3 | "device_version": "3.0.0" |
| 4 | }, | 4 | }, |
| 5 | "backlight": { | ||
| 6 | "pin": "B6", | ||
| 7 | "levels": 12 | ||
| 8 | }, | ||
| 5 | "indicators": { | 9 | "indicators": { |
| 6 | "caps_lock": "C7" | 10 | "caps_lock": "C7" |
| 7 | }, | 11 | }, |
diff --git a/keyboards/ymdk/ymd96/config.h b/keyboards/ymdk/ymd96/config.h index 384acfd8cf..f4fc0a99c3 100644 --- a/keyboards/ymdk/ymd96/config.h +++ b/keyboards/ymdk/ymd96/config.h | |||
| @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN D4 | ||
| 29 | #define BACKLIGHT_LEVELS 12 | ||
| 30 | #define BACKLIGHT_BREATHING | ||
| 31 | |||
| 32 | #define TAPPING_TOGGLE 3 | 28 | #define TAPPING_TOGGLE 3 |
| 33 | 29 | ||
| 34 | #define USB_MAX_POWER_CONSUMPTION 100 | 30 | #define USB_MAX_POWER_CONSUMPTION 100 |
diff --git a/keyboards/ymdk/ymd96/info.json b/keyboards/ymdk/ymd96/info.json index ebf56d2ee5..7541e62019 100644 --- a/keyboards/ymdk/ymd96/info.json +++ b/keyboards/ymdk/ymd96/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x422D", | 8 | "pid": "0x422D", |
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "D4", | ||
| 13 | "levels": 12, | ||
| 14 | "breathing": true | ||
| 15 | }, | ||
| 11 | "indicators": { | 16 | "indicators": { |
| 12 | "caps_lock": "D1", | 17 | "caps_lock": "D1", |
| 13 | "num_lock": "D0", | 18 | "num_lock": "D0", |
diff --git a/keyboards/zj68/config.h b/keyboards/zj68/config.h index 5681360dd7..efbdb02f81 100644 --- a/keyboards/zj68/config.h +++ b/keyboards/zj68/config.h | |||
| @@ -25,11 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* COL2ROW or ROW2COL */ | 25 | /* COL2ROW or ROW2COL */ |
| 26 | #define DIODE_DIRECTION ROW2COL | 26 | #define DIODE_DIRECTION ROW2COL |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PIN B6 | ||
| 29 | #ifdef BACKLIGHT_PIN | ||
| 30 | #define BACKLIGHT_LEVELS 5 | ||
| 31 | #endif | ||
| 32 | |||
| 33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 34 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 35 | 30 | ||
diff --git a/keyboards/zj68/info.json b/keyboards/zj68/info.json index 7da059cbc4..0c902f2468 100644 --- a/keyboards/zj68/info.json +++ b/keyboards/zj68/info.json | |||
| @@ -7,6 +7,10 @@ | |||
| 7 | "pid": "0x6060", | 7 | "pid": "0x6060", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "backlight": { | ||
| 11 | "pin": "B6", | ||
| 12 | "levels": 5 | ||
| 13 | }, | ||
| 10 | "processor": "atmega32u4", | 14 | "processor": "atmega32u4", |
| 11 | "bootloader": "atmel-dfu", | 15 | "bootloader": "atmel-dfu", |
| 12 | "community_layouts": ["65_ansi"], | 16 | "community_layouts": ["65_ansi"], |
diff --git a/keyboards/zoo/wampus/config.h b/keyboards/zoo/wampus/config.h index 2d1876d178..739358f693 100644 --- a/keyboards/zoo/wampus/config.h +++ b/keyboards/zoo/wampus/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* COL2ROW, ROW2COL */ | 34 | /* COL2ROW, ROW2COL */ |
| 35 | #define DIODE_DIRECTION COL2ROW | 35 | #define DIODE_DIRECTION COL2ROW |
| 36 | 36 | ||
| 37 | // In-switch LED defines | ||
| 38 | #define BACKLIGHT_PIN A6 | ||
| 39 | #define BACKLIGHT_BREATHING | ||
| 40 | |||
| 41 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 37 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 42 | #define BACKLIGHT_PWM_CHANNEL 1 | 38 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 43 | #define BACKLIGHT_PAL_MODE 1 | 39 | #define BACKLIGHT_PAL_MODE 1 |
diff --git a/keyboards/zoo/wampus/info.json b/keyboards/zoo/wampus/info.json index 4c1a36c4f4..74bf17b603 100644 --- a/keyboards/zoo/wampus/info.json +++ b/keyboards/zoo/wampus/info.json | |||
| @@ -8,6 +8,10 @@ | |||
| 8 | "pid": "0xE600", | 8 | "pid": "0xE600", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "backlight": { | ||
| 12 | "pin": "A6", | ||
| 13 | "breathing": true | ||
| 14 | }, | ||
| 11 | "indicators": { | 15 | "indicators": { |
| 12 | "caps_lock": "B8", | 16 | "caps_lock": "B8", |
| 13 | "num_lock": "B0", | 17 | "num_lock": "B0", |
