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

@@ -58,9 +58,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 3
#endif
#define LED_CAPS_LOCK_PIN C7
#define LED_PIN_ON_STATE 0
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */

View File

@@ -6,6 +6,10 @@
"vid": "0x6964",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "C7",
"on_state": 0
},
"bootmagic": {
"matrix": [0, 5]
},