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

@@ -31,7 +31,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B7, A2, A1, A3, A4, A5 }
#define MATRIX_COL_PINS { B6, B5, B3, B2, B1, B0, A0, A6, A7, C7, C6, C5, C4, D1, D0 }
#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_BREATHING

View File

@@ -3,6 +3,11 @@
"usb": {
"device_version": "0.0.1"
},
"backlight": {
"pin": "D4",
"levels": 5,
"breathing": true
},
"indicators": {
"caps_lock": "D7",
"num_lock": "D6",

View File

@@ -32,7 +32,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A4, B12, B13, B14, B15, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A3, C13, B7, B6, B5, B4, B3 }
#define BACKLIGHT_PIN B8
#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_PWM_DRIVER PWMD4
#define BACKLIGHT_BREATHING

View File

@@ -3,6 +3,11 @@
"usb": {
"device_version": "0.0.2"
},
"backlight": {
"pin": "B8",
"levels": 5,
"breathing": true
},
"indicators": {
"caps_lock": "B9",
"num_lock": "C15",