M data/mappings/info_config.hjson => data/mappings/info_config.hjson +1 -0
@@ 13,6 13,7 @@
"AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "bool"},
"BACKLIGHT_BREATHING": {"info_key": "backlight.breathing", "value_type": "bool"},
"BREATHING_PERIOD": {"info_key": "backlight.breathing_period", "value_type": "int"},
+ "BACKLIGHT_CAPS_LOCK": {"info_key": "backlight.as_caps_lock", "value_type": "bool"},
"BACKLIGHT_LEVELS": {"info_key": "backlight.levels", "value_type": "int"},
"BACKLIGHT_LIMIT_VAL": {"info_key": "backlight.max_brightness", "value_type": "int"},
"BACKLIGHT_ON_STATE": {"info_key": "backlight.on_state", "value_type": "int"},
M data/mappings/info_rules.hjson => data/mappings/info_rules.hjson +1 -0
@@ 14,6 14,7 @@
"BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false},
"BOOTMAGIC_ENABLE": {"info_key": "bootmagic.enabled", "value_type": "bool"},
"BLUETOOTH_DRIVER": {"info_key": "bluetooth.driver"},
+ "BACKLIGHT_DRIVER": {"info_key": "backlight.driver"},
"CAPS_WORD_ENABLE": {"info_key": "caps_word.enabled", "value_type": "bool"},
"DEBOUNCE_TYPE": {"info_key": "build.debounce_type"},
"ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"},
M data/schemas/keyboard.jsonschema => data/schemas/keyboard.jsonschema +6 -1
@@ 108,6 108,10 @@
"type": "object",
"additionalProperties": false,
"properties": {
+ "driver": {
+ "type": "string",
+ "enum": ["pwm", "software", "timer", "custom"]
+ },
"breathing": {"type": "boolean"},
"breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
"levels": {
@@ 118,7 122,8 @@
"max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
"pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
- "on_state": {"$ref": "qmk.definitions.v1#/bit"}
+ "on_state": {"$ref": "qmk.definitions.v1#/bit"},
+ "as_caps_lock": {"type": "boolean"}
}
},
"bluetooth": {
M keyboards/0xcb/1337/config.h => keyboards/0xcb/1337/config.h +0 -4
@@ 23,10 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A { F6 }
#define ENCODERS_PAD_B { F5 }
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 7
-
#define RGB_DI_PIN D3
#ifdef RGB_DI_PIN
#define RGBLED_NUM 4
M keyboards/0xcb/1337/info.json => keyboards/0xcb/1337/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1337",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 7,
+ "breathing": true
+ },
"qmk_lufa_bootloader": {
"led": "B0"
},
M keyboards/1upkeyboards/1up60hse/config.h => keyboards/1upkeyboards/1up60hse/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN F0
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/1upkeyboards/1up60hse/info.json => keyboards/1upkeyboards/1up60hse/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6873",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi"],
M keyboards/1upkeyboards/1up60hte/config.h => keyboards/1upkeyboards/1up60hte/config.h +0 -2
@@ 26,8 26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/1upkeyboards/1up60hte/info.json => keyboards/1upkeyboards/1up60hte/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6874",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "B6",
"on_state": 0
M keyboards/1upkeyboards/1up60rgb/config.h => keyboards/1upkeyboards/1up60rgb/config.h +0 -5
@@ 8,11 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/1upkeyboards/1up60rgb/info.json => keyboards/1upkeyboards/1up60rgb/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x7267",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"],
M keyboards/25keys/aleth42/rev1/config.h => keyboards/25keys/aleth42/rev1/config.h +0 -4
@@ 28,10 28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A { B5, F5 }
#define ENCODERS_PAD_B { B6, F6 }
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 8
-
#define RGB_DI_PIN B3
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
M keyboards/25keys/aleth42/rev1/info.json => keyboards/25keys/aleth42/rev1/info.json +5 -0
@@ 2,6 2,11 @@
"usb": {
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 8,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
M keyboards/40percentclub/gherkin/config.h => keyboards/40percentclub/gherkin/config.h +0 -2
@@ 8,8 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/40percentclub/gherkin/info.json => keyboards/40percentclub/gherkin/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_3x10"],
M keyboards/40percentclub/luddite/config.h => keyboards/40percentclub/luddite/config.h +0 -5
@@ 7,11 7,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 4
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/40percentclub/luddite/info.json => keyboards/40percentclub/luddite/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4C55",
"device_version": "10.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 4
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["60_ansi"],
M keyboards/40percentclub/mf68/config.h => keyboards/40percentclub/mf68/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/40percentclub/mf68/info.json => keyboards/40percentclub/mf68/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4D68",
"device_version": "1.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["68_ansi"],
M keyboards/40percentclub/nori/config.h => keyboards/40percentclub/nori/config.h +0 -2
@@ 33,8 33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
// enable RGB underglow
#define RGB_DI_PIN B4
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/40percentclub/nori/info.json => keyboards/40percentclub/nori/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0A0C",
"device_version": "4.4.4"
},
+ "backlight": {
+ "pin": "B5"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_4x4", "ortho_4x12"],
D keyboards/40percentclub/sixpack/config.h => keyboards/40percentclub/sixpack/config.h +0 -22
@@ 1,22 0,0 @@
-/*
-Copyright 2020
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* Backlight */
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 6
M keyboards/40percentclub/sixpack/info.json => keyboards/40percentclub/sixpack/info.json +3 -1
@@ 9,7 9,9 @@
"device_version": "10.0.1"
},
"backlight": {
- "pins": ["F4", "F5"]
+ "pins": ["F4", "F5"],
+ "levels": 6,
+ "breathing": true
},
"indicators": {
"caps_lock": "B0",
M keyboards/4pplet/eagle_viper_rep/rev_a/config.h => keyboards/4pplet/eagle_viper_rep/rev_a/config.h +0 -4
@@ 20,13 20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13}
#define DIODE_DIRECTION COL2ROW
-/* In switch leds */
-#define BACKLIGHT_PIN A3
#define BACKLIGHT_PWM_DRIVER PWMD2
#define BACKLIGHT_PWM_CHANNEL 4
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 10
-#define BACKLIGHT_BREATHING TRUE
/* Underglow */
#define RGB_DI_PIN A7
M keyboards/4pplet/eagle_viper_rep/rev_a/info.json => keyboards/4pplet/eagle_viper_rep/rev_a/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A3",
+ "levels": 10,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk => keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
-BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
M keyboards/4pplet/eagle_viper_rep/rev_b/config.h => keyboards/4pplet/eagle_viper_rep/rev_b/config.h +0 -4
@@ 20,13 20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13}
#define DIODE_DIRECTION COL2ROW
-/* In switch leds */
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Underglow */
#define RGBLED_NUM 16
M keyboards/4pplet/eagle_viper_rep/rev_b/info.json => keyboards/4pplet/eagle_viper_rep/rev_b/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0010",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B1",
"num_lock": "B12",
M keyboards/8pack/config.h => keyboards/8pack/config.h +0 -2
@@ 6,8 6,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_LEVELS 8
-
// ws2812 options
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
#define RGBLED_NUM 8 // number of LEDs
M keyboards/8pack/info.json => keyboards/8pack/info.json +2 -1
@@ 8,7 8,8 @@
"pid": "0x2171"
},
"backlight": {
- "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]
+ "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
+ "levels": 8
},
"processor": "atmega32u4",
"bootloader": "caterina",
M keyboards/abstract/ellipse/rev1/config.h => keyboards/abstract/ellipse/rev1/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_LEVELS 15
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 3
M keyboards/abstract/ellipse/rev1/info.json => keyboards/abstract/ellipse/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 15
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/acekeyboard/titan60/config.h => keyboards/acekeyboard/titan60/config.h +0 -3
@@ 37,9 37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN D0
#ifdef RGB_DI_PIN
# define RGBLED_NUM 6
M keyboards/acekeyboard/titan60/info.json => keyboards/acekeyboard/titan60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x5449",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/acheron/athena/alpha/config.h => keyboards/acheron/athena/alpha/config.h +0 -3
@@ 26,12 26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15
#define RGBLED_NUM 34
M keyboards/acheron/athena/alpha/info.json => keyboards/acheron/athena/alpha/info.json +4 -1
@@ 5,7 5,10 @@
"device_version": "0.0.1"
},
"backlight": {
- "on_state": 0
+ "pin": "A6",
+ "levels": 20,
+ "on_state": 0,
+ "breathing": true
},
"indicators": {
"caps_lock": "A10"
M keyboards/acheron/athena/alpha/rules.mk => keyboards/acheron/athena/alpha/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes
M keyboards/acheron/athena/beta/config.h => keyboards/acheron/athena/beta/config.h +0 -3
@@ 26,12 26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN B0
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15
#define RGBLED_NUM 34
M keyboards/acheron/athena/beta/info.json => keyboards/acheron/athena/beta/info.json +5 -0
@@ 4,6 4,11 @@
"pid": "0x6585",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B0",
+ "levels": 20,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "C8"
},
M keyboards/acheron/athena/beta/rules.mk => keyboards/acheron/athena/beta/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes
M keyboards/acheron/austin/config.h => keyboards/acheron/austin/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { C13, A4, A7, B0, B1, B2 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/acheron/austin/info.json => keyboards/acheron/austin/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x4175",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/acheron/elongate/delta/config.h => keyboards/acheron/elongate/delta/config.h +0 -4
@@ 23,13 23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_DEFAULT_LEVEL 10
#define RGB_DI_PIN B15
#define RGBLED_NUM 16
M keyboards/acheron/elongate/delta/info.json => keyboards/acheron/elongate/delta/info.json +3 -0
@@ 9,6 9,9 @@
"device_version": "0.0.2"
},
"backlight": {
+ "pin": "A6",
+ "levels": 20,
+ "breathing": true,
"breathing_period": 3
},
"processor": "STM32F072",
M keyboards/acheron/shark/alpha/config.h => keyboards/acheron/shark/alpha/config.h +0 -1
@@ 44,7 44,6 @@ B0, which is unconnected on the PCB
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B0
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
M keyboards/acheron/shark/alpha/info.json => keyboards/acheron/shark/alpha/info.json +3 -0
@@ 6,6 6,9 @@
"pid": "0x5368",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B0"
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",
M keyboards/acheron/shark/beta/config.h => keyboards/acheron/shark/beta/config.h +0 -3
@@ 25,12 25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15
#define RGBLED_NUM 24
M keyboards/acheron/shark/beta/info.json => keyboards/acheron/shark/beta/info.json +5 -0
@@ 4,6 4,11 @@
"pid": "0x5369",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 20,
+ "breathing": true
+ },
"processor": "STM32F411",
"bootloader": "stm32-dfu",
"community_layouts": ["ortho_4x12"],
M keyboards/acheron/shark/beta/rules.mk => keyboards/acheron/shark/beta/rules.mk +0 -1
@@ 10,7 10,6 @@ NKRO_ENABLE = yes # Enable N-Key rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-BACKLIGHT_DRIVER = pwm
LTO_ENABLE = no
ENCODER_ENABLE = yes
M keyboards/adelheid/config.h => keyboards/adelheid/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN C6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/adelheid/info.json => keyboards/adelheid/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xAD78",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "C6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/aeboards/ext65/rev2/config.h => keyboards/aeboards/ext65/rev2/config.h +0 -4
@@ 50,12 50,8 @@
#define I2C1_TIMINGR_SCLL 9U
// LED defines
-#define BACKLIGHT_PIN B5
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 2
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
-
#define SLEEP_LED_GPT_DRIVER GPTD1
M keyboards/aeboards/ext65/rev2/info.json => keyboards/aeboards/ext65/rev2/info.json +5 -0
@@ 7,6 7,11 @@
"pid": "0xA652",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
M keyboards/ai03/equinox/config.h => keyboards/ai03/equinox/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/ai03/equinox/rev0/config.h => keyboards/ai03/equinox/rev0/config.h +0 -5
@@ 20,8 20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins
#undef MATRIX_COL_PINS
#define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 }
-
-// This directs backlight code to use a disconnected pin, so the firwmare still has
-// backlight code and VIA support even though it doesn't do anything.
-#undef BACKLIGHT_PIN
-#define BACKLIGHT_PIN D1>
\ No newline at end of file
M keyboards/ai03/equinox/rev0/info.json => keyboards/ai03/equinox/rev0/info.json +5 -0
@@ 1,4 1,9 @@
{
+ "backlight": {
+ "pin": "D1",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu"
}
M keyboards/ai03/equinox/rev1/info.json => keyboards/ai03/equinox/rev1/info.json +5 -0
@@ 1,4 1,9 @@
{
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu"
}
M keyboards/ai03/orbit/config.h => keyboards/ai03/orbit/config.h +0 -2
@@ 43,8 43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SPLIT_HAND_PIN D5
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/ai03/orbit/info.json => keyboards/ai03/orbit/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0003",
"device_version": "0.0.3"
},
+ "backlight": {
+ "pin": "B7"
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/ai03/polaris/config.h => keyboards/ai03/polaris/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 14
M keyboards/ai03/polaris/info.json => keyboards/ai03/polaris/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"],
M keyboards/al1/config.h => keyboards/al1/config.h +0 -3
@@ 27,9 27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 }
#define SN74X154_E1_PIN D3
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/al1/info.json => keyboards/al1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6050",
"device_version": "1.0.4"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B7",
"num_lock": "D0",
M keyboards/alf/dc60/config.h => keyboards/alf/dc60/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/alf/dc60/info.json => keyboards/alf/dc60/info.json +5 -0
@@ 7,6 7,11 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B7",
"on_state": 0
M keyboards/alf/x11/config.h => keyboards/alf/x11/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN F7
#ifdef RGB_DI_PIN
#define RGBLED_NUM 28
M keyboards/alf/x11/info.json => keyboards/alf/x11/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "C6",
"num_lock": "E6",
M keyboards/alf/x2/config.h => keyboards/alf/x2/config.h +0 -2
@@ 26,8 26,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/alf/x2/info.json => keyboards/alf/x2/info.json +3 -0
@@ 12,6 12,9 @@
"caps_lock": "B2",
"on_state": 0
},
+ "backlight": {
+ "pin": "B6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/amjkeyboard/amj40/config.h => keyboards/amjkeyboard/amj40/config.h +0 -6
@@ 23,8 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F4, F5, F6, F7}
#define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7}
-#define BACKLIGHT_PIN B6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
@@ 33,10 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 4
-
/* Underlight configuration
*/
M keyboards/amjkeyboard/amj40/info.json => keyboards/amjkeyboard/amj40/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6072",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/amjkeyboard/amj60/config.h => keyboards/amjkeyboard/amj60/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 4
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 8
M keyboards/amjkeyboard/amj60/info.json => keyboards/amjkeyboard/amj60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6066",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/amjkeyboard/amj66/config.h => keyboards/amjkeyboard/amj66/config.h +0 -3
@@ 25,9 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/amjkeyboard/amj66/info.json => keyboards/amjkeyboard/amj66/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xBD66",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["66_ansi", "66_iso"],
M keyboards/amjkeyboard/amj84/config.h => keyboards/amjkeyboard/amj84/config.h +0 -3
@@ 20,9 20,6 @@
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/amjkeyboard/amj84/info.json => keyboards/amjkeyboard/amj84/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6068",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/amjkeyboard/amjpad/config.h => keyboards/amjkeyboard/amjpad/config.h +0 -6
@@ 23,8 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F7, F6, F5, F4, D5, D0 }
#define MATRIX_COL_PINS { F1, F0, E6, C7 }
-#define BACKLIGHT_PIN B6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
@@ 33,10 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 4
-
/* Underlight configuration
*/
M keyboards/amjkeyboard/amjpad/info.json => keyboards/amjkeyboard/amjpad/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.3"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4
+ },
"indicators": {
"num_lock": "D6",
"on_state": 0
M keyboards/anavi/macropad8/config.h => keyboards/anavi/macropad8/config.h +0 -2
@@ 17,8 17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define BACKLIGHT_PIN D7
-#define BACKLIGHT_BREATHING
#define RGBLIGHT_SLEEP
M keyboards/anavi/macropad8/info.json => keyboards/anavi/macropad8/info.json +8 -4
@@ 4,10 4,14 @@
"url": "",
"maintainer": "leon-anavi",
"usb": {
- "vid": "0xCEEB",
- "pid": "0x0001",
- "device_version": "0.0.1"
- },
+ "vid": "0xCEEB",
+ "pid": "0x0001",
+ "device_version": "0.0.1"
+ },
+ "backlight": {
+ "pin": "D7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {
M keyboards/ares/config.h => keyboards/ares/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/ares/info.json => keyboards/ares/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/atomic/config.h => keyboards/atomic/config.h +0 -2
@@ 31,8 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D0, D5, B5, B6, C6 }
#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 }
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/atomic/info.json => keyboards/atomic/info.json +3 -0
@@ 7,6 7,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
M keyboards/atxkb/1894/config.h => keyboards/atxkb/1894/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 14
M keyboards/atxkb/1894/info.json => keyboards/atxkb/1894/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"],
M keyboards/b_sides/rev41lp/config.h => keyboards/b_sides/rev41lp/config.h +0 -3
@@ 22,6 22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 7
M keyboards/b_sides/rev41lp/info.json => keyboards/b_sides/rev41lp/info.json +2 -0
@@ 9,6 9,8 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "B6",
+ "levels": 7,
"max_brightness": 150
},
"processor": "atmega32u4",
M keyboards/baguette/config.h => keyboards/baguette/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/baguette/info.json => keyboards/baguette/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x5050",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/bear_face/config.h => keyboards/bear_face/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN F7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/bear_face/info.json => keyboards/bear_face/info.json +3 -0
@@ 8,6 8,9 @@
"vid": "0xFEED",
"pid": "0x09F5"
},
+ "backlight": {
+ "pin": "F7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
M keyboards/bfake/config.h => keyboards/bfake/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/bfake/info.json => keyboards/bfake/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/bioi/f60/config.h => keyboards/bioi/f60/config.h +0 -4
@@ 25,10 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 8
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B1
#ifdef RGB_DI_PIN
# define RGBLED_NUM 5
M keyboards/bioi/f60/info.json => keyboards/bioi/f60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x4660",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 8,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "F0"
},
M keyboards/bioi/g60/config.h => keyboards/bioi/g60/config.h +0 -4
@@ 32,10 32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { E6, B0, F1, F5, F4 }
#define MATRIX_COL_PINS { F6, F7, B3, C7, C6, B6, B5, D5, B4, D7, D6, D4, D1, D0 }
-/* Backlight Setup */
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 12
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/bioi/g60/info.json => keyboards/bioi/g60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6080",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 12
+ },
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"layouts": {
M keyboards/bioi/g60ble/config.h => keyboards/bioi/g60ble/config.h +0 -5
@@ 10,11 10,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-# define BACKLIGHT_LEVELS 8
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/bioi/g60ble/info.json => keyboards/bioi/g60ble/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6080",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 8
+ },
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"community_layouts": ["60_ansi", "60_iso", "60_hhkb", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"],
M keyboards/bioi/morgan65/config.h => keyboards/bioi/morgan65/config.h +0 -4
@@ 32,10 32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { E6, C6, F4, B2, D4 }
#define MATRIX_COL_PINS { F5, F6, F7, C7, B0, B7, B5, D5, B4, D7, D6, D1, D0, B3 }
-/* Backlight Setup */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 12
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/bioi/morgan65/info.json => keyboards/bioi/morgan65/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6581",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 12
+ },
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"layouts": {
M keyboards/bioi/s65/config.h => keyboards/bioi/s65/config.h +0 -5
@@ 32,11 32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D2, D0, D1, F7, D6 }
#define MATRIX_COL_PINS { F1, B3, F4, F5, F6, E6, C7, B2, B1, C6, B6, B5, B4, D7, D4, D5 }
-
-/* Backlight Setup */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 12
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/bioi/s65/info.json => keyboards/bioi/s65/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x5365",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 12
+ },
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"layouts": {
M keyboards/boston/config.h => keyboards/boston/config.h +0 -3
@@ 22,12 22,9 @@
{ B5, B6, A7, B0, B1, B2, A4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/boston/info.json => keyboards/boston/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x4176",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A1",
"num_lock": "A0",
M keyboards/bt66tech/bt66tech60/config.h => keyboards/bt66tech/bt66tech60/config.h +0 -3
@@ 21,11 21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B10, B1, B0, A7, A6 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/bt66tech/bt66tech60/info.json => keyboards/bt66tech/bt66tech60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x7070",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A8",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["60_ansi"],
M keyboards/cablecardesigns/cypher/rev6/config.h => keyboards/cablecardesigns/cypher/rev6/config.h +0 -5
@@ 9,16 9,11 @@
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN D0
-
#define RGB_DI_PIN D5
#ifdef RGB_DI_PIN
#define RGBLED_NUM 3
M keyboards/cablecardesigns/cypher/rev6/info.json => keyboards/cablecardesigns/cypher/rev6/info.json +5 -0
@@ 6,6 6,11 @@
"pid": "0xAA99",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "D0",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/cannonkeys/an_c/config.h => keyboards/cannonkeys/an_c/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/an_c/info.json => keyboards/cannonkeys/an_c/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xA00C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["60_ansi", "60_tsangan_hhkb"],
M keyboards/cannonkeys/chimera65/config.h => keyboards/cannonkeys/chimera65/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A13, A14, A15, C13, B8 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/chimera65/info.json => keyboards/cannonkeys/chimera65/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xC024",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/cloudline/config.h => keyboards/cannonkeys/cloudline/config.h +0 -3
@@ 7,12 7,9 @@
#define MATRIX_ROW_PINS { A15, B3, B5, A4, A5, F1 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/cloudline/info.json => keyboards/cannonkeys/cloudline/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x000A",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B9",
"scroll_lock": "F0",
M keyboards/cannonkeys/crin/config.h => keyboards/cannonkeys/crin/config.h +0 -3
@@ 22,12 22,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/crin/info.json => keyboards/cannonkeys/crin/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0012",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "F1",
"on_state": 0
M keyboards/cannonkeys/db60/config.h => keyboards/cannonkeys/db60/config.h +0 -3
@@ 22,12 22,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/db60/info.json => keyboards/cannonkeys/db60/info.json +5 -0
@@ 6,6 6,11 @@
"vid": "0xCA04",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu"
}
M keyboards/cannonkeys/devastatingtkl/config.h => keyboards/cannonkeys/devastatingtkl/config.h +0 -4
@@ 21,13 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A15, B3, B5, A4, A5, F1 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/devastatingtkl/info.json => keyboards/cannonkeys/devastatingtkl/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xDE57",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/instant60/config.h => keyboards/cannonkeys/instant60/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/instant60/info.json => keyboards/cannonkeys/instant60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1600",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["60_ansi", "60_tsangan_hhkb"],
M keyboards/cannonkeys/instant65/config.h => keyboards/cannonkeys/instant65/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A14, A15, A0, B1, B0 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/instant65/info.json => keyboards/cannonkeys/instant65/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1565",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/iron165/config.h => keyboards/cannonkeys/iron165/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B12, B13, B14, B15, A1 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/iron165/info.json => keyboards/cannonkeys/iron165/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x5165",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/malicious_ergo/config.h => keyboards/cannonkeys/malicious_ergo/config.h +0 -3
@@ 23,12 23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/malicious_ergo/info.json => keyboards/cannonkeys/malicious_ergo/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0009",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A8",
"num_lock": "A9",
M keyboards/cannonkeys/obliterated75/config.h => keyboards/cannonkeys/obliterated75/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A13, B12, B11, B14, A8, A1 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/obliterated75/info.json => keyboards/cannonkeys/obliterated75/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0B75",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/onyx/config.h => keyboards/cannonkeys/onyx/config.h +0 -4
@@ 21,13 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B11, B10, B2, F0, B5 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/onyx/info.json => keyboards/cannonkeys/onyx/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0003",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/ortho48/config.h => keyboards/cannonkeys/ortho48/config.h +0 -3
@@ 21,11 21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B12, C13, A2, A1 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/ortho48/info.json => keyboards/cannonkeys/ortho48/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x4F48",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A8",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["ortho_4x12"],
M keyboards/cannonkeys/ortho60/config.h => keyboards/cannonkeys/ortho60/config.h +0 -3
@@ 21,11 21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/ortho60/info.json => keyboards/cannonkeys/ortho60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x4F60",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A8",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["ortho_5x12"],
M keyboards/cannonkeys/ortho75/config.h => keyboards/cannonkeys/ortho75/config.h +0 -3
@@ 21,11 21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B12, C13, A2, A1, A3 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
#define ENCODERS_PAD_A { B9 }
#define ENCODERS_PAD_B { B8 }
M keyboards/cannonkeys/ortho75/info.json => keyboards/cannonkeys/ortho75/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6464",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A8",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["ortho_5x15"],
M keyboards/cannonkeys/practice60/config.h => keyboards/cannonkeys/practice60/config.h +0 -3
@@ 21,11 21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/practice60/info.json => keyboards/cannonkeys/practice60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A8",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"community_layouts": ["60_ansi"],
M keyboards/cannonkeys/practice65/config.h => keyboards/cannonkeys/practice65/config.h +0 -3
@@ 21,11 21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B4, B11, B1, B7, B6 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/practice65/info.json => keyboards/cannonkeys/practice65/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6565",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A8",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {
M keyboards/cannonkeys/rekt1800/config.h => keyboards/cannonkeys/rekt1800/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { C13, C14, A0, A1, A2, B11 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/rekt1800/info.json => keyboards/cannonkeys/rekt1800/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x2377",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/sagittarius/config.h => keyboards/cannonkeys/sagittarius/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B10, B14, A8, A9, A10, C13, C14, C15, F0, F1 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/sagittarius/info.json => keyboards/cannonkeys/sagittarius/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B3",
"num_lock": "B4",
M keyboards/cannonkeys/satisfaction75/config.h => keyboards/cannonkeys/satisfaction75/config.h +0 -4
@@ 32,10 32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODER_RESOLUTION 2
-//LEDS A6, RGB B15
-#define BACKLIGHT_LEVELS 24
-#define BACKLIGHT_BREATHING
-
// I2C config
#define I2C_DRIVER I2CD1
#define I2C1_SCL_PIN B6
M keyboards/cannonkeys/satisfaction75/info.json => keyboards/cannonkeys/satisfaction75/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x57F5",
"device_version": "0.0.1"
},
+ "backlight": {
+ "levels": 24,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu"
}
M keyboards/cannonkeys/savage65/config.h => keyboards/cannonkeys/savage65/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B12, B11, B14, A8, A1 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/savage65/info.json => keyboards/cannonkeys/savage65/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x5A65",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_ansi_blocker_tsangan", "65_iso_blocker"],
M keyboards/cannonkeys/tmov2/config.h => keyboards/cannonkeys/tmov2/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A10, A9, A8, B12 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/tmov2/info.json => keyboards/cannonkeys/tmov2/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x70F2",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/tsukuyomi/config.h => keyboards/cannonkeys/tsukuyomi/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B12, B11, B14, A8, A1 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/tsukuyomi/info.json => keyboards/cannonkeys/tsukuyomi/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/cannonkeys/vicious40/config.h => keyboards/cannonkeys/vicious40/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A15, B3, B4, B5 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/cannonkeys/vicious40/info.json => keyboards/cannonkeys/vicious40/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0004",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/capsunlocked/cu24/config.h => keyboards/capsunlocked/cu24/config.h +0 -5
@@ 33,11 33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-/* Backlight */
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* RGB Glow */
#define RGB_DI_PIN F4 // The pin the LED strip is connected to
#define RGBLED_NUM 5 // Number of LEDs in your strip
M keyboards/capsunlocked/cu24/info.json => keyboards/capsunlocked/cu24/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/capsunlocked/cu75/config.h => keyboards/capsunlocked/cu75/config.h +0 -1
@@ 39,7 39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
-#define BACKLIGHT_LEVELS 8
#define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255}
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
M keyboards/capsunlocked/cu75/info.json => keyboards/capsunlocked/cu75/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6062",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 8
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/capsunlocked/cu75/rules.mk => keyboards/capsunlocked/cu75/rules.mk +0 -5
@@ 1,8 1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BACKLIGHT_DRIVER = custom
-
# TODO: These boards need to be converted to RGB Matrix
VPATH += keyboards/lfkeyboards
SRC = TWIlib.c issi.c lighting.c
M keyboards/cest73/tkm/config.h => keyboards/cest73/tkm/config.h +0 -3
@@ 25,9 25,6 @@
//NOTE: if D6 pin shows any issues in exploatation the LED on the Teensy is to be removed
-//TODO change the E6 pin to either B5, B6, B7 or C6 to utilize hardware PWM on a future PCB revision
-#define BACKLIGHT_PIN E6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/cest73/tkm/info.json => keyboards/cest73/tkm/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xAA55",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "E6"
+ },
"indicators": {
"caps_lock": "F5",
"num_lock": "F6",
M keyboards/checkerboards/nop60/config.h => keyboards/checkerboards/nop60/config.h +0 -4
@@ 25,11 25,7 @@ Copyright 2021 Nathan Spears
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Switch LED Backlighting */
-#define BACKLIGHT_PIN D1
#define BACKLIGHT_PWM_DRIVER PWMD3
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
// ws2812 options
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
M keyboards/checkerboards/nop60/info.json => keyboards/checkerboards/nop60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1416",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D1",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
M keyboards/checkerboards/quark_plus/config.h => keyboards/checkerboards/quark_plus/config.h +0 -5
@@ 30,11 30,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Switch LED Backlighting */
-#define BACKLIGHT_PIN C4
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
-
// ws2812 options
#define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/checkerboards/quark_plus/info.json => keyboards/checkerboards/quark_plus/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x5344",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C4",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/checkerboards/quark_plus/rules.mk => keyboards/checkerboards/quark_plus/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes # Enable rotary encoder
M keyboards/checkerboards/snop60/config.h => keyboards/checkerboards/snop60/config.h +0 -5
@@ 25,11 25,6 @@ Copyright 2022 Nathan Spears
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Switch LED Backlighting */
-#define BACKLIGHT_PIN D1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
-
// ws2812 options
#define RGB_DI_PIN B1 // pin the DI on the ws2812 is hooked-up to
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/checkerboards/snop60/info.json => keyboards/checkerboards/snop60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x2416",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D1",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
M keyboards/checkerboards/snop60/rules.mk => keyboards/checkerboards/snop60/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENBALE = yes # Enable Rotary Encoders
M keyboards/cherrybstudio/cb87/config.h => keyboards/cherrybstudio/cb87/config.h +0 -1
@@ 30,7 30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
M keyboards/cherrybstudio/cb87/info.json => keyboards/cherrybstudio/cb87/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x8787",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "F0",
"scroll_lock": "F4",
M keyboards/cherrybstudio/cb87v2/config.h => keyboards/cherrybstudio/cb87v2/config.h +0 -2
@@ 31,8 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/cherrybstudio/cb87v2/info.json => keyboards/cherrybstudio/cb87v2/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x8788",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "F0",
"scroll_lock": "F4",
M keyboards/ck60i/config.h => keyboards/ck60i/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B9 , C13, A3 , B14, A8}
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/ck60i/info.json => keyboards/ck60i/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6049",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/ck60i/rules.mk => keyboards/ck60i/rules.mk +0 -1
@@ 9,7 9,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-BACKLIGHT_DRIVER = pwm
ENCODER_ENABLE = yes
# Enter lower-power sleep mode when on the ChibiOS idle thread
M keyboards/ckeys/obelus/config.h => keyboards/ckeys/obelus/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/ckeys/obelus/info.json => keyboards/ckeys/obelus/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x4"],
M keyboards/ckeys/washington/config.h => keyboards/ckeys/washington/config.h +0 -3
@@ 35,9 35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A { D4 }
#define ENCODERS_PAD_B { C6 }
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/ckeys/washington/info.json => keyboards/ckeys/washington/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x002A",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/clueboard/17/info.json => keyboards/clueboard/17/info.json +3 -0
@@ 46,6 46,9 @@
"pid": "0x2312",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom"
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_numpad_5x4"
},
M keyboards/clueboard/17/rules.mk => keyboards/clueboard/17/rules.mk +0 -2
@@ 1,2 0,0 @@
-# Build Options
-BACKLIGHT_DRIVER = custom
D keyboards/clueboard/60/config.h => keyboards/clueboard/60/config.h +0 -23
@@ 1,23 0,0 @@
-/*
- * Copyright 2017 skully <skullydazed@gmail.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 1
M keyboards/clueboard/60/info.json => keyboards/clueboard/60/info.json +3 -0
@@ 29,6 29,9 @@
"pid": "0x2350",
"vid": "0xC1ED"
},
+ "backlight": {
+ "levels": 1
+ },
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
M keyboards/clueboard/66/rev2/config.h => keyboards/clueboard/66/rev2/config.h +0 -5
@@ 1,10 1,5 @@
#pragma once
-
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 1
-
/* Underlight configuration
*/
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
M keyboards/clueboard/66/rev2/info.json => keyboards/clueboard/66/rev2/info.json +4 -0
@@ 50,6 50,10 @@
"pid": "0x2320",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"community_layouts": ["66_ansi", "66_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
M keyboards/clueboard/66/rev2/rules.mk => keyboards/clueboard/66/rev2/rules.mk +0 -2
@@ 1,2 0,0 @@
-# Build Options
-BACKLIGHT_DRIVER = custom
M keyboards/clueboard/66/rev3/config.h => keyboards/clueboard/66/rev3/config.h +0 -5
@@ 1,10 1,5 @@
#pragma once
-
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 1
-
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
#define RGBLIGHT_EFFECT_BREATHE_MAX 200
#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
M keyboards/clueboard/66/rev3/info.json => keyboards/clueboard/66/rev3/info.json +4 -0
@@ 50,6 50,10 @@
"pid": "0x2370",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"community_layouts": ["66_ansi", "66_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
M keyboards/clueboard/66/rev3/rules.mk => keyboards/clueboard/66/rev3/rules.mk +0 -1
@@ 1,1 0,0 @@
-BACKLIGHT_DRIVER = custom
M keyboards/clueboard/66_hotswap/prototype/config.h => keyboards/clueboard/66_hotswap/prototype/config.h +0 -4
@@ 10,10 10,6 @@
*/
#define NO_ACTION_TAPPING
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 1
-
/* Underlight configuration
*/
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
M keyboards/clueboard/66_hotswap/prototype/info.json => keyboards/clueboard/66_hotswap/prototype/info.json +4 -0
@@ 50,6 50,10 @@
"pid": "0x2390",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"community_layouts": ["66_ansi"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
M keyboards/clueboard/66_hotswap/prototype/rules.mk => keyboards/clueboard/66_hotswap/prototype/rules.mk +0 -2
@@ 1,3 1,1 @@
-BACKLIGHT_DRIVER = custom
-
LTO_ENABLE = yes
M keyboards/clueboard/card/config.h => keyboards/clueboard/card/config.h +0 -3
@@ 17,8 17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define BACKLIGHT_LEVELS 6
-
// Enable audio
#define AUDIO_PIN C6
M keyboards/clueboard/card/info.json => keyboards/clueboard/card/info.json +4 -0
@@ 37,6 37,10 @@
"pid": "0x2330",
"vid": "0xC1ED"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 6
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},
M keyboards/clueboard/card/rules.mk => keyboards/clueboard/card/rules.mk +0 -2
@@ 1,2 0,0 @@
-# Build Options
-BACKLIGHT_DRIVER = custom
M keyboards/coarse/cordillera/config.h => keyboards/coarse/cordillera/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A8
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/coarse/cordillera/info.json => keyboards/coarse/cordillera/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1401",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A8",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A1",
"num_lock": "B0",
M keyboards/copenhagen_click/click_pad_v1/config.h => keyboards/copenhagen_click/click_pad_v1/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/copenhagen_click/click_pad_v1/info.json => keyboards/copenhagen_click/click_pad_v1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x27DB",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/custommk/evo70/config.h => keyboards/custommk/evo70/config.h +0 -4
@@ 19,10 19,6 @@
#define OLED_UPDATE_INTERVAL 33
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 17
-#define BACKLIGHT_BREATHING
-
#define OLED_DISABLE_TIMEOUT
#define ENCODERS_PAD_A { C7 }
M keyboards/custommk/evo70/info.json => keyboards/custommk/evo70/info.json +4 -1
@@ 10,7 10,10 @@
"device_version": "0.0.1"
},
"backlight": {
- "on_state": 0
+ "pin": "B5",
+ "levels": 17,
+ "on_state": 0,
+ "breathing": true
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
M keyboards/cx60/config.h => keyboards/cx60/config.h +0 -6
@@ 21,12 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F1, F4, F5, F6, E6 }
#define MATRIX_COL_PINS { C7, C6, F7, F0, B4, D7, D6, B0, B1, B2, B3, D2, D3, D5 }
-/* Backlight Setup */
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/cx60/info.json => keyboards/cx60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x3630",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "B5",
"on_state": 0
M keyboards/db/db63/config.h => keyboards/db/db63/config.h +0 -2
@@ 33,5 33,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define BACKLIGHT_PIN D4
M keyboards/db/db63/info.json => keyboards/db/db63/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layouts": {
M keyboards/deng/djam/config.h => keyboards/deng/djam/config.h +0 -3
@@ 20,9 20,6 @@
#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
#ifdef RGB_MATRIX_ENABLE
#define RGB_DI_PIN D5
#define RGB_MATRIX_LED_COUNT 31
M keyboards/deng/djam/info.json => keyboards/deng/djam/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x7325",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/deng/djam/rules.mk => keyboards/deng/djam/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
M keyboards/deng/thirty/config.h => keyboards/deng/thirty/config.h +0 -6
@@ 21,12 21,6 @@
#define MATRIX_COL_PINS { B13, B14, B3, A4, A6 }
#define DIODE_DIRECTION COL2ROW
-/* Backlight */
-#ifdef BACKLIGHT_ENABLE
-#define BACKLIGHT_PIN B11
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* RGB Matrix */
#ifdef RGB_MATRIX_ENABLE
#define RGB_DI_PIN B12
M keyboards/deng/thirty/info.json => keyboards/deng/thirty/info.json +3 -0
@@ 9,6 9,9 @@
"device_version": "0.0.1"
},
"backlight": {
+ "driver": "software",
+ "pin": "B11",
+ "levels": 5,
"on_state": 0
},
"processor": "STM32F103",
M keyboards/deng/thirty/rules.mk => keyboards/deng/thirty/rules.mk +0 -1
@@ 12,7 12,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = software
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
M keyboards/do60/config.h => keyboards/do60/config.h +0 -4
@@ 31,10 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, F4, B4, D7, D6, B3, B0 }
-/* Backlight Setup */
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/do60/info.json => keyboards/do60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 6
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/donutcables/budget96/config.h => keyboards/donutcables/budget96/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/donutcables/budget96/info.json => keyboards/donutcables/budget96/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xB960",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0"
M keyboards/doro67/multi/config.h => keyboards/doro67/multi/config.h +0 -3
@@ 15,6 15,3 @@
#define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 7
M keyboards/doro67/multi/info.json => keyboards/doro67/multi/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4D4C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 7
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/dtisaac/dtisaac01/config.h => keyboards/dtisaac/dtisaac01/config.h +0 -3
@@ 33,6 33,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION ROW2COL
-
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
M keyboards/dtisaac/dtisaac01/info.json => keyboards/dtisaac/dtisaac01/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4973",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "D3",
"scroll_lock": "D5",
M keyboards/duck/eagle_viper/v2/info.json => keyboards/duck/eagle_viper/v2/info.json +3 -0
@@ 6,6 6,9 @@
"pid": "0x4556",
"device_version": "0.0.2"
},
+ "backlight": {
+ "driver": "custom"
+ },
"bootmagic": {
"matrix": [4, 10]
},
M keyboards/duck/eagle_viper/v2/rules.mk => keyboards/duck/eagle_viper/v2/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
M keyboards/duck/jetfire/config.h => keyboards/duck/jetfire/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_LEVELS 1
-
#define RGB_DI_PIN D6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/duck/jetfire/info.json => keyboards/duck/jetfire/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4A46",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"bootmagic": {
"matrix": [5, 10]
},
M keyboards/duck/jetfire/rules.mk => keyboards/duck/jetfire/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
M keyboards/duck/lightsaver/config.h => keyboards/duck/lightsaver/config.h +0 -2
@@ 24,8 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_LEVELS 1
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/duck/lightsaver/info.json => keyboards/duck/lightsaver/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4C53",
"device_version": "0.0.3"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"bootmagic": {
"matrix": [5, 10]
},
M keyboards/duck/lightsaver/rules.mk => keyboards/duck/lightsaver/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes
M keyboards/duck/octagon/v1/config.h => keyboards/duck/octagon/v1/config.h +0 -2
@@ 24,8 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_LEVELS 1
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/duck/octagon/v1/info.json => keyboards/duck/octagon/v1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4F31",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"bootmagic": {
"matrix": [5, 10]
},
M keyboards/duck/octagon/v1/rules.mk => keyboards/duck/octagon/v1/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes
M keyboards/duck/octagon/v2/config.h => keyboards/duck/octagon/v2/config.h +0 -2
@@ 24,8 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_LEVELS 1
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/duck/octagon/v2/info.json => keyboards/duck/octagon/v2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4F32",
"device_version": "0.0.2"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 1
+ },
"bootmagic": {
"matrix": [5, 10]
},
M keyboards/duck/octagon/v2/rules.mk => keyboards/duck/octagon/v2/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes
M keyboards/duck/orion/v3/config.h => keyboards/duck/orion/v3/config.h +0 -2
@@ 24,8 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_LEVELS 10
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/duck/orion/v3/info.json => keyboards/duck/orion/v3/info.json +3 -1
@@ 9,7 9,9 @@
"device_version": "0.0.2"
},
"backlight": {
- "pins": ["B1", "B2", "B3", "E6"]
+ "driver": "custom",
+ "pins": ["B1", "B2", "B3", "E6"],
+ "levels": 10
},
"bootmagic": {
"matrix": [4, 10]
M keyboards/duck/orion/v3/rules.mk => keyboards/duck/orion/v3/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes
M keyboards/dz60/config.h => keyboards/dz60/config.h +0 -3
@@ 17,9 17,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
# define RGBLIGHT_EFFECT_BREATHING
M keyboards/dz60/info.json => keyboards/dz60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x2260",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/dztech/bocc/config.h => keyboards/dztech/bocc/config.h +0 -3
@@ 32,9 32,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
# define RGBLIGHT_EFFECT_BREATHING
M keyboards/dztech/bocc/info.json => keyboards/dztech/bocc/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1010",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/dztech/dz96/config.h => keyboards/dztech/dz96/config.h +0 -3
@@ 23,6 23,3 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
M keyboards/dztech/dz96/info.json => keyboards/dztech/dz96/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xDB96",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "B2",
"num_lock": "B0",
M keyboards/ebastler/isometria_75/rev1/config.h => keyboards/ebastler/isometria_75/rev1/config.h +0 -3
@@ 25,12 25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
/* Backlight */
-#define BACKLIGHT_PIN A9
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 2
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
/* Underglow */
M keyboards/ebastler/isometria_75/rev1/info.json => keyboards/ebastler/isometria_75/rev1/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1337",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A9",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/efreet/config.h => keyboards/efreet/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D0
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/efreet/info.json => keyboards/efreet/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D0",
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/era/era65/rules.mk => keyboards/era/era65/rules.mk +0 -1
@@ 1,1 0,0 @@
-BACKLIGHT_DRIVER = pwm>
\ No newline at end of file
M keyboards/ergotravel/rev1/config.h => keyboards/ergotravel/rev1/config.h +0 -3
@@ 29,9 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 5
-
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
M keyboards/eve/meteor/config.h => keyboards/eve/meteor/config.h +0 -2
@@ 23,5 23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { C2, C3, C4, C5, C6, C7, A7, A6, A5, A4, A3, A2, A1, A0, D7}
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN D4
M keyboards/eve/meteor/info.json => keyboards/eve/meteor/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4D54",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/evil80/config.h => keyboards/evil80/config.h +0 -3
@@ 8,9 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/evil80/info.json => keyboards/evil80/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B6",
"scroll_lock": "B7"
M keyboards/evyd13/atom47/rev2/config.h => keyboards/evyd13/atom47/rev2/config.h +0 -6
@@ 32,11 32,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Backlight configuration
- */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 4
-
#define RGB_DI_PIN D0 // The pin the LED strip is connected to
#define RGBLED_NUM 1 // Number of LEDs in your strip
M keyboards/evyd13/atom47/rev2/info.json => keyboards/evyd13/atom47/rev2/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x8E66",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4,
+ "breathing": true
+ },
"qmk_lufa_bootloader": {
"esc_input": "B7",
"esc_output": "D7",
M keyboards/evyd13/atom47/rev3/config.h => keyboards/evyd13/atom47/rev3/config.h +0 -6
@@ 27,12 27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Backlight configuration
- */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN F5 // The pin the LED strip is connected to
#define RGBLED_NUM 6 // Number of LEDs in your strip
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/evyd13/atom47/rev3/info.json => keyboards/evyd13/atom47/rev3/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0E6D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5,
+ "breathing": true
+ },
"qmk_lufa_bootloader": {
"esc_input": "B0",
"esc_output": "B7",
M keyboards/evyd13/wasdat_code/config.h => keyboards/evyd13/wasdat_code/config.h +0 -4
@@ 38,10 38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SN74X138_ADDRESS_PINS { D2, D1, D0 }
#define SN74X138_E3_PIN D4
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/evyd13/wasdat_code/info.json => keyboards/evyd13/wasdat_code/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xB00E",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"qmk_lufa_bootloader": {
"esc_input": "F0",
"esc_output": "E6",
M keyboards/exclusive/e65/config.h => keyboards/exclusive/e65/config.h +0 -5
@@ 26,11 26,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-# define BACKLIGHT_LEVELS 6
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/exclusive/e65/info.json => keyboards/exclusive/e65/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xE605",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 6
+ },
"indicators": {
"caps_lock": "B6",
"on_state": 0
M keyboards/exclusive/e6v2/le/config.h => keyboards/exclusive/e6v2/le/config.h +0 -6
@@ 40,10 40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 12
#endif
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 2
-#define BACKLIGHT_BREAHTING
-#endif
-
#define DIODE_DIRECTION COL2ROW
M keyboards/exclusive/e6v2/le/info.json => keyboards/exclusive/e6v2/le/info.json +3 -0
@@ 9,6 9,9 @@
"device_version": "0.0.2"
},
"backlight": {
+ "pin": "B6",
+ "levels": 2,
+ "breathing": true,
"breathing_period": 3
},
"indicators": {
M keyboards/exclusive/e6v2/le_bmc/config.h => keyboards/exclusive/e6v2/le_bmc/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/exclusive/e6v2/le_bmc/info.json => keyboards/exclusive/e6v2/le_bmc/info.json +3 -0
@@ 7,6 7,9 @@
"pid": "0xE62D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/exclusive/e6v2/oe/config.h => keyboards/exclusive/e6v2/oe/config.h +0 -6
@@ 40,10 40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 12
#endif
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#define BACKLIGHT_BREAHTING
-#endif
-
#define DIODE_DIRECTION COL2ROW
M keyboards/exclusive/e6v2/oe/info.json => keyboards/exclusive/e6v2/oe/info.json +3 -0
@@ 9,6 9,9 @@
"device_version": "0.0.2"
},
"backlight": {
+ "pin": "B6",
+ "levels": 5,
+ "breathing": true,
"breathing_period": 3
},
"processor": "atmega32u4",
M keyboards/exclusive/e6v2/oe_bmc/config.h => keyboards/exclusive/e6v2/oe_bmc/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/exclusive/e6v2/oe_bmc/info.json => keyboards/exclusive/e6v2/oe_bmc/info.json +3 -0
@@ 7,6 7,9 @@
"pid": "0xE62B",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/exclusive/e7v1/config.h => keyboards/exclusive/e7v1/config.h +0 -5
@@ 8,11 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 6
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/exclusive/e7v1/info.json => keyboards/exclusive/e7v1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xE701",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 6
+ },
"indicators": {
"caps_lock": "F0"
},
M keyboards/exclusive/e7v1se/config.h => keyboards/exclusive/e7v1se/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16
M keyboards/exclusive/e7v1se/info.json => keyboards/exclusive/e7v1se/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x7051",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/exclusive/e85/config.h => keyboards/exclusive/e85/config.h +0 -4
@@ 36,10 36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 18
M keyboards/exclusive/e85/hotswap/info.json => keyboards/exclusive/e85/hotswap/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xE851",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/exclusive/e85/soldered/info.json => keyboards/exclusive/e85/soldered/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xE852",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/exent/config.h => keyboards/exent/config.h +0 -2
@@ 33,8 33,6 @@
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 18
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/exent/info.json => keyboards/exent/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4558",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/eyeohdesigns/babyv/config.h => keyboards/eyeohdesigns/babyv/config.h +0 -2
@@ 24,8 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN B7
#define RGBLED_NUM 12
#define RGBLIGHT_HUE_STEP 8
M keyboards/eyeohdesigns/babyv/info.json => keyboards/eyeohdesigns/babyv/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/facew/config.h => keyboards/facew/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/facew/info.json => keyboards/facew/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0"
M keyboards/flx/virgo/config.h => keyboards/flx/virgo/config.h +0 -3
@@ 33,9 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN B3
#ifdef RGB_DI_PIN
#define RGBLED_NUM 0
M keyboards/flx/virgo/info.json => keyboards/flx/virgo/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x5647",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/fortitude60/rev1/config.h => keyboards/fortitude60/rev1/config.h +0 -5
@@ 30,11 30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SPLIT_USB_DETECT
#define SPLIT_USB_TIMEOUT 500
-#ifdef BACKLIGHT_ENABLE
- #define BACKLIGHT_PIN B5
- #define BACKLIGHT_LEVELS 9
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/fortitude60/rev1/info.json => keyboards/fortitude60/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1156",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 9
+ },
"split": {
"soft_serial_pin": "D2"
},
M keyboards/foxlab/key65/hotswap/config.h => keyboards/foxlab/key65/hotswap/config.h +0 -3
@@ 33,9 33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
M keyboards/foxlab/key65/hotswap/info.json => keyboards/foxlab/key65/hotswap/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0003",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"indicators": {
"scroll_lock": "E6",
"on_state": 0
M keyboards/foxlab/key65/universal/config.h => keyboards/foxlab/key65/universal/config.h +0 -3
@@ 33,9 33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 6
M keyboards/foxlab/key65/universal/info.json => keyboards/foxlab/key65/universal/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0004",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"indicators": {
"scroll_lock": "E6",
"on_state": 0
M keyboards/foxlab/leaf60/hotswap/config.h => keyboards/foxlab/leaf60/hotswap/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 4
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
M keyboards/foxlab/leaf60/hotswap/info.json => keyboards/foxlab/leaf60/hotswap/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 4,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/foxlab/leaf60/universal/config.h => keyboards/foxlab/leaf60/universal/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
M keyboards/foxlab/leaf60/universal/info.json => keyboards/foxlab/leaf60/universal/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/foxlab/time80/config.h => keyboards/foxlab/time80/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 16
//#define RGBLIGHT_HUE_STEP 8
//#define RGBLIGHT_SAT_STEP 8
M keyboards/foxlab/time80/info.json => keyboards/foxlab/time80/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0005",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layouts": {
M keyboards/foxlab/time_re/hotswap/config.h => keyboards/foxlab/time_re/hotswap/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
M keyboards/foxlab/time_re/hotswap/info.json => keyboards/foxlab/time_re/hotswap/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/foxlab/time_re/universal/config.h => keyboards/foxlab/time_re/universal/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
M keyboards/foxlab/time_re/universal/info.json => keyboards/foxlab/time_re/universal/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/ft/mars65/config.h => keyboards/ft/mars65/config.h +0 -2
@@ 19,8 19,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 24
M keyboards/ft/mars65/info.json => keyboards/ft/mars65/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422F",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"],
M keyboards/ft/mars80/config.h => keyboards/ft/mars80/config.h +0 -2
@@ 26,8 26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/ft/mars80/info.json => keyboards/ft/mars80/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
M keyboards/geonworks/frogmini/fms/config.h => keyboards/geonworks/frogmini/fms/config.h +0 -2
@@ 25,11 25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A10
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 20
#define I2C_DRIVER I2CD1
#define I2C_SCL_PIN B6
M keyboards/geonworks/frogmini/fms/info.json => keyboards/geonworks/frogmini/fms/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x2D33",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A10",
+ "levels": 20
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/geonworks/frogmini/fms/rules.mk => keyboards/geonworks/frogmini/fms/rules.mk +0 -1
@@ 13,7 13,6 @@ LTO_ENABLE = no
ENCODER_ENABLE = no
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm
EEPROM_DRIVER = i2c
M keyboards/gh60/satan/config.h => keyboards/gh60/satan/config.h +0 -6
@@ 23,8 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3 }
-#define BACKLIGHT_PIN B6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
@@ 33,10 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 4
-
/* Underglow configuration
*/
#define RGB_DI_PIN E2
M keyboards/gh60/satan/info.json => keyboards/gh60/satan/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0002",
"device_version": "0.0.3"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/gh60/v1p3/config.h => keyboards/gh60/v1p3/config.h +0 -3
@@ 33,9 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 15
-
#define RGB_DI_PIN F0
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
M keyboards/gh60/v1p3/info.json => keyboards/gh60/v1p3/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 15
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_arrow", "60_ansi_tsangan", "60_hhkb", "64_ansi"],
M keyboards/gon/nerd60/config.h => keyboards/gon/nerd60/config.h +0 -4
@@ 1,9 1,5 @@
#pragma once
-
-/* backlight */
-#define BACKLIGHT_PIN B7
-
/* matrix pins */
#define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 }
#define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5 }
M keyboards/gon/nerd60/info.json => keyboards/gon/nerd60/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x3630",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"bootmagic": {
"matrix": [8, 0]
},
M keyboards/gon/nerdtkl/config.h => keyboards/gon/nerdtkl/config.h +0 -4
@@ 1,9 1,5 @@
#pragma once
-
-/* backlight */
-#define BACKLIGHT_PIN B7
-
/* matrix pins */
#define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 }
#define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5, D1 }
M keyboards/gon/nerdtkl/info.json => keyboards/gon/nerdtkl/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x5244",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"bootmagic": {
"matrix": [8, 0]
},
M keyboards/gray_studio/cod67/config.h => keyboards/gray_studio/cod67/config.h +0 -5
@@ 34,11 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-/* D4 is not a PWM pin, but look at timer assisted software PWM if you want something other than toggle
- * https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation
- */
-#define BACKLIGHT_PIN D4
-
#define RGB_DI_PIN B2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 20
M keyboards/gray_studio/cod67/info.json => keyboards/gray_studio/cod67/info.json +1 -0
@@ 9,6 9,7 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "D4",
"on_state": 0
},
"processor": "atmega32u4",
M keyboards/gray_studio/hb85/config.h => keyboards/gray_studio/hb85/config.h +0 -2
@@ 32,5 32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define BACKLIGHT_PIN D4
M keyboards/gray_studio/hb85/info.json => keyboards/gray_studio/hb85/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x2000",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/gray_studio/space65/config.h => keyboards/gray_studio/space65/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 6
M keyboards/gray_studio/space65/info.json => keyboards/gray_studio/space65/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x3000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/handwired/aek64/config.h => keyboards/handwired/aek64/config.h +0 -4
@@ 32,7 32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Enable double tab */
#define TAPPING_TERM 175
-
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
M keyboards/handwired/aek64/info.json => keyboards/handwired/aek64/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6464",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "at90usb1286",
"bootloader": "halfkay",
"layouts": {
M keyboards/handwired/arrow_pad/config.h => keyboards/handwired/arrow_pad/config.h +0 -2
@@ 31,8 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 }
#define MATRIX_COL_PINS { B0, B1, B2, B3 }
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
M keyboards/handwired/arrow_pad/info.json => keyboards/handwired/arrow_pad/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4096",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "halfkay",
"layouts": {
M keyboards/handwired/bdn9_ble/config.h => keyboards/handwired/bdn9_ble/config.h +0 -3
@@ 17,9 17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define BACKLIGHT_PIN F6
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/handwired/bdn9_ble/info.json => keyboards/handwired/bdn9_ble/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1134",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "F6",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {
M keyboards/handwired/chiron/config.h => keyboards/handwired/chiron/config.h +0 -4
@@ 34,7 34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D3
#define RGBLED_NUM 4
-
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 7
-
M keyboards/handwired/chiron/info.json => keyboards/handwired/chiron/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 7
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/handwired/co60/rev1/config.h => keyboards/handwired/co60/rev1/config.h +0 -5
@@ 34,11 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#ifdef __AVR__
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#endif
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
M keyboards/handwired/co60/rev1/info.json => keyboards/handwired/co60/rev1/info.json +4 -0
@@ 3,6 3,10 @@
"usb": {
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
M keyboards/handwired/co60/rev6/config.h => keyboards/handwired/co60/rev6/config.h +0 -6
@@ 29,9 29,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-
-/* Backlight configuration
- * Backlight LEDs on B8
- */
-#define BACKLIGHT_PIN B8
-#define BACKLIGHT_BREATHING
M keyboards/handwired/co60/rev6/info.json => keyboards/handwired/co60/rev6/info.json +4 -0
@@ 3,6 3,10 @@
"usb": {
"device_version": "6.0.0"
},
+ "backlight": {
+ "pin": "B8",
+ "breathing": true
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"
M keyboards/handwired/co60/rev7/config.h => keyboards/handwired/co60/rev7/config.h +0 -6
@@ 31,12 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Backlight configuration
- * Backlight LEDs on B8
- */
-#define BACKLIGHT_PIN B8
-#define BACKLIGHT_BREATHING
-
/* RGB underglow configuration */
#define WS2812_SPI SPID1
#define WS2812_SPI_MOSI_PAL_MODE 5
M keyboards/handwired/co60/rev7/info.json => keyboards/handwired/co60/rev7/info.json +4 -0
@@ 3,6 3,10 @@
"usb": {
"device_version": "7.0.0"
},
+ "backlight": {
+ "pin": "B8",
+ "breathing": true
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C"
M keyboards/handwired/hacked_motospeed/config.h => keyboards/handwired/hacked_motospeed/config.h +0 -2
@@ 38,8 38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* define if matrix has ghost (lacks anti-ghosting diodes) */
#define MATRIX_HAS_GHOST
M keyboards/handwired/hacked_motospeed/info.json => keyboards/handwired/hacked_motospeed/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0690",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "at90usb1286",
"bootloader": "halfkay",
"layouts": {
M keyboards/handwired/hnah108/config.h => keyboards/handwired/hnah108/config.h +0 -4
@@ 37,10 37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A { B2 }
#define ENCODERS_PAD_B { B3 }
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 4
-
#define RGB_DI_PIN E2
#define RGB_MATRIX_LED_COUNT 30
// RGB Matrix Animation modes. Explicitly enabled
M keyboards/handwired/hnah108/info.json => keyboards/handwired/hnah108/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0000",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 4,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/handwired/jot50/config.h => keyboards/handwired/jot50/config.h +0 -4
@@ 5,10 5,6 @@
#define MATRIX_ROW_PINS { D7, E6, B4, B6, B2 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 }
-/* leds */
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/handwired/jot50/info.json => keyboards/handwired/jot50/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_5x12"],
M keyboards/handwired/nozbe_macro/config.h => keyboards/handwired/nozbe_macro/config.h +0 -2
@@ 27,8 27,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/handwired/nozbe_macro/info.json => keyboards/handwired/nozbe_macro/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/handwired/pill60/config.h => keyboards/handwired/pill60/config.h +0 -3
@@ 18,11 18,8 @@
#define DIODE_DIRECTION COL2ROW
-/* Backlighting include */
-#define BACKLIGHT_PIN B14
#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_PWM_CHANNEL 1
-#define BACKLIGHT_LEVELS 5
/* Encoder */
#define ENCODERS_PAD_A \
M keyboards/handwired/pill60/info.json => keyboards/handwired/pill60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x5444",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "software",
+ "pin": "B14",
+ "levels": 5
+ },
"debounce": 1,
"layouts": {
"LAYOUT": {
M keyboards/handwired/pill60/rules.mk => keyboards/handwired/pill60/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = software
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
SLEEP_LED_ENABLE = yes
M keyboards/handwired/prime_exl/config.h => keyboards/handwired/prime_exl/config.h +0 -3
@@ 25,9 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/handwired/prime_exl/info.json => keyboards/handwired/prime_exl/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6578",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/handwired/riblee_f401/config.h => keyboards/handwired/riblee_f401/config.h +0 -3
@@ 22,9 22,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A0
-#define BACKLIGHT_LEVELS 5
-
#define MOUSEKEY_INTERVAL 32
#define TAPPING_TERM 175=
\ No newline at end of file
M keyboards/handwired/riblee_f401/info.json => keyboards/handwired/riblee_f401/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x002A",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "software",
+ "pin": "A0",
+ "levels": 5
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"board": "BLACKPILL_STM32_F401",
M keyboards/handwired/riblee_f401/rules.mk => keyboards/handwired/riblee_f401/rules.mk +0 -1
@@ 9,6 9,5 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = software
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
M keyboards/handwired/steamvan/rev1/config.h => keyboards/handwired/steamvan/rev1/config.h +0 -6
@@ 31,12 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Backlight configuration
- * Backlight LEDs on B8
- */
-#define BACKLIGHT_PIN B8
-#define BACKLIGHT_BREATHING
-
#define WS2812_SPI SPID1
#define WS2812_SPI_MOSI_PAL_MODE 5
M keyboards/handwired/steamvan/rev1/info.json => keyboards/handwired/steamvan/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B8",
+ "breathing": true
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",
M keyboards/handwired/tritium_numpad/config.h => keyboards/handwired/tritium_numpad/config.h +0 -6
@@ 23,8 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6 }
#define MATRIX_COL_PINS { F4, F6, B1, B2 }
-#define BACKLIGHT_PIN B6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
@@ 33,10 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Backlight configuration
- */
-#define BACKLIGHT_LEVELS 4
-
/* Underlight configuration
*/
M keyboards/handwired/tritium_numpad/info.json => keyboards/handwired/tritium_numpad/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.3"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4
+ },
"indicators": {
"num_lock": "D5",
"on_state": 0
M keyboards/heliar/wm1_hotswap/config.h => keyboards/heliar/wm1_hotswap/config.h +0 -2
@@ 31,5 31,3 @@
#define MATRIX_COL_PINS { D2, B0, B1, B2, D1, D0, C7, C6, B6, B5, B4, F4, F5, F6, F1 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
M keyboards/heliar/wm1_hotswap/info.json => keyboards/heliar/wm1_hotswap/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xD070",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/hineybush/h10/config.h => keyboards/hineybush/h10/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/hineybush/h10/info.json => keyboards/hineybush/h10/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xEBD8",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_6x4", "numpad_6x4"],
M keyboards/hineybush/h60/config.h => keyboards/hineybush/h60/config.h +0 -3
@@ 24,9 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 12
-
#define RGB_DI_PIN B0
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16
M keyboards/hineybush/h60/info.json => keyboards/hineybush/h60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xEBBE",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 12
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_hhkb", "60_tsangan_hhkb"],
M keyboards/hineybush/h65/config.h => keyboards/hineybush/h65/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 17
M keyboards/hineybush/h65/info.json => keyboards/hineybush/h65/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xE9E4",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6"
},
M keyboards/hineybush/h65_hotswap/config.h => keyboards/hineybush/h65_hotswap/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 17
M keyboards/hineybush/h65_hotswap/info.json => keyboards/hineybush/h65_hotswap/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xE8B7",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6"
},
M keyboards/hineybush/h660s/config.h => keyboards/hineybush/h660s/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B0
#ifdef RGB_DI_PIN
# define RGBLED_NUM 16
M keyboards/hineybush/h660s/info.json => keyboards/hineybush/h660s/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xEB1B",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/hineybush/h75_singa/config.h => keyboards/hineybush/h75_singa/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B3
#ifdef RGB_DI_PIN
#define RGBLED_NUM 22
M keyboards/hineybush/h75_singa/info.json => keyboards/hineybush/h75_singa/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xEC9A",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/hineybush/h87a/config.h => keyboards/hineybush/h87a/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/hineybush/h87a/info.json => keyboards/hineybush/h87a/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xECE9",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/hineybush/h88/config.h => keyboards/hineybush/h88/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/hineybush/h88/info.json => keyboards/hineybush/h88/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xECA2",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/hineybush/hbcp/config.h => keyboards/hineybush/hbcp/config.h +0 -3
@@ 38,9 38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//EITHERWAY is supported through a custom matrix
//#define DIODE_DIRECTION EITHERWAY
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B0
#ifdef RGB_DI_PIN
#define RGBLED_NUM 27
M keyboards/hineybush/hbcp/info.json => keyboards/hineybush/hbcp/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xECE8",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/hineybush/physix/config.h => keyboards/hineybush/physix/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 26
M keyboards/hineybush/physix/info.json => keyboards/hineybush/physix/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xEC81",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/hnahkb/freyr/config.h => keyboards/hnahkb/freyr/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/hnahkb/freyr/info.json => keyboards/hnahkb/freyr/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1895",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B3",
"scroll_lock": "B7",
M keyboards/hnahkb/stella/config.h => keyboards/hnahkb/stella/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#define RGBLED_NUM 14
M keyboards/hnahkb/stella/info.json => keyboards/hnahkb/stella/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0AB7",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B3",
"scroll_lock": "B7",
M keyboards/hnahkb/vn66/config.h => keyboards/hnahkb/vn66/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 4
-#define BACKLIGHT_BREATHING
-
#define ENCODERS_PAD_A { B0 }
#define ENCODERS_PAD_B { B7 }
#define ENCODER_RESOLUTION 2
M keyboards/hnahkb/vn66/info.json => keyboards/hnahkb/vn66/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xCA2C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/horrortroll/chinese_pcb/black_e65/config.h => keyboards/horrortroll/chinese_pcb/black_e65/config.h +0 -6
@@ 27,12 27,6 @@
/* Forcing to use NKRO instead 6KRO */
#define FORCE_NKRO
-#ifdef BACKLIGHT_ENABLE
- /* Backlight config */
- #define BACKLIGHT_PIN B6
- #define BACKLIGHT_LEVELS 6
-#endif
-
#ifdef RGBLIGHT_ENABLE
/* RGB Lighting config */
#define RGB_DI_PIN E2
M keyboards/horrortroll/chinese_pcb/black_e65/info.json => keyboards/horrortroll/chinese_pcb/black_e65/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x7000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6
+ },
"indicators": {
"caps_lock": "C7"
},
M keyboards/hotdox/config.h => keyboards/hotdox/config.h +0 -2
@@ 29,8 29,6 @@
)
#endif
-#define BACKLIGHT_PIN B7
-
#define LED_BRIGHTNESS_LO 15
#define LED_BRIGHTNESS_HI 255
M keyboards/hotdox/info.json => keyboards/hotdox/info.json +3 -0
@@ 7,6 7,9 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ergodox"],
M keyboards/idobao/id75/v1/config.h => keyboards/idobao/id75/v1/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN F0
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_ALTERNATING
M keyboards/idobao/id75/v1/info.json => keyboards/idobao/id75/v1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0075",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x15"],
M keyboards/idobao/id80/v2/config.h => keyboards/idobao/id80/v2/config.h +0 -5
@@ 48,11 48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#ifdef BACKLIGHT_ENABLE
- #define BACKLIGHT_PIN B6
- #define BACKLIGHT_BREATHING
-#endif
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */
M keyboards/idobao/id80/v2/info.json => keyboards/idobao/id80/v2/info.json +4 -0
@@ 6,6 6,10 @@
"vid": "0x6964",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "C7",
"on_state": 0
M keyboards/idobao/id87/v1/config.h => keyboards/idobao/id87/v1/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_ALTERNATING
M keyboards/idobao/id87/v1/info.json => keyboards/idobao/id87/v1/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0087",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "C7"
},
M keyboards/idobao/id96/config.h => keyboards/idobao/id96/config.h +0 -6
@@ 26,12 26,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
- #define BACKLIGHT_LEVELS 7
- #define BACKLIGHT_BREATHING
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/idobao/id96/info.json => keyboards/idobao/id96/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0096",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 7,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "C7",
"num_lock": "C6",
M keyboards/idobao/montex/v1/config.h => keyboards/idobao/montex/v1/config.h +0 -2
@@ 24,8 24,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/idobao/montex/v1/info.json => keyboards/idobao/montex/v1/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/illuminati/is0/config.h => keyboards/illuminati/is0/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/illuminati/is0/info.json => keyboards/illuminati/is0/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0012",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/ilumkb/primus75/config.h => keyboards/ilumkb/primus75/config.h +0 -5
@@ 23,11 23,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/ilumkb/primus75/info.json => keyboards/ilumkb/primus75/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1014",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "B2",
"num_lock": "E2",
M keyboards/ilumkb/volcano660/config.h => keyboards/ilumkb/volcano660/config.h +0 -3
@@ 32,9 32,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/ilumkb/volcano660/info.json => keyboards/ilumkb/volcano660/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/iron180/config.h => keyboards/iron180/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B9 , B8 , A15, B0 , A7 , A5 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/iron180/info.json => keyboards/iron180/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1180",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 20,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/iron180/rules.mk => keyboards/iron180/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = no
M keyboards/j80/config.h => keyboards/j80/config.h +0 -2
@@ 22,5 22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, A0 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN D4
M keyboards/j80/info.json => keyboards/j80/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/jacky_studio/bear_65/config.h => keyboards/jacky_studio/bear_65/config.h +0 -6
@@ 20,12 20,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-/* number of backlight levels */
-#define BACKLIGHT_PIN B6
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/jacky_studio/bear_65/rev1/info.json => keyboards/jacky_studio/bear_65/rev1/info.json +3 -0
@@ 10,6 10,9 @@
"pid": "0x000A",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "C7",
"on_state": 0
M keyboards/jacky_studio/bear_65/rev2/info.json => keyboards/jacky_studio/bear_65/rev2/info.json +3 -0
@@ 10,6 10,9 @@
"pid": "0x0428",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "C7",
"on_state": 0
M keyboards/jacky_studio/s7_elephant/rev2/config.h => keyboards/jacky_studio/s7_elephant/rev2/config.h +0 -3
@@ 33,9 33,6 @@
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 15
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/jacky_studio/s7_elephant/rev2/info.json => keyboards/jacky_studio/s7_elephant/rev2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0008",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 15
+ },
"bootmagic": {
"matrix": [0, 15]
},
M keyboards/jae/j01/config.h => keyboards/jae/j01/config.h +0 -4
@@ 35,10 35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 4
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/jae/j01/info.json => keyboards/jae/j01/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0143",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 4,
+ "breathing": true
+ },
"bootmagic": {
"matrix": [0, 2]
},
M keyboards/jc65/v32a/config.h => keyboards/jc65/v32a/config.h +0 -2
@@ 22,8 22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 16
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/jc65/v32a/info.json => keyboards/jc65/v32a/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x5679",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/jc65/v32u4/config.h => keyboards/jc65/v32u4/config.h +0 -2
@@ 40,6 40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 8
#endif
-#define BACKLIGHT_PIN B6
-
#define DIODE_DIRECTION COL2ROW
M keyboards/jc65/v32u4/info.json => keyboards/jc65/v32u4/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/jd45/config.h => keyboards/jd45/config.h +0 -2
@@ 22,8 22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F0, F1, F5, B4 }
#define MATRIX_COL_PINS { F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2, B0 }
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/jd45/info.json => keyboards/jd45/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/jian/nsrev2/config.h => keyboards/jian/nsrev2/config.h +0 -6
@@ 27,12 27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PHYSICAL_LEDS_ENABLE
-#ifdef BACKLIGHT_ENABLE
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_LEVELS 5
-#define BACKLIGHT_BREATHING //not working with splits right now
-#endif
-
/* ws2812 RGB LED */
#define RGB_DI_PIN D4
#define RGBLIGHT_TIMER
M keyboards/jian/nsrev2/info.json => keyboards/jian/nsrev2/info.json +5 -0
@@ 3,6 3,11 @@
"usb": {
"device_version": "2.1.0"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 5,
+ "breathing": true
+ },
"qmk_lufa_bootloader": {
"esc_input": "B1",
"esc_output": "D3"
M keyboards/jian/rev1/config.h => keyboards/jian/rev1/config.h +0 -5
@@ 78,11 78,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define UPDATE_SCROLL_LOCK_LED() writePin(SCROLL_LOCK_LED_PIN, !led_state.scroll_lock)
#endif // SCROLL_NMOSFET
-#ifdef BACKLIGHT_ENABLE
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* ws2812 RGB LED */
#define RGB_DI_PIN D4
#define RGBLIGHT_TIMER
M keyboards/jian/rev1/info.json => keyboards/jian/rev1/info.json +4 -0
@@ 3,6 3,10 @@
"usb": {
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "caterina"
}
M keyboards/jian/rev2/config.h => keyboards/jian/rev2/config.h +0 -5
@@ 30,11 30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PHYSICAL_LEDS_ENABLE
#define IOS_DEVICE_ENABLE
-#ifdef BACKLIGHT_ENABLE
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* ws2812 RGB LED */
#define RGB_DI_PIN D4
#define RGBLIGHT_TIMER
M keyboards/jian/rev2/info.json => keyboards/jian/rev2/info.json +4 -0
@@ 3,6 3,10 @@
"usb": {
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 5
+ },
"qmk_lufa_bootloader": {
"esc_input": "B1",
"esc_output": "D3"
D keyboards/jiran/rev1/config.h => keyboards/jiran/rev1/config.h +0 -20
@@ 1,20 0,0 @@
-/*
-Copyright 2017 Danny Nguyen <danny@keeb.io>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
A keyboards/jiran/rev1/info.json => keyboards/jiran/rev1/info.json +6 -0
@@ 0,0 1,6 @@
+{
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ }
+}
M keyboards/kagizaraya/scythe/config.h => keyboards/kagizaraya/scythe/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define RGBLIGHT_SPLIT 1
#define RGB_DI_PIN F0
#ifdef RGB_DI_PIN
M keyboards/kagizaraya/scythe/info.json => keyboards/kagizaraya/scythe/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x3941",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/kb_elmo/twelvekey/config.h => keyboards/kb_elmo/twelvekey/config.h +0 -4
@@ 24,7 24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-/* Backlight */
-#define BACKLIGHT_PIN B1
-#define BACKLIGHT_LEVELS 8
M keyboards/kb_elmo/twelvekey/info.json => keyboards/kb_elmo/twelvekey/info.json +2 -0
@@ 9,6 9,8 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "B1",
+ "levels": 8,
"on_state": 0
},
"processor": "atmega328p",
M keyboards/kbdfans/bella/soldered/config.h => keyboards/kbdfans/bella/soldered/config.h +0 -2
@@ 20,7 20,5 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
M keyboards/kbdfans/bella/soldered/info.json => keyboards/kbdfans/bella/soldered/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/kbdfans/kbd19x/config.h => keyboards/kbdfans/kbd19x/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/kbdfans/kbd19x/info.json => keyboards/kbdfans/kbd19x/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0191",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "B0",
"num_lock": "B2",
M keyboards/kbdfans/kbd4x/config.h => keyboards/kbdfans/kbd4x/config.h +1 -4
@@ 33,10 33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
+
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/kbdfans/kbd4x/info.json => keyboards/kbdfans/kbd4x/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/kbdfans/kbd66/config.h => keyboards/kbdfans/kbd66/config.h +0 -4
@@ 33,10 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/kbdfans/kbd66/info.json => keyboards/kbdfans/kbd66/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xBD66",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/kbdfans/kbd67/hotswap/config.h => keyboards/kbdfans/kbd67/hotswap/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
#define RGB_DI_PIN B4
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
M keyboards/kbdfans/kbd67/hotswap/info.json => keyboards/kbdfans/kbd67/hotswap/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6065",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker_split_bs"],
M keyboards/kbdfans/kbd67/mkii_soldered/config.h => keyboards/kbdfans/kbd67/mkii_soldered/config.h +0 -5
@@ 34,11 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/kbdfans/kbd67/mkii_soldered/info.json => keyboards/kbdfans/kbd67/mkii_soldered/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0013",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"],
M keyboards/kbdfans/kbd67/rev1/config.h => keyboards/kbdfans/kbd67/rev1/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 20
M keyboards/kbdfans/kbd67/rev1/info.json => keyboards/kbdfans/kbd67/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6066",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/kbdfans/kbd67/rev2/config.h => keyboards/kbdfans/kbd67/rev2/config.h +0 -2
@@ 24,8 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/kbdfans/kbd67/rev2/info.json => keyboards/kbdfans/kbd67/rev2/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6067",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B5"
+ },
"indicators": {
"caps_lock": "D4",
"on_state": 0
M keyboards/kbdfans/kbd6x/config.h => keyboards/kbdfans/kbd6x/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
#define RGB_DI_PIN F0
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/kbdfans/kbd6x/info.json => keyboards/kbdfans/kbd6x/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x3658",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B6"
},
M keyboards/kbdfans/kbd75/config.h => keyboards/kbdfans/kbd75/config.h +0 -5
@@ 11,11 11,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/kbdfans/kbd75/rev1/info.json => keyboards/kbdfans/kbd75/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/kbdfans/kbd75/rev2/info.json => keyboards/kbdfans/kbd75/rev2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6061",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/kbdfans/kbd8x/config.h => keyboards/kbdfans/kbd8x/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/kbdfans/kbd8x/info.json => keyboards/kbdfans/kbd8x/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B3",
"num_lock": "B1",
M keyboards/kbdfans/kbd8x_mk2/config.h => keyboards/kbdfans/kbd8x_mk2/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
#define RGB_DI_PIN B3
#ifdef RGB_DI_PIN
#define RGBLED_NUM 20
M keyboards/kbdfans/kbd8x_mk2/info.json => keyboards/kbdfans/kbd8x_mk2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0005",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"scroll_lock": "B2",
M keyboards/kbdfans/kbdpad/mk1/config.h => keyboards/kbdfans/kbdpad/mk1/config.h +0 -3
@@ 23,9 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_BREATHING
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/kbdfans/kbdpad/mk1/info.json => keyboards/kbdfans/kbdpad/mk1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "breathing": true
+ },
"indicators": {
"num_lock": "D0"
},
M keyboards/kbdfans/kbdpad/mk2/config.h => keyboards/kbdfans/kbdpad/mk2/config.h +0 -5
@@ 34,11 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-#endif
#define RGB_DI_PIN B5
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16
M keyboards/kbdfans/kbdpad/mk2/info.json => keyboards/kbdfans/kbdpad/mk2/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"num_lock": "B4",
"on_state": 0
M keyboards/kbdfans/maja_soldered/config.h => keyboards/kbdfans/maja_soldered/config.h +0 -2
@@ 20,8 20,6 @@
#define MATRIX_COL_PINS { C6, C7, F7, F6, F5, F4, F1, B0, B1, B2, B3, B7, D2, D3, D5 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/kbdfans/maja_soldered/info.json => keyboards/kbdfans/maja_soldered/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6069",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"debounce": 3,
M keyboards/kbdfans/niu_mini/config.h => keyboards/kbdfans/niu_mini/config.h +0 -5
@@ 25,11 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
- #define BACKLIGHT_LEVELS 4
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/kbdfans/niu_mini/info.json => keyboards/kbdfans/niu_mini/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/kc60/config.h => keyboards/kc60/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN F5
#ifdef RGB_DI_PIN
# define RGBLED_NUM 16
M keyboards/kc60/info.json => keyboards/kc60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6FFC",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi"],
M keyboards/kc60se/config.h => keyboards/kc60se/config.h +0 -3
@@ 25,9 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN F5
-#define BACKLIGHT_LEVELS 6
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
M keyboards/kc60se/info.json => keyboards/kc60se/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "F5",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso", "60_iso_split_bs_rshift"],
M keyboards/keebio/bdn9/rev1/config.h => keyboards/keebio/bdn9/rev1/config.h +0 -3
@@ 20,9 20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A { D0, F6, B6 }
#define ENCODERS_PAD_B { D1, F5, F7 }
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 7
-
#define RGB_DI_PIN D3
#ifdef RGB_DI_PIN
#define RGBLED_NUM 4
M keyboards/keebio/bdn9/rev1/info.json => keyboards/keebio/bdn9/rev1/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x1133",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 7
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {
M keyboards/keebio/chocopad/config.h => keyboards/keebio/chocopad/config.h +0 -3
@@ 8,9 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/keebio/chocopad/info.json => keyboards/keebio/chocopad/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1144",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_4x4"],
M keyboards/keebio/dilly/config.h => keyboards/keebio/dilly/config.h +0 -2
@@ 8,8 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/keebio/dilly/info.json => keyboards/keebio/dilly/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x113A",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B5"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_3x10"],
M keyboards/keebio/dsp40/rev1/config.h => keyboards/keebio/dsp40/rev1/config.h +0 -2
@@ 25,11 25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 10
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 7
#define RGB_DI_PIN D3
#ifdef RGB_DI_PIN
M keyboards/keebio/dsp40/rev1/info.json => keyboards/keebio/dsp40/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x144C",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 7
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/keebio/ergodicity/config.h => keyboards/keebio/ergodicity/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 7
-
#define RGB_DI_PIN B2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 12
M keyboards/keebio/ergodicity/info.json => keyboards/keebio/ergodicity/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x125F",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 7,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/keebio/foldkb/rev1/config.h => keyboards/keebio/foldkb/rev1/config.h +0 -2
@@ 24,8 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A { F5 }
#define ENCODERS_PAD_B { F6 }
-#define BACKLIGHT_PIN B5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/keebio/foldkb/rev1/info.json => keyboards/keebio/foldkb/rev1/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x1258",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B5"
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/iris/rev1/config.h => keyboards/keebio/iris/rev1/config.h +0 -3
@@ 29,9 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN D2
-#define BACKLIGHT_LEVELS 5
-
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLED_NUM 12 // Number of LEDs
M keyboards/keebio/iris/rev1/info.json => keyboards/keebio/iris/rev1/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x1256",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "D2",
+ "levels": 5
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/iris/rev1_led/config.h => keyboards/keebio/iris/rev1_led/config.h +0 -3
@@ 29,9 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLED_NUM 12 // Number of LEDs
M keyboards/keebio/iris/rev1_led/info.json => keyboards/keebio/iris/rev1_led/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x1256",
"device_version": "1.1.0"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/iris/rev2/config.h => keyboards/keebio/iris/rev2/config.h +0 -3
@@ 29,9 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 5
-
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLED_NUM 12 // Number of LEDs
M keyboards/keebio/iris/rev2/info.json => keyboards/keebio/iris/rev2/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x2256",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 5
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/iris/rev3/config.h => keyboards/keebio/iris/rev3/config.h +0 -3
@@ 33,9 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-
/* ws2812 RGB LED */
#define RGB_DI_PIN F7
#define RGBLED_NUM 12 // Number of LEDs
M keyboards/keebio/iris/rev3/info.json => keyboards/keebio/iris/rev3/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x3256",
"device_version": "3.0.0"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"qmk_lufa_bootloader": {
"esc_input": "D2",
"esc_output": "F1",
M keyboards/keebio/iris/rev4/config.h => keyboards/keebio/iris/rev4/config.h +0 -3
@@ 37,9 37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 5
-
/* ws2812 RGB LED */
#define RGB_DI_PIN D6
#define RGBLED_NUM 12 // Number of LEDs
M keyboards/keebio/iris/rev4/info.json => keyboards/keebio/iris/rev4/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x4256",
"device_version": "4.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 5
+ },
"qmk_lufa_bootloader": {
"esc_input": "B1",
"esc_output": "F1",
M keyboards/keebio/iris/rev5/config.h => keyboards/keebio/iris/rev5/config.h +0 -2
@@ 32,8 32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_DEFAULT_LEVEL 3
/* ws2812 RGB LED */
M keyboards/keebio/iris/rev5/info.json => keyboards/keebio/iris/rev5/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x5256",
"device_version": "5.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 5
+ },
"qmk_lufa_bootloader": {
"esc_input": "B1",
"esc_output": "F1",
M keyboards/keebio/kbo5000/rev1/config.h => keyboards/keebio/kbo5000/rev1/config.h +0 -1
@@ 30,7 30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A_RIGHT { D6, C7 }
#define ENCODERS_PAD_B_RIGHT { D4, C6 }
-#define BACKLIGHT_PIN B5
#define CAPS_LOCK_LED_PIN B6
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
M keyboards/keebio/kbo5000/rev1/info.json => keyboards/keebio/kbo5000/rev1/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x126A",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B5"
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/levinson/rev1/config.h => keyboards/keebio/levinson/rev1/config.h +0 -4
@@ 34,7 34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D3
#define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }
-
-/* Backlight LEDs */
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_LEVELS 7
M keyboards/keebio/levinson/rev1/info.json => keyboards/keebio/levinson/rev1/info.json +4 -0
@@ 6,5 6,9 @@
"usb": {
"pid": "0x1146",
"device_version": "1.0.0"
+ },
+ "backlight": {
+ "pin": "C6",
+ "levels": 7
}
}
M keyboards/keebio/levinson/rev2/config.h => keyboards/keebio/levinson/rev2/config.h +0 -4
@@ 34,7 34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D3
#define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }
-
-/* Backlight LEDs */
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 7
M keyboards/keebio/levinson/rev2/info.json => keyboards/keebio/levinson/rev2/info.json +4 -0
@@ 6,5 6,9 @@
"usb": {
"pid": "0x2146",
"device_version": "2.0.0"
+ },
+ "backlight": {
+ "pin": "B5",
+ "levels": 7
}
}
M keyboards/keebio/levinson/rev3/config.h => keyboards/keebio/levinson/rev3/config.h +0 -4
@@ 37,7 37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D7
#define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }
-
-/* Backlight LEDs */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 7
M keyboards/keebio/levinson/rev3/info.json => keyboards/keebio/levinson/rev3/info.json +4 -0
@@ 6,5 6,9 @@
"usb": {
"pid": "0x3146",
"device_version": "3.0.0"
+ },
+ "backlight": {
+ "pin": "B6",
+ "levels": 7
}
}
M keyboards/keebio/nyquist/rev2/config.h => keyboards/keebio/nyquist/rev2/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 12
#define RGBLED_SPLIT { 6, 6 }
-/* Backlight LEDs */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 7
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
M keyboards/keebio/nyquist/rev2/info.json => keyboards/keebio/nyquist/rev2/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x2156",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 7
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/nyquist/rev3/config.h => keyboards/keebio/nyquist/rev3/config.h +0 -4
@@ 45,10 45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 12
#define RGBLED_SPLIT { 6, 6 }
-/* Backlight LEDs */
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 7
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
M keyboards/keebio/nyquist/rev3/info.json => keyboards/keebio/nyquist/rev3/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x3156",
"device_version": "3.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 7
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/quefrency/rev2/config.h => keyboards/keebio/quefrency/rev2/config.h +0 -1
@@ 30,7 30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A_RIGHT { D6 }
#define ENCODERS_PAD_B_RIGHT { D4 }
-#define BACKLIGHT_PIN B5
#define CAPS_LOCK_LED_PIN B6
/* ws2812 RGB LED */
M keyboards/keebio/quefrency/rev2/info.json => keyboards/keebio/quefrency/rev2/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x2257",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "B5"
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/quefrency/rev3/config.h => keyboards/keebio/quefrency/rev3/config.h +0 -1
@@ 30,7 30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A_RIGHT { D6 }
#define ENCODERS_PAD_B_RIGHT { D4 }
-#define BACKLIGHT_PIN B5
#define CAPS_LOCK_LED_PIN B6
/* ws2812 RGB LED */
M keyboards/keebio/quefrency/rev3/info.json => keyboards/keebio/quefrency/rev3/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x3357",
"device_version": "3.1.0"
},
+ "backlight": {
+ "pin": "B5"
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/rorschach/rev1/config.h => keyboards/keebio/rorschach/rev1/config.h +0 -3
@@ 29,9 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 5
-
/* WS2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/keebio/rorschach/rev1/info.json => keyboards/keebio/rorschach/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1246",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 5
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/keebio/tragicforce68/config.h => keyboards/keebio/tragicforce68/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/keebio/tragicforce68/info.json => keyboards/keebio/tragicforce68/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0510",
"device_version": "1.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 7,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["68_ansi"],
M keyboards/keebio/viterbi/rev2/config.h => keyboards/keebio/viterbi/rev2/config.h +0 -4
@@ 34,7 34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D3
#define RGBLED_NUM 14
#define RGBLED_SPLIT { 7, 7 }
-
-/* Backlight LEDs */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 7
M keyboards/keebio/viterbi/rev2/info.json => keyboards/keebio/viterbi/rev2/info.json +4 -0
@@ 6,5 6,9 @@
"usb": {
"pid": "0x2157",
"device_version": "2.0.0"
+ },
+ "backlight": {
+ "pin": "B6",
+ "levels": 7
}
}
M keyboards/keebio/wavelet/config.h => keyboards/keebio/wavelet/config.h +0 -4
@@ 34,7 34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLED_NUM 12 // Number of LEDs
-
-/* Backlight LEDs */
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 7
M keyboards/keebio/wavelet/info.json => keyboards/keebio/wavelet/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1046",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 7
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_4x12"],
M keyboards/keebsforall/coarse60/config.h => keyboards/keebsforall/coarse60/config.h +0 -3
@@ 20,12 20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A9, A10, B12, A2, C13 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/keebsforall/coarse60/info.json => keyboards/keebsforall/coarse60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x5341",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B10",
"num_lock": "B2",
M keyboards/keebwerk/nano_slider/config.h => keyboards/keebwerk/nano_slider/config.h +0 -3
@@ 29,9 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN F6
#ifdef RGB_DI_PIN
# define RGBLED_NUM 4
M keyboards/keebwerk/nano_slider/info.json => keyboards/keebwerk/nano_slider/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/kegen/gboy/config.h => keyboards/kegen/gboy/config.h +0 -5
@@ 25,11 25,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 15
-#endif
-
#define RGB_DI_PIN D1
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/kegen/gboy/info.json => keyboards/kegen/gboy/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6762",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 15
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/kira75/config.h => keyboards/kira75/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/kira75/info.json => keyboards/kira75/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/kira80/config.h => keyboards/kira80/config.h +0 -3
@@ 23,6 23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_BREATHING
M keyboards/kira80/info.json => keyboards/kira80/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xC583",
"device_version": "1.0.2"
},
+ "backlight": {
+ "pin": "D4",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
M keyboards/kiwikey/wanderland/config.h => keyboards/kiwikey/wanderland/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN F7
#define RGBLED_NUM 18
#define RGBLIGHT_HUE_STEP 8
M keyboards/kiwikey/wanderland/info.json => keyboards/kiwikey/wanderland/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x574C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B6",
"num_lock": "C6",
M keyboards/kmac/info.json => keyboards/kmac/info.json +3 -0
@@ 7,6 7,9 @@
"pid": "0x4143",
"device_version": "1.0.4"
},
+ "backlight": {
+ "driver": "custom"
+ },
"indicators": {
"caps_lock": "B0",
"scroll_lock": "E6",
M keyboards/kmac/rules.mk => keyboards/kmac/rules.mk +0 -1
@@ 12,7 12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
CUSTOM_MATRIX = yes # Custom matrix file
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
AUDIO_ENABLE = no # Audio output
# Project specific files
M keyboards/kopibeng/xt65/config.h => keyboards/kopibeng/xt65/config.h +0 -3
@@ 33,9 33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B1
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN D5
#ifdef RGB_DI_PIN
#define RGBLED_NUM 12
M keyboards/kopibeng/xt65/info.json => keyboards/kopibeng/xt65/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0650",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B1",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
M keyboards/kprepublic/bm43a/config.h => keyboards/kprepublic/bm43a/config.h +0 -3
@@ 33,9 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
M keyboards/kprepublic/bm43a/info.json => keyboards/kprepublic/bm43a/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/kprepublic/cospad/config.h => keyboards/kprepublic/cospad/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN F7
-
#define RGB_DI_PIN F6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 4
M keyboards/kprepublic/cospad/info.json => keyboards/kprepublic/cospad/info.json +1 -0
@@ 9,6 9,7 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "F7",
"on_state": 0
},
"indicators": {
M keyboards/kprepublic/jj40/config.h => keyboards/kprepublic/jj40/config.h +0 -4
@@ 21,10 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 12
-#define BACKLIGHT_BREATHING
-
/* RGB underglow */
// NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0.
#define RGBLED_NUM 5
M keyboards/kprepublic/jj40/info.json => keyboards/kprepublic/jj40/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0040",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12,
+ "breathing": true
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/kprepublic/jj4x4/config.h => keyboards/kprepublic/jj4x4/config.h +0 -4
@@ 24,10 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 12
-#define BACKLIGHT_BREATHING
-
/* RGB underglow */
// NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0.
#define RGBLED_NUM 4
M keyboards/kprepublic/jj4x4/info.json => keyboards/kprepublic/jj4x4/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0044",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12,
+ "breathing": true
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["ortho_4x4"],
M keyboards/kprepublic/jj50/config.h => keyboards/kprepublic/jj50/config.h +0 -4
@@ 25,10 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 12
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#define RGBLED_NUM 12
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/kprepublic/jj50/info.json => keyboards/kprepublic/jj50/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0050",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12,
+ "breathing": true
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layout_aliases": {
M keyboards/ktec/daisy/config.h => keyboards/ktec/daisy/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D0
-#define BACKLIGHT_LEVELS 6
-
#define RGB_DI_PIN C7
#ifdef RGB_DI_PIN
# define RGBLED_NUM 8
M keyboards/ktec/daisy/info.json => keyboards/ktec/daisy/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xD7DC",
"device_version": "5.0.1"
},
+ "backlight": {
+ "pin": "D0",
+ "levels": 6
+ },
"indicators": {
"caps_lock": "C6",
"on_state": 0
M keyboards/ktec/staryu/config.h => keyboards/ktec/staryu/config.h +0 -2
@@ 29,5 29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_LIMIT_VAL 200
-
-#define BACKLIGHT_LEVELS 10
M keyboards/ktec/staryu/info.json => keyboards/ktec/staryu/info.json +2 -1
@@ 9,7 9,8 @@
"device_version": "2.0.5"
},
"backlight": {
- "pins": ["C2", "C7", "D5", "D6", "B0"]
+ "pins": ["C2", "C7", "D5", "D6", "B0"],
+ "levels": 10
},
"bootmagic": {
"matrix": [0, 1]
D keyboards/lazydesigners/dimple/staggered/rev3/config.h => keyboards/lazydesigners/dimple/staggered/rev3/config.h +0 -19
@@ 1,19 0,0 @@
-/* Copyright 2021 LAZYDESIGNERS
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#define BACKLIGHT_PIN B7
M keyboards/lazydesigners/dimple/staggered/rev3/info.json => keyboards/lazydesigners/dimple/staggered/rev3/info.json +3 -0
@@ 1,4 1,7 @@
{
+ "backlight": {
+ "pin": "B7"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [
M keyboards/lazydesigners/dimpleplus/config.h => keyboards/lazydesigners/dimpleplus/config.h +0 -2
@@ 23,8 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* RBG underglow */
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
M keyboards/lazydesigners/dimpleplus/info.json => keyboards/lazydesigners/dimpleplus/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0061",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lazydesigners/the30/config.h => keyboards/lazydesigners/the30/config.h +0 -2
@@ 24,5 24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
M keyboards/lazydesigners/the30/info.json => keyboards/lazydesigners/the30/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0030",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_3x10"],
M keyboards/lazydesigners/the40/config.h => keyboards/lazydesigners/the40/config.h +0 -3
@@ 23,9 23,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN C7
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
M keyboards/lazydesigners/the40/info.json => keyboards/lazydesigners/the40/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0042",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lazydesigners/the50/config.h => keyboards/lazydesigners/the50/config.h +0 -5
@@ 8,11 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 6
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/lazydesigners/the50/info.json => keyboards/lazydesigners/the50/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0050",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lazydesigners/the60/rev1/config.h => keyboards/lazydesigners/the60/rev1/config.h +0 -5
@@ 8,11 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 6
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/lazydesigners/the60/rev1/info.json => keyboards/lazydesigners/the60/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lazydesigners/the60/rev2/config.h => keyboards/lazydesigners/the60/rev2/config.h +0 -4
@@ 23,10 23,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN D1
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
M keyboards/lazydesigners/the60/rev2/info.json => keyboards/lazydesigners/the60/rev2/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0062",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lfkeyboards/lfk65_hs/config.h => keyboards/lfkeyboards/lfk65_hs/config.h +0 -1
@@ 6,7 6,6 @@
#define MATRIX_COL_PINS {E6, F4, B7, D5, D3, D2, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4}
#define RGBLED_NUM 20 // Number of LEDs
-#define BACKLIGHT_LEVELS 8
#define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255}
#define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile
M keyboards/lfkeyboards/lfk65_hs/info.json => keyboards/lfkeyboards/lfk65_hs/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6064",
"device_version": "0.0.1"
},
+ "backlight": {
+ "levels": 8
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lfkeyboards/lfk78/config.h => keyboards/lfkeyboards/lfk78/config.h +0 -1
@@ 21,7 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_LEVELS 8
#define BACKLIGHT_PWM_MAP { 8, 16, 40, 55, 70, 128, 200, 255 }
#define TAPPING_TERM 200
M keyboards/lfkeyboards/lfk78/revb/info.json => keyboards/lfkeyboards/lfk78/revb/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x3738",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 8
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lfkeyboards/lfk78/revc/info.json => keyboards/lfkeyboards/lfk78/revc/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x3738",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 8
+ },
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lfkeyboards/lfk78/revj/info.json => keyboards/lfkeyboards/lfk78/revj/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x3738",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 8
+ },
"processor": "at90usb646",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/lfkeyboards/lfk78/rules.mk => keyboards/lfkeyboards/lfk78/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lfkeyboards, not qmk base
M keyboards/lfkeyboards/lfk87/config.h => keyboards/lfkeyboards/lfk87/config.h +0 -1
@@ 40,7 40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_VOICES
#define AUDIO_PIN C6
-#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255}
#define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile
M keyboards/lfkeyboards/lfk87/info.json => keyboards/lfkeyboards/lfk87/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 10
+ },
"community_layouts": ["tkl_ansi", "tkl_iso"],
"layouts": {
"LAYOUT_tkl_ansi": {
M keyboards/lfkeyboards/lfk87/rules.mk => keyboards/lfkeyboards/lfk87/rules.mk +0 -1
@@ 22,7 22,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = custom
AUDIO_ENABLE = yes # Audio output
RGBLIGHT_ENABLE = yes # Enable RGB underlight
RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not WS2812
M keyboards/lfkeyboards/mini1800/config.h => keyboards/lfkeyboards/mini1800/config.h +0 -1
@@ 28,7 28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_VOICES
#define AUDIO_PIN C6
-#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255}
#define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile
M keyboards/lfkeyboards/mini1800/info.json => keyboards/lfkeyboards/mini1800/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 10
+ },
"layouts": {
"LAYOUT": {
"layout": [
M keyboards/lfkeyboards/mini1800/mini1800.c => keyboards/lfkeyboards/mini1800/mini1800.c +0 -1
@@ 9,7 9,6 @@
#include "lighting.h"
#include "debug.h"
-#define BACKLIGHT_BREATHING
#include "quantum.h"
uint16_t click_hz = CLICK_HZ;
M keyboards/lfkeyboards/mini1800/reva/rules.mk => keyboards/lfkeyboards/mini1800/reva/rules.mk +0 -1
@@ 13,7 13,6 @@ AUDIO_ENABLE = yes # Audio output
# RGB code is implemented in lfkeyboards, not WS2812
RGBLIGHT_CUSTOM_DRIVER = yes
-BACKLIGHT_DRIVER = custom
SLEEP_LED_ENABLE = yes
ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
M keyboards/lfkeyboards/mini1800/revc/rules.mk => keyboards/lfkeyboards/mini1800/revc/rules.mk +0 -1
@@ 13,7 13,6 @@ AUDIO_ENABLE = yes # Audio output
# RGB code is implemented in lfkeyboards, not WS2812
RGBLIGHT_CUSTOM_DRIVER = yes
-BACKLIGHT_DRIVER = custom
SLEEP_LED_ENABLE = yes
ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
M keyboards/lfkeyboards/smk65/revb/config.h => keyboards/lfkeyboards/smk65/revb/config.h +0 -1
@@ 31,7 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_VOICES
#define AUDIO_PIN C6
-#define BACKLIGHT_LEVELS 8
#define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255}
#define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile
M keyboards/lfkeyboards/smk65/revb/info.json => keyboards/lfkeyboards/smk65/revb/info.json +3 -0
@@ 2,6 2,9 @@
"usb": {
"pid": "0x565B"
},
+ "backlight": {
+ "levels": 8
+ },
"processor": "at90usb646",
"bootloader": "atmel-dfu"
}
M keyboards/linworks/dolice/config.h => keyboards/linworks/dolice/config.h +0 -4
@@ 23,7 23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-/* Backlight */
-#define BACKLIGHT_PIN B5 // Timer 1 on mega32u4
-#define BACKLIGHT_BREATHING
M keyboards/linworks/dolice/info.json => keyboards/linworks/dolice/info.json +4 -0
@@ 7,6 7,10 @@
"pid": "0x0005",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "C7",
"num_lock": "B6",
M keyboards/linworks/fave104/config.h => keyboards/linworks/fave104/config.h +0 -4
@@ 24,11 24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-/* Backlight */
-#define BACKLIGHT_PIN A1
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD2
#define BACKLIGHT_PWM_CHANNEL 2
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
M keyboards/linworks/fave104/info.json => keyboards/linworks/fave104/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x000A",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A1",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B5",
"num_lock": "B6",
M keyboards/linworks/fave87/config.h => keyboards/linworks/fave87/config.h +0 -4
@@ 24,10 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-/* Backlight */
-#define BACKLIGHT_PIN B7 // Timer 1 on mega32u4
-#define BACKLIGHT_BREATHING
-
/* Underglow */
#define RGB_DI_PIN E2
#define RGBLED_NUM 40
M keyboards/linworks/fave87/info.json => keyboards/linworks/fave87/info.json +4 -0
@@ 7,6 7,10 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi", "tkl_iso"],
M keyboards/linworks/whale75/config.h => keyboards/linworks/whale75/config.h +0 -4
@@ 24,13 24,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Backlight */
-#define BACKLIGHT_PIN A10
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 6
-#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
/* Underglow */
M keyboards/linworks/whale75/info.json => keyboards/linworks/whale75/info.json +5 -0
@@ 7,6 7,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A10",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A9",
"num_lock": "A8",
M keyboards/lz/erghost/config.h => keyboards/lz/erghost/config.h +0 -3
@@ 37,9 37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN E2
#define RGBLED_NUM 28
M keyboards/lz/erghost/info.json => keyboards/lz/erghost/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "D6",
"num_lock": "D7",
M keyboards/m10a/config.h => keyboards/m10a/config.h +0 -4
@@ 23,13 23,9 @@
#define MATRIX_ROW_PINS { B6, F7, F6, D6 }
#define MATRIX_COL_PINS { F5, F1, F0 }
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_LEVELS 6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/m10a/info.json => keyboards/m10a/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x00AA",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/machkeyboards/mach3/config.h => keyboards/machkeyboards/mach3/config.h +0 -5
@@ 23,8 23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-/* backlight */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
M keyboards/machkeyboards/mach3/info.json => keyboards/machkeyboards/mach3/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x4D33",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
M keyboards/machkeyboards/mach3/rules.mk => keyboards/machkeyboards/mach3/rules.mk +0 -1
@@ 11,4 11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
UNICODE_ENABLE = yes
-BACKLIGHT_DRIVER = pwm>
\ No newline at end of file
M keyboards/maple_computing/christmas_tree/config.h => keyboards/maple_computing/christmas_tree/config.h +0 -2
@@ 22,8 22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 }
#define MATRIX_COL_PINS { D1 }
-#define BACKLIGHT_PIN D2
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/maple_computing/christmas_tree/info.json => keyboards/maple_computing/christmas_tree/info.json +3 -0
@@ 7,6 7,9 @@
"vid": "0xFEED",
"pid": "0x3070"
},
+ "backlight": {
+ "pin": "D2"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
M keyboards/maple_computing/ivy/config.h => keyboards/maple_computing/ivy/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN D2
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
M keyboards/maple_computing/ivy/rev1/info.json => keyboards/maple_computing/ivy/rev1/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6012",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D2"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
M keyboards/maple_computing/jnao/config.h => keyboards/maple_computing/jnao/config.h +0 -2
@@ 21,8 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { E6, F0, F5, F6, F7 }
#define MATRIX_COL_PINS { F1, F4, B1, B2, B3, B7, D1, D2, D4, D6, D7, B4 }
-#define BACKLIGHT_PIN D0
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/maple_computing/jnao/info.json => keyboards/maple_computing/jnao/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6017",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D0"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x12", "ortho_4x12"],
M keyboards/maple_computing/lets_split_eh/eh/config.h => keyboards/maple_computing/lets_split_eh/eh/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* ws2812 RGB LED */
#define RGB_DI_PIN B2
#define RGBLED_NUM 12 // Number of LEDs (each hand)
M keyboards/maple_computing/lets_split_eh/eh/info.json => keyboards/maple_computing/lets_split_eh/eh/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xE401",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B7"
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/massdrop/thekey/config.h => keyboards/massdrop/thekey/config.h +0 -2
@@ 25,8 25,6 @@
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN B1
#define RGBLED_NUM 2
#define RGBLIGHT_HUE_STEP 8
M keyboards/massdrop/thekey/info.json => keyboards/massdrop/thekey/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/mechbrewery/mb65s/config.h => keyboards/mechbrewery/mb65s/config.h +0 -2
@@ 24,8 24,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/mechkeys/acr60/config.h => keyboards/mechkeys/acr60/config.h +0 -3
@@ 24,9 24,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/mechkeys/acr60/info.json => keyboards/mechkeys/acr60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xCA60",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/mechkeys/alu84/config.h => keyboards/mechkeys/alu84/config.h +0 -3
@@ 33,9 33,6 @@
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#if defined(RGBLIGHT_ENABLE)
# define RGBLED_NUM 16
M keyboards/mechkeys/alu84/info.json => keyboards/mechkeys/alu84/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xCA75",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
M keyboards/mechkeys/espectro/config.h => keyboards/mechkeys/espectro/config.h +0 -3
@@ 24,9 24,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/mechkeys/espectro/info.json => keyboards/mechkeys/espectro/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xCA96",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "B2",
"num_lock": "B0",
M keyboards/mechkeys/mechmini/v1/config.h => keyboards/mechkeys/mechmini/v1/config.h +0 -2
@@ 22,8 22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
/* RGB underglow */
// The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards.
// The same pin is used on the JJ40, at least.
M keyboards/mechkeys/mechmini/v1/info.json => keyboards/mechkeys/mechmini/v1/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xCA40",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layouts": {
M keyboards/mechkeys/mechmini/v2/config.h => keyboards/mechkeys/mechmini/v2/config.h +0 -2
@@ 23,8 23,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/mechkeys/mechmini/v2/info.json => keyboards/mechkeys/mechmini/v2/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xCA40",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/mechkeys/mk60/config.h => keyboards/mechkeys/mk60/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 6
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 12
M keyboards/mechkeys/mk60/info.json => keyboards/mechkeys/mk60/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B7",
"on_state": 0
M keyboards/mechlovin/adelais/standard_led/arm/config.h => keyboards/mechlovin/adelais/standard_led/arm/config.h +0 -2
@@ 23,8 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B0
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
M keyboards/mechlovin/adelais/standard_led/arm/info.json => keyboards/mechlovin/adelais/standard_led/arm/info.json +4 -0
@@ 1,5 1,9 @@
{
"keyboard_name": "Adelais",
+ "backlight": {
+ "pin": "B0",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B2",
"num_lock": "C15",
M keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h => keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h +0 -3
@@ 31,9 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#define RGBLED_NUM 23
#define RGBLIGHT_LIMIT_VAL 255
M keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json => keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json +4 -0
@@ 3,6 3,10 @@
"usb": {
"pid": "0xAD04"
},
+ "backlight": {
+ "pin": "B5",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"indicators": {
M keyboards/mechlovin/delphine/mono_led/config.h => keyboards/mechlovin/delphine/mono_led/config.h +0 -4
@@ 1,10 1,6 @@
#pragma once
-#ifdef BACKLIGHT_ENABLE
-#define BACKLIGHT_PIN B6
-#endif
-
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN E2
#define RGBLED_NUM 13
M keyboards/mechlovin/delphine/mono_led/info.json => keyboards/mechlovin/delphine/mono_led/info.json +3 -0
@@ 2,5 2,8 @@
"usb": {
"pid": "0xDEF1",
"device_version": "0.0.1"
+ },
+ "backlight": {
+ "pin": "B6"
}
}
M keyboards/mechlovin/hannah65/config.h => keyboards/mechlovin/hannah65/config.h +0 -2
@@ 33,7 33,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B8
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD4
#define BACKLIGHT_PWM_CHANNEL 3
M keyboards/mechlovin/hannah65/info.json => keyboards/mechlovin/hannah65/info.json +4 -0
@@ 1,4 1,8 @@
{
+ "backlight": {
+ "pin": "B8",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B9",
"on_state": 0
M keyboards/mechlovin/hannah910/config.h => keyboards/mechlovin/hannah910/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#define RGBLIGHT_LIMIT_VAL 255
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/mechlovin/hannah910/rev1/info.json => keyboards/mechlovin/hannah910/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x9101",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/mechlovin/hannah910/rev2/info.json => keyboards/mechlovin/hannah910/rev2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x9102",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker", "65_iso_blocker_split_bs"],
M keyboards/mechlovin/hannah910/rev3/info.json => keyboards/mechlovin/hannah910/rev3/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x9103",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi"],
M keyboards/mechlovin/hex4b/rev1/config.h => keyboards/mechlovin/hex4b/rev1/config.h +0 -4
@@ 31,7 31,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B7, A2, A1, A3, A4, A5 }
#define MATRIX_COL_PINS { B6, B5, B3, B2, B1, B0, A0, A6, A7, C7, C6, C5, C4, D1, D0 }
-
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 5
-#define BACKLIGHT_BREATHING
M keyboards/mechlovin/hex4b/rev1/info.json => keyboards/mechlovin/hex4b/rev1/info.json +5 -0
@@ 3,6 3,11 @@
"usb": {
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "D7",
"num_lock": "D6",
M keyboards/mechlovin/hex4b/rev2/config.h => keyboards/mechlovin/hex4b/rev2/config.h +0 -3
@@ 32,7 32,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A4, B12, B13, B14, B15, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A3, C13, B7, B6, B5, B4, B3 }
-#define BACKLIGHT_PIN B8
-#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_PWM_DRIVER PWMD4
-#define BACKLIGHT_BREATHING
M keyboards/mechlovin/hex4b/rev2/info.json => keyboards/mechlovin/hex4b/rev2/info.json +5 -0
@@ 3,6 3,11 @@
"usb": {
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B8",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B9",
"num_lock": "C15",
M keyboards/mechlovin/hex6c/config.h => keyboards/mechlovin/hex6c/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B0
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
M keyboards/mechlovin/hex6c/info.json => keyboards/mechlovin/hex6c/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6C01",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B0",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A4",
"num_lock": "A3",
M keyboards/mechlovin/infinity87/rev1/config.h => keyboards/mechlovin/infinity87/rev1/config.h +0 -2
@@ 19,8 19,6 @@
#define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 }
#define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7, B1, B2, B10, B3, B14, B15 }
-#define BACKLIGHT_PIN B0
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
M keyboards/mechlovin/infinity87/rev1/info.json => keyboards/mechlovin/infinity87/rev1/info.json +4 -0
@@ 1,4 1,8 @@
{
+ "backlight": {
+ "pin": "B0",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A4",
"scroll_lock": "A8"
M keyboards/mechlovin/infinity87/rev2/config.h => keyboards/mechlovin/infinity87/rev2/config.h +0 -3
@@ 34,9 34,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN E2
#define RGBLED_NUM 24
M keyboards/mechlovin/infinity87/rev2/info.json => keyboards/mechlovin/infinity87/rev2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x8702",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "D6",
"num_lock": "D7",
M keyboards/mechlovin/infinity88/config.h => keyboards/mechlovin/infinity88/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B0
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
M keyboards/mechlovin/infinity88/info.json => keyboards/mechlovin/infinity88/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x8802",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B0",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A4",
"num_lock": "A3"
M keyboards/mechlovin/infinityce/config.h => keyboards/mechlovin/infinityce/config.h +0 -3
@@ 24,9 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#define RGBLED_NUM 31
#define RGBLIGHT_LIMIT_VAL 255
M keyboards/mechlovin/infinityce/info.json => keyboards/mechlovin/infinityce/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x8801",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/mechlovin/kanu/config.h => keyboards/mechlovin/kanu/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#define RGBLED_NUM 6
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/mechlovin/kanu/info.json => keyboards/mechlovin/kanu/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4B4E",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker", "65_iso_blocker_split_bs", "65_iso_blocker"],
M keyboards/mechlovin/mechlovin9/rev1/config.h => keyboards/mechlovin/mechlovin9/rev1/config.h +1 -3
@@ 30,7 30,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 }
-#define BACKLIGHT_PIN B8
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
-#define BACKLIGHT_PWM_CHANNEL 3>
\ No newline at end of file
+#define BACKLIGHT_PWM_CHANNEL 3
M keyboards/mechlovin/mechlovin9/rev1/info.json => keyboards/mechlovin/mechlovin9/rev1/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x6509",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B8",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B9"
},
M keyboards/mechlovin/mechlovin9/rev2/config.h => keyboards/mechlovin/mechlovin9/rev2/config.h +0 -3
@@ 29,6 29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 }
#define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 }
-
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_BREATHING
M keyboards/mechlovin/mechlovin9/rev2/info.json => keyboards/mechlovin/mechlovin9/rev2/info.json +4 -0
@@ 4,6 4,10 @@
"pid": "0x6509",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "D4",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A7"
},
M keyboards/mechlovin/olly/bb/config.h => keyboards/mechlovin/olly/bb/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define MATRIX_ROW_PINS {D6, A5, A4, A3, A6}
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_BREATHING
-
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN B3
#define RGBLED_NUM 24
M keyboards/mechlovin/olly/bb/info.json => keyboards/mechlovin/olly/bb/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xD181",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B0",
"num_lock": "B1",
M keyboards/mechlovin/olly/jf/config.h => keyboards/mechlovin/olly/jf/config.h +0 -3
@@ 37,9 37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B3
#define RGBLED_NUM 27
#define RGBLIGHT_LIMIT_VAL 255
M keyboards/mechlovin/olly/jf/info.json => keyboards/mechlovin/olly/jf/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xD180",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B0",
"num_lock": "B1",
M keyboards/mechlovin/pisces/config.h => keyboards/mechlovin/pisces/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 12
M keyboards/mechlovin/pisces/info.json => keyboards/mechlovin/pisces/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6501",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "B2"
},
M keyboards/mechlovin/serratus/config.h => keyboards/mechlovin/serratus/config.h +0 -3
@@ 38,9 38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN E2
#define RGBLED_NUM 24
M keyboards/mechlovin/serratus/info.json => keyboards/mechlovin/serratus/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0870",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "D6",
"num_lock": "D7",
M keyboards/mechlovin/tmkl/config.h => keyboards/mechlovin/tmkl/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B8
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
M keyboards/mechlovin/tmkl/info.json => keyboards/mechlovin/tmkl/info.json +4 -0
@@ 7,6 7,10 @@
"pid": "0xC601",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B8",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B9"
},
M keyboards/mehkee96/config.h => keyboards/mehkee96/config.h +0 -2
@@ 5,8 5,6 @@
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 18
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/mehkee96/info.json => keyboards/mehkee96/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0"
M keyboards/melgeek/mj6xy/rev3/config.h => keyboards/melgeek/mj6xy/rev3/config.h +0 -6
@@ 22,14 22,8 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define RGB_DI_PIN C6
-#ifdef BACKLIGHT_PIN
-# define BACKLIGHT_LEVELS 10
-#endif
-
#ifdef RGB_DI_PIN
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
A keyboards/melgeek/mj6xy/rev3/info.json => keyboards/melgeek/mj6xy/rev3/info.json +7 -0
@@ 0,0 1,7 @@
+{
+ "backlight": {
+ "driver": "software",
+ "pin": "B7",
+ "levels": 10
+ }
+}
M keyboards/melgeek/mj6xy/rev3/rules.mk => keyboards/melgeek/mj6xy/rev3/rules.mk +0 -1
@@ 10,4 10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-BACKLIGHT_DRIVER = software
M keyboards/meme/config.h => keyboards/meme/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/meme/info.json => keyboards/meme/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/merge/iso_macro/config.h => keyboards/merge/iso_macro/config.h +0 -1
@@ 19,7 19,6 @@
#define MATRIX_ROW_PINS { F4, F5, F6}
#define MATRIX_COL_PINS { B4, B5, B6}
-#define BACKLIGHT_PIN B7
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/merge/iso_macro/info.json => keyboards/merge/iso_macro/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x1200",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/merge/uma/config.h => keyboards/merge/uma/config.h +0 -2
@@ 19,8 19,6 @@
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4 }
-#define BACKLIGHT_PIN C6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/merge/uma/info.json => keyboards/merge/uma/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x3232",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6"
+ },
"split": {
"soft_serial_pin": "D2"
},
M keyboards/metamechs/timberwolf/config.h => keyboards/metamechs/timberwolf/config.h +0 -4
@@ 44,10 44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Reverse encoder direction */
// #define ENCODER_DIRECTION_FLIP
-/* Backlighting code used for caps lock indicator */
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_LEVELS 16
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
M keyboards/metamechs/timberwolf/info.json => keyboards/metamechs/timberwolf/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x5754",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 16
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/metamechs/timberwolf/rules.mk => keyboards/metamechs/timberwolf/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes # Enable encoder support
LTO_ENABLE = yes
-
-BACKLIGHT_DRIVER = pwm
M keyboards/mntre/config.h => keyboards/mntre/config.h +0 -1
@@ 20,7 20,6 @@
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
#define BACKLIGHT_CUSTOM_RESOLUTION 0x400
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
M keyboards/mntre/info.json => keyboards/mntre/info.json +1 -0
@@ 9,6 9,7 @@
"device_version": "0.0.2"
},
"backlight": {
+ "pin": "B7",
"max_brightness": 84
},
"processor": "atmega32u4",
M keyboards/mntre/rules.mk => keyboards/mntre/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
OLED_ENABLE = yes
-BACKLIGHT_DRIVER = pwm
-
M keyboards/mode/m75s/config.h => keyboards/mode/m75s/config.h +0 -3
@@ 28,9 28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_CAPS_LOCK
#define BACKLIGHT_DEFAULT_LEVEL 20
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
M keyboards/mode/m75s/info.json => keyboards/mode/m75s/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x7583",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 20,
+ "as_caps_lock": true
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"layouts": {
D keyboards/mokey/ginkgo65/config.h => keyboards/mokey/ginkgo65/config.h +0 -5
@@ 1,5 0,0 @@
-// Copyright 2023 QMK
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-#define BACKLIGHT_CAPS_LOCK
M keyboards/mokey/ginkgo65/info.json => keyboards/mokey/ginkgo65/info.json +2 -1
@@ 18,7 18,8 @@
"backlight": {
"pin": "B6",
"levels": 6,
- "breathing": true
+ "breathing": true,
+ "as_caps_lock": true
},
"layout_aliases": {
"LAYOUT": "LAYOUT_65_ansi_blocker"
M keyboards/mokey/ginkgo65hot/config.h => keyboards/mokey/ginkgo65hot/config.h +0 -5
@@ 17,8 17,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B0, B1, B2, B3, F7 }
#define MATRIX_COL_PINS { C7, F6, F5, F4, F1, E6, D0, D1, D2, D3, D5, D4, D6, D7, B4 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_CAPS_LOCK
-#define BACKLIGHT_BREATHING
M keyboards/mokey/ginkgo65hot/info.json => keyboards/mokey/ginkgo65hot/info.json +6 -0
@@ 8,6 8,12 @@
"pid": "0x3366",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6,
+ "breathing": true,
+ "as_caps_lock": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
M keyboards/monarch/config.h => keyboards/monarch/config.h +0 -4
@@ 26,13 26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_B { B5 }
#define ENCODER_RESOLUTION 1
-//LEDS A6
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 24
-#define BACKLIGHT_BREATHING
#define SLEEP_LED_GPT_DRIVER GPTD1
M keyboards/monarch/info.json => keyboards/monarch/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x43C1",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 24,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/monarch/rules.mk => keyboards/monarch/rules.mk +0 -2
@@ 13,7 13,5 @@ AUDIO_ENABLE = no # Audio output
SLEEP_LED_ENABLE = yes
ENCODER_ENABLE = yes
-BACKLIGHT_DRIVER = pwm
-
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
M keyboards/monstargear/xo87/solderable/config.h => keyboards/monstargear/xo87/solderable/config.h +0 -2
@@ 19,8 19,6 @@
#define brightnessMax 8
-#define BACKLIGHT_PIN F0
-
#define MATRIX_ROW_PINS { E6,E7,E3,B0,B1,A2}
#define MATRIX_COL_PINS { C5,C3,C1,E1,D6,D2,B7,B3,F6,F7,F3,A5,A1,E2,C7,A6 }
M keyboards/monstargear/xo87/solderable/info.json => keyboards/monstargear/xo87/solderable/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x5344",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "pin": "F0"
+ },
"processor": "at90usb646",
"bootloader": "lufa-dfu",
"layouts": {
M keyboards/monstargear/xo87/solderable/rules.mk => keyboards/monstargear/xo87/solderable/rules.mk +0 -1
@@ 10,4 10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-BACKLIGHT_DRIVER = custom
M keyboards/moon/config.h => keyboards/moon/config.h +0 -3
@@ 22,9 22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 8
#define MATRIX_COLS 11
-/* Backlight */
-#define BACKLIGHT_PIN C6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/moon/info.json => keyboards/moon/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xFCB8",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6"
+ },
"indicators": {
"caps_lock": "B5",
"scroll_lock": "B6"
M keyboards/mt/blocked65/config.h => keyboards/mt/blocked65/config.h +0 -3
@@ 26,9 26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/mt/blocked65/info.json => keyboards/mt/blocked65/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker"],
M keyboards/mt/mt40/config.h => keyboards/mt/mt40/config.h +0 -2
@@ 52,8 52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D2
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
/* #define LOCKING_SUPPORT_ENABLE */
/* Locking resynchronize hack */
M keyboards/mt/mt40/info.json => keyboards/mt/mt40/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D2"
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["planck_mit"],
M keyboards/mt/mt980/config.h => keyboards/mt/mt980/config.h +0 -2
@@ 8,8 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/mt/mt980/info.json => keyboards/mt/mt980/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "C7",
"num_lock": "C6",
M keyboards/mt/ncr80/solder/config.h => keyboards/mt/ncr80/solder/config.h +0 -4
@@ 31,7 31,3 @@
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
#define DIODE_DIRECTION ROW2COL
-
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-
M keyboards/mt/ncr80/solder/info.json => keyboards/mt/ncr80/solder/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x2001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "C6",
"num_lock": "B5",
M keyboards/mt/split75/config.h => keyboards/mt/split75/config.h +0 -2
@@ 20,6 20,4 @@
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_SLEEP
-#define BACKLIGHT_PIN D4
-
#define I2C_START_RETRY_COUNT 1
M keyboards/mt/split75/info.json => keyboards/mt/split75/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/ncc1701kb/config.h => keyboards/ncc1701kb/config.h +0 -4
@@ 22,10 22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D4, D6, D7 }
#define MATRIX_COL_PINS { B4, B5, B6 }
-/* BackLight */
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/*Encoders */
#define ENCODERS_PAD_A { D0 }
#define ENCODERS_PAD_B { D1 }
M keyboards/ncc1701kb/info.json => keyboards/ncc1701kb/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1701",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/neito/config.h => keyboards/neito/config.h +0 -3
@@ 23,9 23,6 @@
#define ENCODERS_PAD_B { B0 }
#define ENCODER_RESOLUTION 4
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 5
-
#define GRAVE_ESC_CTRL_OVERRIDE
/* RGB Light Configuration */
M keyboards/neito/info.json => keyboards/neito/info.json +2 -0
@@ 9,6 9,8 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "B5",
+ "levels": 5,
"on_state": 0
},
"indicators": {
M keyboards/neokeys/g67/soldered/config.h => keyboards/neokeys/g67/soldered/config.h +0 -4
@@ 32,10 32,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 10
-
#if defined(RGBLIGHT_ENABLE)
#define RGB_DI_PIN F0
#define RGBLED_NUM 18
M keyboards/neokeys/g67/soldered/info.json => keyboards/neokeys/g67/soldered/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x5053",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 10,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi", "65_ansi_blocker", "65_ansi_blocker_tsangan", "65_iso", "65_iso_blocker"],
M keyboards/nix_studio/oxalys80/config.h => keyboards/nix_studio/oxalys80/config.h +0 -2
@@ 33,8 33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/nix_studio/oxalys80/info.json => keyboards/nix_studio/oxalys80/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x3830",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "E6",
"scroll_lock": "B2",
M keyboards/nopunin10did/jabberwocky/v2/config.h => keyboards/nopunin10did/jabberwocky/v2/config.h +0 -2
@@ 21,8 21,6 @@
#define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 }
#define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 }
-#define BACKLIGHT_LEVELS 6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/nopunin10did/jabberwocky/v2/info.json => keyboards/nopunin10did/jabberwocky/v2/info.json +3 -1
@@ 9,7 9,9 @@
"device_version": "0.2.0"
},
"backlight": {
- "pins": ["D6"]
+ "driver": "software",
+ "pins": ["D6"],
+ "levels": 6
},
"indicators": {
"caps_lock": "B7",
M keyboards/nopunin10did/jabberwocky/v2/rules.mk => keyboards/nopunin10did/jabberwocky/v2/rules.mk +0 -1
@@ 8,6 8,5 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = software # Software-driven backlight driver
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
M keyboards/novelkeys/novelpad/config.h => keyboards/novelkeys/novelpad/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 10
-
#define RGB_DI_PIN D3
#ifdef RGB_DI_PIN
#define RGBLED_NUM 4
M keyboards/novelkeys/novelpad/info.json => keyboards/novelkeys/novelpad/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6070",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 10
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x4"],
M keyboards/noxary/220/config.h => keyboards/noxary/220/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/noxary/220/info.json => keyboards/noxary/220/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0899",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_6x4"],
M keyboards/noxary/260/config.h => keyboards/noxary/260/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/noxary/260/info.json => keyboards/noxary/260/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0A29",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B1",
"on_state": 0
M keyboards/noxary/268/config.h => keyboards/noxary/268/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/noxary/268/info.json => keyboards/noxary/268/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0A79",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/noxary/268_2/config.h => keyboards/noxary/268_2/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/noxary/268_2/info.json => keyboards/noxary/268_2/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0A7A",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker"],
M keyboards/noxary/268_2_rgb/config.h => keyboards/noxary/268_2_rgb/config.h +0 -2
@@ 31,8 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* ws2812b options */
#define RGB_DI_PIN B5
#ifdef RGB_DI_PIN
M keyboards/noxary/268_2_rgb/info.json => keyboards/noxary/268_2_rgb/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0A7C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "B0"
},
M keyboards/noxary/280/config.h => keyboards/noxary/280/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/noxary/280/info.json => keyboards/noxary/280/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0AF1",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/noxary/x268/config.h => keyboards/noxary/x268/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* ws2812b options */
#define RGB_DI_PIN B5
#ifdef RGB_DI_PIN
M keyboards/noxary/x268/info.json => keyboards/noxary/x268/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0A7B",
"device_version": "0.7.8"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/oddforge/vea/config.h => keyboards/oddforge/vea/config.h +0 -2
@@ 39,5 39,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_SLEEP
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9
-
-#define BACKLIGHT_PIN D4
M keyboards/oddforge/vea/info.json => keyboards/oddforge/vea/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4155",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/ok60/config.h => keyboards/ok60/config.h +0 -4
@@ 31,13 31,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 }
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 }
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/ok60/info.json => keyboards/ok60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_iso", "60_hhkb"],
M keyboards/omkbd/ergodash/mini/config.h => keyboards/omkbd/ergodash/mini/config.h +0 -5
@@ 31,11 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_PIN C6
-#ifdef BACKLIGHT_ENABLE
- #define BACKLIGHT_PIN B6
- #define BACKLIGHT_LEVELS 7
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/omkbd/ergodash/mini/info.json => keyboards/omkbd/ergodash/mini/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 7
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/omkbd/ergodash/rev1/config.h => keyboards/omkbd/ergodash/rev1/config.h +0 -5
@@ 31,11 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_PIN C6
-#ifdef BACKLIGHT_ENABLE
- #define BACKLIGHT_PIN B6
- #define BACKLIGHT_LEVELS 7
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/omkbd/ergodash/rev1/info.json => keyboards/omkbd/ergodash/rev1/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 7
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/orange75/config.h => keyboards/orange75/config.h +0 -2
@@ 7,8 7,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/orange75/info.json => keyboards/orange75/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/org60/config.h => keyboards/org60/config.h +0 -4
@@ 31,10 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }
-/* Backlight Setup */
-#define BACKLIGHT_PIN F5
-#define BACKLIGHT_LEVELS 6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/org60/info.json => keyboards/org60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "F5",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi"],
M keyboards/panc60/config.h => keyboards/panc60/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/panc60/info.json => keyboards/panc60/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/pearl/config.h => keyboards/pearl/config.h +0 -2
@@ 29,8 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 12
-#define BACKLIGHT_PIN D4
-
#define MATRIX_ROW_PINS { B0, B1, B2, B3 }
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3}
M keyboards/pearl/info.json => keyboards/pearl/info.json +3 -0
@@ 7,6 7,9 @@
"pid": "0x0348",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/percent/booster/config.h => keyboards/percent/booster/config.h +0 -2
@@ 21,8 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D1, D6, D7, B4, B5 }
#define MATRIX_COL_PINS { C7, D4, D2, D0 }
-#define BACKLIGHT_PIN B7
-
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN E2
M keyboards/percent/booster/info.json => keyboards/percent/booster/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4253",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["numpad_5x4"],
M keyboards/percent/canoe/config.h => keyboards/percent/canoe/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/percent/canoe/info.json => keyboards/percent/canoe/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x434E",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/percent/skog/config.h => keyboards/percent/skog/config.h +0 -3
@@ 32,6 32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 5
M keyboards/percent/skog/info.json => keyboards/percent/skog/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
M keyboards/percent/skog_lite/config.h => keyboards/percent/skog_lite/config.h +0 -2
@@ 26,8 26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/percent/skog_lite/info.json => keyboards/percent/skog_lite/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
M keyboards/planck/config.h => keyboards/planck/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_VOICES
#define AUDIO_PIN C6
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/planck/light/config.h => keyboards/planck/light/config.h +0 -4
@@ 12,10 12,6 @@
#define AUDIO_PIN C6
#define AUDIO_PIN_ALT B5
-#undef BACKLIGHT_PIN
-
-#define BACKLIGHT_PIN A5
-
#define NO_USB_STARTUP_CHECK
#define PLANCK_MIT_LAYOUT
M keyboards/planck/light/info.json => keyboards/planck/light/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xBEA2",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A5"
+ },
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/planck/rev1/info.json => keyboards/planck/rev1/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xAE01",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/planck/rev2/info.json => keyboards/planck/rev2/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xAE01",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/planck/rev3/info.json => keyboards/planck/rev3/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xAE01",
"device_version": "0.0.3"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/planck/rev4/info.json => keyboards/planck/rev4/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xAE01",
"device_version": "0.0.4"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],
M keyboards/planck/rev5/info.json => keyboards/planck/rev5/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0xAE01",
"device_version": "0.0.5"
},
+ "backlight": {
+ "pin": "B7"
+ },
"qmk_lufa_bootloader": {
"esc_input": "D5",
"esc_output": "F1",
M keyboards/playkbtw/ca66/config.h => keyboards/playkbtw/ca66/config.h +0 -2
@@ 8,8 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN F0
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/playkbtw/ca66/info.json => keyboards/playkbtw/ca66/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "F0"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/playkbtw/helen80/config.h => keyboards/playkbtw/helen80/config.h +0 -2
@@ 32,8 32,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 87
M keyboards/playkbtw/pk60/config.h => keyboards/playkbtw/pk60/config.h +0 -5
@@ 8,11 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/playkbtw/pk60/info.json => keyboards/playkbtw/pk60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "F4",
"on_state": 0
M keyboards/plut0nium/0x3e/config.h => keyboards/plut0nium/0x3e/config.h +0 -7
@@ 28,13 28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
/*
- * Backlight
- */
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 6
-
-/*
* RGB Underglow
*/
#define RGB_DI_PIN C7
M keyboards/plut0nium/0x3e/info.json => keyboards/plut0nium/0x3e/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x3E01",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/poker87c/config.h => keyboards/poker87c/config.h +0 -2
@@ 32,8 32,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 95
M keyboards/poker87c/info.json => keyboards/poker87c/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x087C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "B3",
"num_lock": "B1",
M keyboards/poker87d/config.h => keyboards/poker87d/config.h +0 -2
@@ 32,8 32,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 125
M keyboards/poker87d/info.json => keyboards/poker87d/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x087D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "B3",
"num_lock": "B1",
M keyboards/polycarbdiet/s20/config.h => keyboards/polycarbdiet/s20/config.h +0 -3
@@ 24,9 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B3
#define RGBLED_NUM 4
#define RGBLIGHT_HUE_STEP 8
M keyboards/polycarbdiet/s20/info.json => keyboards/polycarbdiet/s20/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x7320",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x4", "numpad_5x4"],
M keyboards/pom_keyboards/tnln95/config.h => keyboards/pom_keyboards/tnln95/config.h +0 -4
@@ 33,10 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 10
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/pom_keyboards/tnln95/info.json => keyboards/pom_keyboards/tnln95/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x3931",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 10,
+ "breathing": true
+ },
"bootmagic": {
"matrix": [0, 4]
},
M keyboards/preonic/config.h => keyboards/preonic/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_VOICES
#define AUDIO_PIN C6
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/preonic/rev1/info.json => keyboards/preonic/rev1/info.json +3 -0
@@ 6,6 6,9 @@
"pid": "0x67F3",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x12"]
M keyboards/preonic/rev2/info.json => keyboards/preonic/rev2/info.json +3 -0
@@ 6,6 6,9 @@
"pid": "0x67F3",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B7"
+ },
"qmk_lufa_bootloader": {
"esc_input": "B5",
"esc_output": "F1",
D keyboards/primekb/prime_e/std/config.h => keyboards/primekb/prime_e/std/config.h +0 -22
@@ 1,22 0,0 @@
-/*
-Copyright 2019 Holten Campbell
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
M keyboards/primekb/prime_e/std/info.json => keyboards/primekb/prime_e/std/info.json +4 -0
@@ 3,5 3,9 @@
"usb": {
"pid": "0x0051",
"device_version": "0.0.1"
+ },
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
}
}
M keyboards/primekb/prime_l/v1/config.h => keyboards/primekb/prime_l/v1/config.h +0 -4
@@ 22,7 22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Keyboard Matrix Assignments */
#define MATRIX_ROW_PINS { D1, D0, B7, B3, B2 }
#define MATRIX_COL_PINS { D2, D3, D5, D4, D6, D7, B4, B5, C7, C6, F7, F6, F5, F4, F1, F0 }
-
-#define BACKLIGHT_PIN B6
-/*#define BACKLIGHT_BREATHING*/
-#define BACKLIGHT_LEVELS 4
M keyboards/primekb/prime_l/v1/info.json => keyboards/primekb/prime_l/v1/info.json +4 -0
@@ 6,6 6,10 @@
"pid": "0x504C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4
+ },
"layouts": {
"LAYOUT": {
"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}]
M keyboards/primekb/prime_m/config.h => keyboards/primekb/prime_m/config.h +0 -4
@@ 26,10 26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-/*#define BACKLIGHT_BREATHING*/
-#define BACKLIGHT_LEVELS 4
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/primekb/prime_m/info.json => keyboards/primekb/prime_m/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x504D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 4
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"community_layouts": ["numpad_5x6"],
M keyboards/primekb/prime_o/config.h => keyboards/primekb/prime_o/config.h +0 -4
@@ 25,10 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-/*#define BACKLIGHT_BREATHING*/
-#define BACKLIGHT_LEVELS 4
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/primekb/prime_o/info.json => keyboards/primekb/prime_o/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4024",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 4
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/primekb/prime_r/config.h => keyboards/primekb/prime_r/config.h +0 -5
@@ 25,11 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/primekb/prime_r/info.json => keyboards/primekb/prime_r/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/projectkb/alice/info.json => keyboards/projectkb/alice/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xA71C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["alice", "alice_split_bs"],
M keyboards/projectkb/alice/rev1/config.h => keyboards/projectkb/alice/rev1/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/projectkb/alice/rev2/config.h => keyboards/projectkb/alice/rev2/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/prototypist/allison/config.h => keyboards/prototypist/allison/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 4
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/prototypist/allison/info.json => keyboards/prototypist/allison/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x414D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 4,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/prototypist/allison_numpad/config.h => keyboards/prototypist/allison_numpad/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 4
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/prototypist/allison_numpad/info.json => keyboards/prototypist/allison_numpad/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x414E",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 4,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_6x4", "numpad_6x4"],
M keyboards/prototypist/j01/config.h => keyboards/prototypist/j01/config.h +0 -3
@@ 33,9 33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/prototypist/j01/info.json => keyboards/prototypist/j01/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6A31",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/quad_h/lb75/config.h => keyboards/quad_h/lb75/config.h +0 -3
@@ 35,9 35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN B0
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16
M keyboards/quad_h/lb75/info.json => keyboards/quad_h/lb75/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/redscarf_i/config.h => keyboards/redscarf_i/config.h +0 -3
@@ 21,6 21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D4, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7 }
#define DIODE_DIRECTION COL2ROW
-
-/* Backlight */
-#define BACKLIGHT_PIN B5
M keyboards/redscarf_i/info.json => keyboards/redscarf_i/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x5959",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x4", "ortho_6x4", "numpad_5x4", "numpad_6x4"],
M keyboards/redscarf_iiplus/verb/config.h => keyboards/redscarf_iiplus/verb/config.h +0 -2
@@ 39,8 39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/redscarf_iiplus/verb/info.json => keyboards/redscarf_iiplus/verb/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "C7",
"num_lock": "E6",
M keyboards/redscarf_iiplus/verc/config.h => keyboards/redscarf_iiplus/verc/config.h +0 -2
@@ 39,8 39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/redscarf_iiplus/verc/info.json => keyboards/redscarf_iiplus/verc/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "C7",
"num_lock": "E6",
M keyboards/redscarf_iiplus/verd/config.h => keyboards/redscarf_iiplus/verd/config.h +0 -2
@@ 38,8 38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/redscarf_iiplus/verd/info.json => keyboards/redscarf_iiplus/verd/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x7778",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "C6",
"num_lock": "E6",
M keyboards/rmi_kb/wete/v1/config.h => keyboards/rmi_kb/wete/v1/config.h +0 -4
@@ 21,13 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A9, B12, B11, B10, B2, B1 }
#define DIODE_DIRECTION COL2ROW
-//LEDS A6
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 24
-#define BACKLIGHT_BREATHING
// RGB B4
#define RGB_DI_PIN B4
M keyboards/rmi_kb/wete/v1/info.json => keyboards/rmi_kb/wete/v1/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x00B5",
"device_version": "0.1.2"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 24,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/ryloo_studio/m0110/config.h => keyboards/ryloo_studio/m0110/config.h +0 -5
@@ 25,11 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-# define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/ryloo_studio/m0110/info.json => keyboards/ryloo_studio/m0110/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x1000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_hhkb"],
M keyboards/sam/s80/config.h => keyboards/sam/s80/config.h +0 -2
@@ 32,8 32,6 @@
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 20
M keyboards/sam/s80/info.json => keyboards/sam/s80/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x3830",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/sandwich/keeb68/config.h => keyboards/sandwich/keeb68/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN C7
-#define BACKLIGHT_LEVELS 5
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/sandwich/keeb68/info.json => keyboards/sandwich/keeb68/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi"],
M keyboards/sentraq/number_pad/config.h => keyboards/sentraq/number_pad/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define RGB_DI_PIN B0
#ifdef RGB_DI_PIN
#define RGBLED_NUM 13
M keyboards/sentraq/number_pad/info.json => keyboards/sentraq/number_pad/info.json +3 -0
@@ 7,6 7,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"url": "https://sentraq.com/collections/kits/products/number-pad-rgb-kit",
M keyboards/sentraq/s60_x/default/config.h => keyboards/sentraq/s60_x/default/config.h +0 -5
@@ 5,11 5,6 @@
#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 }
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 }
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/sentraq/s60_x/default/info.json => keyboards/sentraq/s60_x/default/info.json +4 -0
@@ 1,5 1,9 @@
{
"keyboard_name": "S60-X",
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
M keyboards/sentraq/s60_x/rgb/config.h => keyboards/sentraq/s60_x/rgb/config.h +0 -5
@@ 5,11 5,6 @@
#define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 }
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 }
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/sentraq/s60_x/rgb/info.json => keyboards/sentraq/s60_x/rgb/info.json +4 -0
@@ 1,5 1,9 @@
{
"keyboard_name": "S60-X-RGB",
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}
M keyboards/sentraq/s65_plus/config.h => keyboards/sentraq/s65_plus/config.h +0 -2
@@ 5,8 5,6 @@
#define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 }
#define MATRIX_COL_PINS { F6, F5, F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 }
-#define BACKLIGHT_PIN B7
-
#define RGB_DI_PIN D3
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/sentraq/s65_plus/info.json => keyboards/sentraq/s65_plus/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "B7",
"on_state": 0
M keyboards/sentraq/s65_x/config.h => keyboards/sentraq/s65_x/config.h +0 -4
@@ 5,10 5,6 @@
#define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 }
#define MATRIX_COL_PINS { F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 }
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
-#define BACKLIGHT_CAPS_LOCK
-
#define RGB_DI_PIN D3
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/sentraq/s65_x/info.json => keyboards/sentraq/s65_x/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "as_caps_lock": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi", "65_iso"],
M keyboards/singa/config.h => keyboards/singa/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/singa/info.json => keyboards/singa/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x7575",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/skeletn87/hotswap/config.h => keyboards/skeletn87/hotswap/config.h +0 -4
@@ 25,10 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 8
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B3
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/skeletn87/hotswap/info.json => keyboards/skeletn87/hotswap/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xB5E9",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 8,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/skeletn87/soldered/config.h => keyboards/skeletn87/soldered/config.h +0 -4
@@ 25,10 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 8
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN B2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/skeletn87/soldered/info.json => keyboards/skeletn87/soldered/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xB5E8",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 8,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "E6",
"on_state": 0
M keyboards/smithrune/iron165r2/f072/config.h => keyboards/smithrune/iron165r2/f072/config.h +0 -3
@@ 17,12 17,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15
#define RGBLED_NUM 22
M keyboards/smithrune/iron165r2/f072/info.json => keyboards/smithrune/iron165r2/f072/info.json +5 -0
@@ 1,4 1,9 @@
{
+ "backlight": {
+ "pin": "A6",
+ "levels": 20,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu"
}
M keyboards/smithrune/iron165r2/f072/rules.mk => keyboards/smithrune/iron165r2/f072/rules.mk +0 -1
@@ 12,7 12,6 @@ AUDIO_ENABLE = no # Audio output
LTO_ENABLE = no
ENCODER_ENABLE = no
BACKLIGHT_ENABLE = yes
-BACKLIGHT_DRIVER = pwm
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
M keyboards/smithrune/iron165r2/f411/config.h => keyboards/smithrune/iron165r2/f411/config.h +0 -3
@@ 17,12 17,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15
#define RGBLED_NUM 22
M keyboards/smithrune/iron165r2/f411/info.json => keyboards/smithrune/iron165r2/f411/info.json +5 -0
@@ 1,4 1,9 @@
{
+ "backlight": {
+ "pin": "A6",
+ "levels": 20,
+ "breathing": true
+ },
"processor": "STM32F411",
"bootloader": "stm32-dfu"
}
M keyboards/smithrune/iron165r2/f411/rules.mk => keyboards/smithrune/iron165r2/f411/rules.mk +0 -1
@@ 13,7 13,6 @@ LTO_ENABLE = no
ENCODER_ENABLE = no
EEPROM_DRIVER = i2c
BACKLIGHT_ENABLE = yes
-BACKLIGHT_DRIVER = pwm
WS2812_DRIVER = pwm
# Enter lower-power sleep mode when on the ChibiOS idle thread
M keyboards/smithrune/iron180/config.h => keyboards/smithrune/iron180/config.h +0 -3
@@ 21,12 21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B9 , B8 , A15, B0 , A7 , A5 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/smithrune/iron180/info.json => keyboards/smithrune/iron180/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1180",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
M keyboards/sowbug/68keys/config.h => keyboards/sowbug/68keys/config.h +0 -5
@@ 28,11 28,6 @@
#define RGB_DI_PIN B9
-// Want backlighting and RGB Matrix patterns? See the note in the readme,
-// apply the patches, and then uncomment the line below as well as the ones
-// in rules.mk.
-//
-// #define BACKLIGHT_PIN rgb_matrix
#define RGB_MATRIX_KEYPRESSES
#define RGBLED_NUM 68
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
M keyboards/sowbug/ansi_tkl/config.h => keyboards/sowbug/ansi_tkl/config.h +0 -6
@@ 83,9 83,3 @@
#define ENABLE_RGB_MATRIX_MULTISPLASH
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-
-// Want backlighting and RGB Matrix patterns? See the note in the readme,
-// apply the patches, and then uncomment the line below as well as the ones
-// in rules.mk.
-//
-// #define BACKLIGHT_PIN rgb_matrix
M keyboards/specskeys/config.h => keyboards/specskeys/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 1
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/specskeys/info.json => keyboards/specskeys/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0080",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 1
+ },
"indicators": {
"caps_lock": "C7",
"scroll_lock": "C6"
M keyboards/spiderisland/split78/config.h => keyboards/spiderisland/split78/config.h +0 -3
@@ 22,7 22,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 8
#define MATRIX_COLS 14
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_BREATHING
-
#define I2C_START_RETRY_COUNT 1
M keyboards/spiderisland/split78/info.json => keyboards/spiderisland/split78/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xF4E4",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4",
+ "breathing": true
+ },
"processor": "atmega32a",
"bootloader": "bootloadhid",
"debounce": 50,
M keyboards/subatomic/config.h => keyboards/subatomic/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define AUDIO_VOICES
// #define AUDIO_PIN C6
-#define BACKLIGHT_PIN B7
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/subatomic/info.json => keyboards/subatomic/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x6063",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/switchplate/southpaw_65/config.h => keyboards/switchplate/southpaw_65/config.h +0 -3
@@ 37,9 37,6 @@
/* COL2ROW, ROW2COL */
//#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 10
-
#define RGB_DI_PIN C7
#define RGBLED_NUM 9
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/switchplate/southpaw_65/info.json => keyboards/switchplate/southpaw_65/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4084",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 10
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/switchplate/southpaw_fullsize/config.h => keyboards/switchplate/southpaw_fullsize/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/switchplate/southpaw_fullsize/info.json => keyboards/switchplate/southpaw_fullsize/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0017",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/switchplate/switchplate910/config.h => keyboards/switchplate/switchplate910/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/switchplate/switchplate910/info.json => keyboards/switchplate/switchplate910/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x2065",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/sx60/config.h => keyboards/sx60/config.h +0 -2
@@ 32,8 32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/sx60/info.json => keyboards/sx60/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0010",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "F4",
"num_lock": "F5",
M keyboards/tada68/config.h => keyboards/tada68/config.h +0 -5
@@ 31,11 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Backlight configuration */
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 4
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
M keyboards/tada68/info.json => keyboards/tada68/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x0001",
"device_version": "0.0.3"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 4,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/team0110/p1800fl/config.h => keyboards/team0110/p1800fl/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* RGB Lighting */
#define RGB_DI_PIN C6
#ifdef RGB_DI_PIN
M keyboards/team0110/p1800fl/info.json => keyboards/team0110/p1800fl/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x3EAE",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/tgr/910/config.h => keyboards/tgr/910/config.h +0 -2
@@ 26,8 26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/tgr/910/info.json => keyboards/tgr/910/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x9100",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/tgr/910ce/config.h => keyboards/tgr/910ce/config.h +0 -2
@@ 26,8 26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/tgr/910ce/info.json => keyboards/tgr/910ce/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x910C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/tgr/alice/config.h => keyboards/tgr/alice/config.h +0 -2
@@ 21,8 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 18
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/tgr/alice/info.json => keyboards/tgr/alice/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x422E",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/tgr/jane/v2/config.h => keyboards/tgr/jane/v2/config.h +0 -2
@@ 23,5 23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN D4
M keyboards/tgr/jane/v2/info.json => keyboards/tgr/jane/v2/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4A4E",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
M keyboards/tgr/jane/v2ce/config.h => keyboards/tgr/jane/v2ce/config.h +0 -2
@@ 22,5 22,3 @@
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN D4
M keyboards/tgr/jane/v2ce/info.json => keyboards/tgr/jane/v2ce/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4A43",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D6"
M keyboards/tgr/tris/config.h => keyboards/tgr/tris/config.h +0 -2
@@ 23,8 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLED_NUM 6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/tgr/tris/info.json => keyboards/tgr/tris/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x5452",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"num_lock": "D0"
},
M keyboards/thevankeyboards/bananasplit/config.h => keyboards/thevankeyboards/bananasplit/config.h +0 -3
@@ 23,9 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION ROW2COL
-/* mapping backlight LEDs to correct Pin */
-#define BACKLIGHT_PIN B7
-
#define TAPPING_TERM 175
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
M keyboards/thevankeyboards/bananasplit/info.json => keyboards/thevankeyboards/bananasplit/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x8870",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_iso"],
M keyboards/tkc/california/config.h => keyboards/tkc/california/config.h +0 -5
@@ 36,11 36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/tkc/california/info.json => keyboards/tkc/california/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0009",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "F0",
"num_lock": "F1"
M keyboards/tkc/m0lly/config.h => keyboards/tkc/m0lly/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
-
#define RGB_DI_PIN D7
#ifdef RGB_DI_PIN
# define RGBLED_NUM 30
M keyboards/tkc/m0lly/info.json => keyboards/tkc/m0lly/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0004",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"qmk_lufa_bootloader": {
"esc_input": "F4",
"esc_output": "A0",
M keyboards/tkc/osav2/config.h => keyboards/tkc/osav2/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
- #define BACKLIGHT_PIN D6
- #define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN D4
#ifdef RGB_DI_PIN
#define RGBLED_NUM 9
M keyboards/tkc/osav2/info.json => keyboards/tkc/osav2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0005",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D6",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["alice", "alice_split_bs"],
M keyboards/tkc/tkc1800/config.h => keyboards/tkc/tkc1800/config.h +0 -3
@@ 29,9 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-
/* Underlight configuration
*/
#define RGB_DI_PIN D7
M keyboards/tkc/tkc1800/info.json => keyboards/tkc/tkc1800/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0001",
"device_version": "0.0.3"
},
+ "backlight": {
+ "pin": "B6",
+ "breathing": true
+ },
"qmk_lufa_bootloader": {
"esc_input": "F4",
"esc_output": "A0",
M keyboards/tkc/tkl_ab87/config.h => keyboards/tkc/tkl_ab87/config.h +0 -4
@@ 36,10 36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_BREATHING
-#endif
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 22
M keyboards/tkc/tkl_ab87/info.json => keyboards/tkc/tkl_ab87/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "F1",
"scroll_lock": "F0"
M keyboards/tmo50/config.h => keyboards/tmo50/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN C7
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
M keyboards/tmo50/info.json => keyboards/tmo50/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0050",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/tokyokeyboard/alix40/config.h => keyboards/tokyokeyboard/alix40/config.h +0 -6
@@ 14,12 14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 31
-#define BACKLIGHT_BREATHING
-#endif
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
M keyboards/tokyokeyboard/alix40/info.json => keyboards/tokyokeyboard/alix40/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x4134",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 31,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/tokyokeyboard/tokyo60/config.h => keyboards/tokyokeyboard/tokyo60/config.h +0 -5
@@ 1,10 1,5 @@
#pragma once
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 6
-#endif
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
M keyboards/tokyokeyboard/tokyo60/info.json => keyboards/tokyokeyboard/tokyo60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_hhkb"],
M keyboards/tr60w/config.h => keyboards/tr60w/config.h +0 -2
@@ 8,8 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/tr60w/info.json => keyboards/tr60w/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4140",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/treasure/type9/config.h => keyboards/treasure/type9/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 10
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/treasure/type9/info.json => keyboards/treasure/type9/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 10
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/treasure/type9s2/config.h => keyboards/treasure/type9s2/config.h +0 -2
@@ 23,5 23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
M keyboards/treasure/type9s2/info.json => keyboards/treasure/type9s2/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x5492",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/tzarc/djinn/config.h => keyboards/tzarc/djinn/config.h +0 -1
@@ 49,7 49,6 @@
#endif // LCD_ACTIVITY_TIMEOUT
// Backlight driver (to control LCD backlight)
-#define BACKLIGHT_LEVELS 4
#define BACKLIGHT_PWM_DRIVER PWMD17
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
M keyboards/tzarc/djinn/info.json => keyboards/tzarc/djinn/info.json +2 -1
@@ 30,7 30,8 @@
"cols": ["C0", "C1", "C2", "C3", "A0", "A1", "A2"]
},
"backlight": {
- "pin": "A7"
+ "pin": "A7",
+ "levels": 4
},
"split": {
"enabled": true,
M keyboards/tzarc/djinn/rules.mk => keyboards/tzarc/djinn/rules.mk +0 -2
@@ 2,8 2,6 @@ CUSTOM_MATRIX = lite
SERIAL_DRIVER = usart
-BACKLIGHT_DRIVER = pwm
-
WS2812_DRIVER = pwm
CIE1931_CURVE = yes
M keyboards/ubest/vn/config.h => keyboards/ubest/vn/config.h +0 -2
@@ 32,8 32,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8
M keyboards/ubest/vn/info.json => keyboards/ubest/vn/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0868",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6"
+ },
"indicators": {
"caps_lock": "B3",
"num_lock": "B1",
M keyboards/uk78/config.h => keyboards/uk78/config.h +0 -2
@@ 25,8 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/uk78/info.json => keyboards/uk78/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x004E",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "B6"
+ },
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/unikeyboard/diverge3/config.h => keyboards/unikeyboard/diverge3/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#ifndef SELECT_SOFT_SERIAL_SPEED
#define SELECT_SOFT_SERIAL_SPEED 3
#endif
M keyboards/unikeyboard/diverge3/info.json => keyboards/unikeyboard/diverge3/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x1257",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 5,
+ "breathing": true
+ },
"split": {
"soft_serial_pin": "D0"
},
M keyboards/unikeyboard/felix/config.h => keyboards/unikeyboard/felix/config.h +0 -3
@@ 17,9 17,6 @@
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/unikeyboard/felix/info.json => keyboards/unikeyboard/felix/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_5x4"],
M keyboards/unikorn/config.h => keyboards/unikorn/config.h +0 -2
@@ 24,8 24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 17
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/unikorn/info.json => keyboards/unikorn/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x556B",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/utd80/config.h => keyboards/utd80/config.h +0 -3
@@ 21,9 21,6 @@
#define MATRIX_ROW_PINS { B4, D5, D0, B2, B3, B0 }
#define MATRIX_COL_PINS { B1, F0, F1, F4, F5, F6, F7, C7, C6, D3, E6, D7, D6, D4, D2, D1 }
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/utd80/info.json => keyboards/utd80/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x001C",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B6",
"scroll_lock": "B5"
M keyboards/v60_type_r/config.h => keyboards/v60_type_r/config.h +0 -2
@@ 34,8 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN F7
-
#define RGBLED_NUM 1
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
M keyboards/v60_type_r/info.json => keyboards/v60_type_r/info.json +1 -0
@@ 9,6 9,7 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "F7",
"on_state": 0
},
"processor": "atmega32u4",
M keyboards/waldo/config.h => keyboards/waldo/config.h +0 -3
@@ 22,9 22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
#define MATRIX_COL_PINS { F7, D5, D3, D2, B3, B2, C7, C6, B6, B5, B4, D7, D6, D4, B1 }
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/waldo/info.json => keyboards/waldo/info.json +4 -0
@@ 7,6 7,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/walletburner/neuron/config.h => keyboards/walletburner/neuron/config.h +0 -2
@@ 8,8 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/westfoxtrot/aanzee/config.h => keyboards/westfoxtrot/aanzee/config.h +0 -4
@@ 26,10 26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 9
M keyboards/westfoxtrot/aanzee/info.json => keyboards/westfoxtrot/aanzee/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xAA01",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B2",
"on_state": 0
M keyboards/westfoxtrot/cypher/rev1/config.h => keyboards/westfoxtrot/cypher/rev1/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/westfoxtrot/cypher/rev1/info.json => keyboards/westfoxtrot/cypher/rev1/info.json +5 -0
@@ 6,6 6,11 @@
"pid": "0xAA97",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/westfoxtrot/cypher/rev5/config.h => keyboards/westfoxtrot/cypher/rev5/config.h +0 -8
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
@@ 47,11 44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define GRAVE_ESC_CTRL_OVERRIDE
-
-
-
-#define BACKLIGHT_PIN D0
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
M keyboards/westfoxtrot/cypher/rev5/info.json => keyboards/westfoxtrot/cypher/rev5/info.json +5 -0
@@ 6,6 6,11 @@
"pid": "0xAA98",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pin": "D0",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/wilba_tech/rama_works_m10_b/config.h => keyboards/wilba_tech/rama_works_m10_b/config.h +0 -2
@@ 33,8 33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN C6
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/wilba_tech/rama_works_m10_b/info.json => keyboards/wilba_tech/rama_works_m10_b/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x00AB",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/winkeyless/b87/config.h => keyboards/winkeyless/b87/config.h +0 -2
@@ 36,5 36,3 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN D4
M keyboards/winkeyless/b87/info.json => keyboards/winkeyless/b87/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0B87",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
M keyboards/winkeyless/bface/config.h => keyboards/winkeyless/bface/config.h +0 -2
@@ 35,5 35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define BACKLIGHT_PIN D4
M keyboards/winkeyless/bface/info.json => keyboards/winkeyless/bface/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x4246",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/winkeyless/bmini/config.h => keyboards/winkeyless/bmini/config.h +0 -2
@@ 34,5 34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define BACKLIGHT_PIN D4
M keyboards/winkeyless/bmini/info.json => keyboards/winkeyless/bmini/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x424D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/winkeyless/bminiex/config.h => keyboards/winkeyless/bminiex/config.h +0 -3
@@ 34,6 34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 5
M keyboards/winkeyless/bminiex/info.json => keyboards/winkeyless/bminiex/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4258",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/wolf/sabre/config.h => keyboards/wolf/sabre/config.h +0 -2
@@ 35,5 35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
M keyboards/wolf/sabre/info.json => keyboards/wolf/sabre/info.json +3 -0
@@ 8,6 8,9 @@
"pid": "0x0055",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "B3",
"scroll_lock": "B0",
M keyboards/wolf/sabre/rules.mk => keyboards/wolf/sabre/rules.mk +0 -1
@@ 14,4 14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
BACKLIGHT_ENABLE = yes
-BACKLIGHT_DRIVER = pwm>
\ No newline at end of file
M keyboards/wolf/ts60/config.h => keyboards/wolf/ts60/config.h +0 -3
@@ 52,7 52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_SLEEP
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
-/* Define Per Key Backlight */
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_DEFAULT_LEVEL 6
M keyboards/wolf/ts60/info.json => keyboards/wolf/ts60/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0050",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 6
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi"],
M keyboards/woodkeys/meira/config.h => keyboards/woodkeys/meira/config.h +0 -3
@@ 25,10 25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
//#define DIODE_DIRECTION
-#ifdef BACKLIGHT_ENABLE
-#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255}
-#endif
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
M keyboards/woodkeys/meira/info.json => keyboards/woodkeys/meira/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6061",
"device_version": "0.0.1"
},
+ "backlight": {
+ "driver": "custom",
+ "levels": 10
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layout_aliases": {
M keyboards/woodkeys/meira/meira.c => keyboards/woodkeys/meira/meira.c +0 -1
@@ 18,7 18,6 @@
#include "TWIlib.h"
#include "lighting.h"
#include "quantum.h"
-#define BACKLIGHT_BREATHING
extern void backlight_set(uint8_t level);
M keyboards/woodkeys/meira/rules.mk => keyboards/woodkeys/meira/rules.mk +0 -1
@@ 8,7 8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality, also set ISSI_ENABLE below for Meira
-BACKLIGHT_DRIVER = custom
ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
M keyboards/x16/config.h => keyboards/x16/config.h +0 -3
@@ 33,9 33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/x16/info.json => keyboards/x16/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x016A",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/xiudi/xd004/info.json => keyboards/xiudi/xd004/info.json +4 -0
@@ 7,6 7,10 @@
"pid": "0x0404",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D5",
+ "levels": 6
+ },
"processor": "atmega16u2",
"bootloader": "atmel-dfu",
"matrix_pins": {
M keyboards/xiudi/xd004/v1/config.h => keyboards/xiudi/xd004/v1/config.h +0 -5
@@ 23,11 23,6 @@ where some things are disabled to save space as well.
#pragma once
-/* Backlight Setup */
-// Looks like each backlight LED is connected to a single output, D5 is the one furtherst away from USB port
-#define BACKLIGHT_PIN D5
-#define BACKLIGHT_LEVELS 6
-
/* RGB Underglow
This will not be used, as RGBLIGHT_ENABLE is set to 'no' in rules.mk
We do not have enough space in the flash for this at the moment, maybe
M keyboards/xiudi/xd60/rev2/config.h => keyboards/xiudi/xd60/rev2/config.h +0 -4
@@ 31,10 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }
-/* Backlight Setup */
-#define BACKLIGHT_PIN F5
-#define BACKLIGHT_LEVELS 6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/xiudi/xd60/rev2/info.json => keyboards/xiudi/xd60/rev2/info.json +2 -0
@@ 4,6 4,8 @@
"pid": "0x6060"
},
"backlight": {
+ "pin": "F5",
+ "levels": 6,
"on_state": 0
},
"processor": "atmega32u4",
M keyboards/xiudi/xd60/rev3/config.h => keyboards/xiudi/xd60/rev3/config.h +0 -4
@@ 31,10 31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }
-/* Backlight Setup */
-#define BACKLIGHT_PIN F5
-#define BACKLIGHT_LEVELS 6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
M keyboards/xiudi/xd60/rev3/info.json => keyboards/xiudi/xd60/rev3/info.json +2 -0
@@ 4,6 4,8 @@
"pid": "0x6363"
},
"backlight": {
+ "pin": "F5",
+ "levels": 6,
"on_state": 0
},
"processor": "atmega32u4",
M keyboards/xiudi/xd68/config.h => keyboards/xiudi/xd68/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN F5
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/xiudi/xd68/info.json => keyboards/xiudi/xd68/info.json +3 -0
@@ 9,6 9,9 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "F5",
+ "levels": 6,
+ "breathing": true,
"on_state": 0
},
"indicators": {
M keyboards/xiudi/xd75/config.h => keyboards/xiudi/xd75/config.h +0 -3
@@ 34,9 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN F5
-#define BACKLIGHT_LEVELS 6
-
#define RGB_DI_PIN F6
#ifdef RGB_DI_PIN
# define RGBLED_NUM 6
M keyboards/xiudi/xd75/info.json => keyboards/xiudi/xd75/info.json +2 -0
@@ 9,6 9,8 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "F5",
+ "levels": 6,
"on_state": 0
},
"processor": "atmega32u4",
M keyboards/xiudi/xd84/config.h => keyboards/xiudi/xd84/config.h +0 -3
@@ 37,9 37,6 @@
/* COL2ROW, ROW2COL */
//#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 10
-
#define RGB_DI_PIN C7
#define RGBLED_NUM 7
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/xiudi/xd84/info.json => keyboards/xiudi/xd84/info.json +2 -0
@@ 9,6 9,8 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "B5",
+ "levels": 10,
"on_state": 0
},
"indicators": {
M keyboards/xiudi/xd84pro/config.h => keyboards/xiudi/xd84pro/config.h +0 -3
@@ 42,9 42,6 @@
#define RGBLIGHT_EFFECT_TWINKLE
#endif
-#define BACKLIGHT_PIN F5
-#define BACKLIGHT_LEVELS 10
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
M keyboards/xiudi/xd84pro/info.json => keyboards/xiudi/xd84pro/info.json +2 -0
@@ 9,6 9,8 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "F5",
+ "levels": 10,
"on_state": 0
},
"indicators": {
M keyboards/xiudi/xd87/config.h => keyboards/xiudi/xd87/config.h +0 -2
@@ 36,8 36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D0
-
#define RGB_DI_PIN B7
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/xiudi/xd87/info.json => keyboards/xiudi/xd87/info.json +1 -0
@@ 9,6 9,7 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "D0",
"on_state": 0
},
"indicators": {
M keyboards/xiudi/xd96/config.h => keyboards/xiudi/xd96/config.h +0 -3
@@ 37,9 37,6 @@
/* COL2ROW, ROW2COL */
//#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_LEVELS 10
-
#define RGB_DI_PIN C7
#define RGBLED_NUM 16
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/xiudi/xd96/info.json => keyboards/xiudi/xd96/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x9696",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 10
+ },
"indicators": {
"caps_lock": "B6",
"num_lock": "C6",
M keyboards/ydkb/chili/config.h => keyboards/ydkb/chili/config.h +0 -3
@@ 29,9 29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
/* Underlight configuration
*/
#define RGB_DI_PIN B3
M keyboards/ydkb/chili/info.json => keyboards/ydkb/chili/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B2",
"num_lock": "B1",
M keyboards/ydkb/grape/config.h => keyboards/ydkb/grape/config.h +0 -3
@@ 24,9 24,6 @@
#define SN74X138_ADDRESS_PINS { D2, D1, D0 }
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN E6
#define RGBLED_NUM 4
M keyboards/ydkb/grape/info.json => keyboards/ydkb/grape/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6772",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "F0",
"num_lock": "F1",
M keyboards/ymdk/bface/config.h => keyboards/ymdk/bface/config.h +0 -3
@@ 23,9 23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 6
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
M keyboards/ymdk/bface/info.json => keyboards/ymdk/bface/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4266",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 6
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/ymdk/melody96/config.h => keyboards/ymdk/melody96/config.h +0 -5
@@ 8,11 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/ymdk/melody96/info.json => keyboards/ymdk/melody96/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4D96",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "C7",
"num_lock": "C6",
M keyboards/ymdk/np21/config.h => keyboards/ymdk/np21/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 12
-#define BACKLIGHT_BREATHING
-
#define RGBLED_NUM 5
//#define RGBLIGHT_HUE_STEP 8
//#define RGBLIGHT_SAT_STEP 8
M keyboards/ymdk/np21/info.json => keyboards/ymdk/np21/info.json +5 -0
@@ 7,6 7,11 @@
"pid": "0x5021",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12,
+ "breathing": true
+ },
"indicators": {
"num_lock": "D0"
},
M keyboards/ymdk/np24/u4rgb6/config.h => keyboards/ymdk/np24/u4rgb6/config.h +0 -5
@@ 23,11 23,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-# define BACKLIGHT_LEVELS 31
-#endif
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 6
M keyboards/ymdk/np24/u4rgb6/info.json => keyboards/ymdk/np24/u4rgb6/info.json +4 -0
@@ 7,6 7,10 @@
"pid": "0x5024",
"device_version": "4.0.6"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 31
+ },
"indicators": {
"num_lock": "C6",
"on_state": 0
M keyboards/ymdk/wings/config.h => keyboards/ymdk/wings/config.h +0 -3
@@ 32,9 32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 14
M keyboards/ymdk/wings/info.json => keyboards/ymdk/wings/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x2975",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "C7",
"on_state": 0
M keyboards/ymdk/wingshs/config.h => keyboards/ymdk/wingshs/config.h +0 -3
@@ 30,9 30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 80
M keyboards/ymdk/wingshs/info.json => keyboards/ymdk/wingshs/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4975",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "C7",
"on_state": 0
M keyboards/ymdk/yd60mq/config.h => keyboards/ymdk/yd60mq/config.h +0 -5
@@ 8,11 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/ymdk/yd60mq/info.json => keyboards/ymdk/yd60mq/info.json +4 -0
@@ 7,6 7,10 @@
"vid": "0x594D",
"pid": "0x604D"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_ansi_tsangan", "60_hhkb", "60_iso", "60_iso_split_bs_rshift", "60_iso_tsangan"],
M keyboards/ymdk/ym68/config.h => keyboards/ymdk/ym68/config.h +0 -4
@@ 32,10 32,6 @@
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
#define RGB_DI_PIN E2
#if defined(RGBLIGHT_ENABLE)
#define RGBLED_NUM 20
M keyboards/ymdk/ym68/info.json => keyboards/ymdk/ym68/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0xD896",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/ymdk/ymd21/v2/config.h => keyboards/ymdk/ymd21/v2/config.h +0 -3
@@ 32,9 32,6 @@
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#define RGB_DI_PIN E2
#if defined(RGBLIGHT_ENABLE)
#define RGBLED_NUM 8
M keyboards/ymdk/ymd21/v2/info.json => keyboards/ymdk/ymd21/v2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x0110",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_6x4"],
M keyboards/ymdk/ymd40/v2/config.h => keyboards/ymdk/ymd40/v2/config.h +0 -3
@@ 32,9 32,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_BREATHING
-
#if defined(RGBLIGHT_ENABLE)
#define RGB_DI_PIN E2
#define RGBLED_NUM 8
M keyboards/ymdk/ymd40/v2/info.json => keyboards/ymdk/ymd40/v2/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x4440",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_4x12"],
M keyboards/ymdk/ymd67/config.h => keyboards/ymdk/ymd67/config.h +0 -5
@@ 8,11 8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/ymdk/ymd67/info.json => keyboards/ymdk/ymd67/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
M keyboards/ymdk/ymd75/config.h => keyboards/ymdk/ymd75/config.h +0 -3
@@ 19,9 19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define BACKLIGHT_LEVELS 12
-
#define RGB_DI_PIN E2
#define RGBLED_NUM 16
#define RGBLIGHT_EFFECT_BREATHING
M keyboards/ymdk/ymd75/rev1/config.h => keyboards/ymdk/ymd75/rev1/config.h +0 -1
@@ 21,5 21,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 }
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
-#define BACKLIGHT_PIN D4
#define DIODE_DIRECTION COL2ROW
M keyboards/ymdk/ymd75/rev1/info.json => keyboards/ymdk/ymd75/rev1/info.json +4 -0
@@ 2,6 2,10 @@
"usb": {
"device_version": "1.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/ymdk/ymd75/rev2/config.h => keyboards/ymdk/ymd75/rev2/config.h +0 -1
@@ 2,5 2,4 @@
#define MATRIX_ROW_PINS { B7, B6, B5, B4, B3, B0 }
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
-#define BACKLIGHT_PIN D4
#define DIODE_DIRECTION COL2ROW
M keyboards/ymdk/ymd75/rev2/info.json => keyboards/ymdk/ymd75/rev2/info.json +4 -0
@@ 2,6 2,10 @@
"usb": {
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12
+ },
"indicators": {
"caps_lock": "D1"
},
M keyboards/ymdk/ymd75/rev3/config.h => keyboards/ymdk/ymd75/rev3/config.h +0 -1
@@ 2,6 2,5 @@
#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
-#define BACKLIGHT_PIN B6 // change the backlight pin that has since changed in Rev 3
#define DIODE_DIRECTION ROW2COL
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4
M keyboards/ymdk/ymd75/rev3/info.json => keyboards/ymdk/ymd75/rev3/info.json +4 -0
@@ 2,6 2,10 @@
"usb": {
"device_version": "3.0.0"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 12
+ },
"indicators": {
"caps_lock": "C7"
},
M keyboards/ymdk/ymd96/config.h => keyboards/ymdk/ymd96/config.h +0 -4
@@ 25,10 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 12
-#define BACKLIGHT_BREATHING
-
#define TAPPING_TOGGLE 3
#define USB_MAX_POWER_CONSUMPTION 100
M keyboards/ymdk/ymd96/info.json => keyboards/ymdk/ymd96/info.json +5 -0
@@ 8,6 8,11 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 12,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",
M keyboards/zj68/config.h => keyboards/zj68/config.h +0 -5
@@ 25,11 25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-#define BACKLIGHT_PIN B6
-#ifdef BACKLIGHT_PIN
-#define BACKLIGHT_LEVELS 5
-#endif
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
M keyboards/zj68/info.json => keyboards/zj68/info.json +4 -0
@@ 7,6 7,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B6",
+ "levels": 5
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi"],
M keyboards/zoo/wampus/config.h => keyboards/zoo/wampus/config.h +0 -4
@@ 34,10 34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-// In-switch LED defines
-#define BACKLIGHT_PIN A6
-#define BACKLIGHT_BREATHING
-
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
M keyboards/zoo/wampus/info.json => keyboards/zoo/wampus/info.json +4 -0
@@ 8,6 8,10 @@
"pid": "0xE600",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A6",
+ "breathing": true
+ },
"indicators": {
"caps_lock": "B8",
"num_lock": "B0",