1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1003 changed files with 1873 additions and 1684 deletions

View file

@ -24,8 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_LEVELS 10
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -9,7 +9,9 @@
"device_version": "0.0.2"
},
"backlight": {
"pins": ["B1", "B2", "B3", "E6"]
"driver": "custom",
"pins": ["B1", "B2", "B3", "E6"],
"levels": 10
},
"bootmagic": {
"matrix": [4, 10]

View file

@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
BACKLIGHT_DRIVER = custom
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes