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

@@ -65,11 +65,6 @@
#define ENCODER_RESOLUTION 2
#define TAP_CODE_DELAY 15
/* Lock LEDs */
#define LED_NUM_LOCK_PIN A0
#define LED_CAPS_LOCK_PIN A1
#define LED_SCROLL_LOCK_PIN A2
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -8,6 +8,11 @@
"pid": "0x4176",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A1",
"num_lock": "A0",
"scroll_lock": "A2"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {