Move backlight config to data driven (#19910)
This commit is contained in:
parent
ba7546a334
commit
314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
"vid": "0xFEED",
|
||||
"pid": "0x3070"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "D2"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x6012",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "D2"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"],
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0xE401",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B7"
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue