Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -24,8 +24,4 @@
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 3
|
||||
|
||||
|
||||
#define LED_CAPS_LOCK_PIN A4
|
||||
#define LED_SCROLL_LOCK_PIN A8
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
@@ -1,4 +1,8 @@
|
||||
{
|
||||
"indicators": {
|
||||
"caps_lock": "A4",
|
||||
"scroll_lock": "A8"
|
||||
},
|
||||
"processor": "STM32F303",
|
||||
"bootloader": "stm32-dfu",
|
||||
"board": "QMK_PROTON_C"
|
||||
|
@@ -31,11 +31,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#define LED_NUM_LOCK_PIN D7
|
||||
#define LED_CAPS_LOCK_PIN D6
|
||||
#define LED_SCROLL_LOCK_PIN B4
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x8702",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "D6",
|
||||
"num_lock": "D7",
|
||||
"scroll_lock": "B4"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user