1
0
Fork 0

Move matrix config to info.json, part 8 (#20030)

This commit is contained in:
Ryan 2023-03-11 04:59:07 +11:00 committed by GitHub
parent 4b1f0e8daa
commit 1022afa6c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
536 changed files with 1507 additions and 3196 deletions

View file

@ -17,16 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { B1, F0, F5, B4, D7 }
#define MATRIX_COL_PINS { F1, F4, B5, C7, D4, D6 }
#define MATRIX_ROW_PINS_RIGHT { B1, F0, F5, B4, B5 }
#define MATRIX_COL_PINS_RIGHT { D4, D6, D7, C7, F1, F4 }
#define SPLIT_HAND_PIN D5
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* ws2812 RGB LED */
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN

View file

@ -4,6 +4,11 @@
"pid": "0x7256",
"device_version": "7.0.0"
},
"matrix_pins": {
"cols": ["F1", "F4", "B5", "C7", "D4", "D6"],
"rows": ["B1", "F0", "F5", "B4", "D7"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B3", "pin_b": "B2"},
@ -11,7 +16,13 @@
]
},
"split": {
"soft_serial_pin": "D0"
"soft_serial_pin": "D0",
"matrix_pins": {
"right": {
"cols": ["D4", "D6", "D7", "C7", "F1", "F4"],
"rows": ["B1", "F0", "F5", "B4", "B5"]
}
}
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"