Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -22,12 +22,6 @@
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define LED_NUM_LOCK_PIN F2
|
||||
#define LED_CAPS_LOCK_PIN F3
|
||||
#define LED_SCROLL_LOCK_PIN F1
|
||||
#define LED_COMPOSE_PIN F0
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
/* don't know if this should be defined at the board or top level. Assuming board
|
||||
#define MOUSEKEY_DELAY 100
|
||||
#define MOUSEKEY_INTERVAL 20
|
||||
|
@@ -6,6 +6,13 @@
|
||||
"pid": "0x6060",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "F3",
|
||||
"num_lock": "F2",
|
||||
"scroll_lock": "F1",
|
||||
"compose": "F0",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "halfkay"
|
||||
}
|
||||
|
Reference in New Issue
Block a user