Move matrix config to info.json, part 7 (#20020)

This commit is contained in:
Ryan 2023-03-11 00:39:56 +11:00 committed by GitHub
parent ace372d90d
commit caa8c81086
Failed to generate hash of commit
421 changed files with 1081 additions and 3038 deletions

View file

@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* Let's Split EH? pin-out */
#define MATRIX_ROW_PINS { B1, B3, D7, B4 }
#define MATRIX_COL_PINS { F4, F5, C6, B6, B5, D5 }
#define DIODE_DIRECTION COL2ROW
/* ws2812 RGB LED */
#define RGB_DI_PIN B2
#define RGBLED_NUM 12 // Number of LEDs (each hand)

View file

@ -8,6 +8,11 @@
"pid": "0xE401",
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["F4", "F5", "C6", "B6", "B5", "D5"],
"rows": ["B1", "B3", "D7", "B4"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7"
},