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

@@ -43,10 +43,4 @@
// https://forum.pjrc.com/threads/47256-What-is-the-power-consumption-of-the-Teensy-3-6
#define USB_MAX_POWER_CONSUMPTION 100
#define LED_PIN_ON_STATE 0
#define LED_NUM_LOCK_PIN A14
#define LED_CAPS_LOCK_PIN C7
#define LED_SCROLL_LOCK_PIN A5
#define LED_COMPOSE_PIN E26
#define EEPROM_SIZE 4096

View File

@@ -6,6 +6,13 @@
"pid": "0x345C",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "C7",
"num_lock": "A14",
"scroll_lock": "A5",
"compose": "E26",
"on_state": 0
},
"processor": "MK66FX1M0",
"bootloader": "halfkay",
"debounce": 20