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

@@ -28,10 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
/* Indicator LEDs */
#define LED_CAPS_LOCK_PIN A14
#define LED_PIN_ON_STATE 0
/* RGB options */
#define RGB_DI_PIN B4

View File

@@ -8,6 +8,10 @@
"pid": "0x4E4F",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A14",
"on_state": 0
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@@ -28,10 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
/* Indicator LEDs */
#define LED_CAPS_LOCK_PIN A2
#define LED_PIN_ON_STATE 0
/* RGB options */
#define RGB_DI_PIN B0

View File

@@ -8,6 +8,10 @@
"pid": "0x4E50",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "A2",
"on_state": 0
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {