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

@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 }
#define MATRIX_COL_PINS { D1 }
#define BACKLIGHT_PIN D2
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

View file

@ -7,6 +7,9 @@
"vid": "0xFEED",
"pid": "0x3070"
},
"backlight": {
"pin": "D2"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View file

@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_PIN D2
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -8,6 +8,9 @@
"pid": "0x6012",
"device_version": "0.0.1"
},
"backlight": {
"pin": "D2"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { E6, F0, F5, F6, F7 }
#define MATRIX_COL_PINS { F1, F4, B1, B2, B3, B7, D1, D2, D4, D6, D7, B4 }
#define BACKLIGHT_PIN D0
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

View file

@ -8,6 +8,9 @@
"pid": "0x6017",
"device_version": "0.0.1"
},
"backlight": {
"pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x12", "ortho_4x12"],

View file

@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
/* ws2812 RGB LED */
#define RGB_DI_PIN B2
#define RGBLED_NUM 12 // Number of LEDs (each hand)

View file

@ -8,6 +8,9 @@
"pid": "0xE401",
"device_version": "1.0.0"
},
"backlight": {
"pin": "B7"
},
"split": {
"soft_serial_pin": "D0"
},