Move backlight config to data driven (#19910)

This commit is contained in:
Ryan
2023-02-26 08:37:57 +11:00
committed by GitHub
parent ba7546a334
commit 314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions

View File

@@ -9,16 +9,11 @@
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_PIN D0
#define RGB_DI_PIN D5
#ifdef RGB_DI_PIN
#define RGBLED_NUM 3

View File

@@ -6,6 +6,11 @@
"pid": "0xAA99",
"device_version": "0.0.2"
},
"backlight": {
"pin": "D0",
"levels": 5,
"breathing": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {