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

@ -19,9 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define BACKLIGHT_LEVELS 12
#define RGB_DI_PIN E2
#define RGBLED_NUM 16
#define RGBLIGHT_EFFECT_BREATHING

View file

@ -21,5 +21,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 }
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define BACKLIGHT_PIN D4
#define DIODE_DIRECTION COL2ROW

View file

@ -2,6 +2,10 @@
"usb": {
"device_version": "1.0.0"
},
"backlight": {
"pin": "D4",
"levels": 12
},
"indicators": {
"caps_lock": "D1"
},

View file

@ -2,5 +2,4 @@
#define MATRIX_ROW_PINS { B7, B6, B5, B4, B3, B0 }
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define BACKLIGHT_PIN D4
#define DIODE_DIRECTION COL2ROW

View file

@ -2,6 +2,10 @@
"usb": {
"device_version": "2.0.0"
},
"backlight": {
"pin": "D4",
"levels": 12
},
"indicators": {
"caps_lock": "D1"
},

View file

@ -2,6 +2,5 @@
#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
#define BACKLIGHT_PIN B6 // change the backlight pin that has since changed in Rev 3
#define DIODE_DIRECTION ROW2COL
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4

View file

@ -2,6 +2,10 @@
"usb": {
"device_version": "3.0.0"
},
"backlight": {
"pin": "B6",
"levels": 12
},
"indicators": {
"caps_lock": "C7"
},