Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -77,9 +77,3 @@
|
||||
|
||||
// in clock cycles
|
||||
#define GPIO_INPUT_PIN_DELAY 0
|
||||
|
||||
#define LED_PIN_ON_STATE 0
|
||||
#define LED_NUM_LOCK_PIN LINE_PIN26
|
||||
#define LED_CAPS_LOCK_PIN LINE_PIN12
|
||||
#define LED_SCROLL_LOCK_PIN LINE_PIN25
|
||||
#define LED_COMPOSE_PIN LINE_PIN24
|
||||
|
@@ -6,5 +6,12 @@
|
||||
"pid": "0x345C",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "LINE_PIN12",
|
||||
"num_lock": "LINE_PIN26",
|
||||
"scroll_lock": "LINE_PIN25",
|
||||
"compose": "LINE_PIN24",
|
||||
"on_state": 0
|
||||
},
|
||||
"debounce": 20
|
||||
}
|
||||
|
Reference in New Issue
Block a user