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

@@ -1,10 +1,5 @@
#pragma once
/* Backlight configuration
*/
#define BACKLIGHT_LEVELS 1
/* Underlight configuration
*/
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1

View File

@@ -50,6 +50,10 @@
"pid": "0x2320",
"vid": "0xC1ED"
},
"backlight": {
"driver": "custom",
"levels": 1
},
"community_layouts": ["66_ansi", "66_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"

View File

@@ -1,2 +0,0 @@
# Build Options
BACKLIGHT_DRIVER = custom

View File

@@ -1,10 +1,5 @@
#pragma once
/* Backlight configuration
*/
#define BACKLIGHT_LEVELS 1
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
#define RGBLIGHT_EFFECT_BREATHE_MAX 200
#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2

View File

@@ -50,6 +50,10 @@
"pid": "0x2370",
"vid": "0xC1ED"
},
"backlight": {
"driver": "custom",
"levels": 1
},
"community_layouts": ["66_ansi", "66_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"

View File

@@ -1 +0,0 @@
BACKLIGHT_DRIVER = custom