Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -37,11 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define BACKLIGHT_PIN D4
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
#define LED_NUM_LOCK_PIN B1
|
||||
#define LED_CAPS_LOCK_PIN B0
|
||||
#define LED_SCROLL_LOCK_PIN B2
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGB_DI_PIN B3
|
||||
#define RGBLED_NUM 24
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0xD181",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B0",
|
||||
"num_lock": "B1",
|
||||
"scroll_lock": "B2"
|
||||
},
|
||||
"processor": "atmega32a",
|
||||
"bootloader": "usbasploader",
|
||||
"layouts": {
|
||||
|
@@ -40,11 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define BACKLIGHT_PIN D4
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
#define LED_NUM_LOCK_PIN B1
|
||||
#define LED_CAPS_LOCK_PIN B0
|
||||
#define LED_SCROLL_LOCK_PIN B2
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
||||
#define RGB_DI_PIN B3
|
||||
#define RGBLED_NUM 27
|
||||
#define RGBLIGHT_LIMIT_VAL 255
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0xD180",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B0",
|
||||
"num_lock": "B1",
|
||||
"scroll_lock": "B2"
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [1, 14]
|
||||
},
|
||||
|
@@ -37,11 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#define LED_CAPS_LOCK_PIN B10
|
||||
#define LED_NUM_LOCK_PIN A13
|
||||
#define LED_SCROLL_LOCK_PIN A14
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGB_DI_PIN B15
|
||||
# define RGBLED_NUM 24
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0xD870",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B10",
|
||||
"num_lock": "A13",
|
||||
"scroll_lock": "A14"
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "stm32duino",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user