Move LED indicator config to data driven (#19800)

This commit is contained in:
Ryan
2023-02-17 13:14:29 +11:00
committed by GitHub
parent d784f78bd0
commit f4ba17c4a0
979 changed files with 1935 additions and 2171 deletions

View File

@@ -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

View File

@@ -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"
}