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

@ -30,7 +30,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 }
#define BACKLIGHT_PIN B8
#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PWM_CHANNEL 3

View file

@ -4,6 +4,10 @@
"pid": "0x6509",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B8",
"breathing": true
},
"indicators": {
"caps_lock": "B9"
},

View file

@ -29,6 +29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 }
#define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 }
#define BACKLIGHT_PIN D4
#define BACKLIGHT_BREATHING

View file

@ -4,6 +4,10 @@
"pid": "0x6509",
"device_version": "0.0.2"
},
"backlight": {
"pin": "D4",
"breathing": true
},
"indicators": {
"caps_lock": "A7"
},