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,22 +0,0 @@
/*
Copyright 2020
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Backlight */
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 6

View File

@@ -9,7 +9,9 @@
"device_version": "10.0.1"
},
"backlight": {
"pins": ["F4", "F5"]
"pins": ["F4", "F5"],
"levels": 6,
"breathing": true
},
"indicators": {
"caps_lock": "B0",