Move matrix config to info.json, part 4 (#20001)

This commit is contained in:
Ryan
2023-03-11 00:00:24 +11:00
committed by GitHub
parent dd086a51d8
commit 9e64300e67
584 changed files with 1484 additions and 3703 deletions

View File

@@ -17,12 +17,6 @@
#pragma once
/* Key matrix configuration. */
#define MATRIX_ROW_PINS \
{ GP4, GP5, GP28, GP26 }
#define MATRIX_COL_PINS \
{ GP8, GP9, GP7, GP6, GP27 }
/* Handedness. */
#define SPLIT_HAND_PIN GP29
#define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.

View File

@@ -1,5 +1,10 @@
{
"keyboard_name": "Dilemma (3x5+2) Assembled",
"matrix_pins": {
"cols": ["GP8", "GP9", "GP7", "GP6", "GP27"],
"rows": ["GP4", "GP5", "GP28", "GP26"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "GP1"
},

View File

@@ -17,12 +17,6 @@
#pragma once
/* Key matrix configuration. */
#define MATRIX_ROW_PINS \
{ GP4, GP5, GP28, GP26 }
#define MATRIX_COL_PINS \
{ GP8, GP9, GP7, GP6, GP27 }
/* Handedness. */
#define MASTER_RIGHT

View File

@@ -1,5 +1,10 @@
{
"keyboard_name": "Dilemma (3x5+2) Splinky",
"matrix_pins": {
"cols": ["GP8", "GP9", "GP7", "GP6", "GP27"],
"rows": ["GP4", "GP5", "GP28", "GP26"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "GP1"
},

View File

@@ -17,12 +17,6 @@
#pragma once
/* Key matrix configuration. */
#define MATRIX_ROW_PINS \
{ GP4, GP5, GP27, GP26 }
#define MATRIX_COL_PINS \
{ GP8, GP9, GP7, GP6, GP28 }
/* Handedness. */
#define SPLIT_HAND_PIN GP29
#define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.

View File

@@ -4,6 +4,11 @@
"device_version": "2.0.0",
"pid": "0x1835"
},
"matrix_pins": {
"cols": ["GP8", "GP9", "GP7", "GP6", "GP28"],
"rows": ["GP4", "GP5", "GP27", "GP26"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "GP1"
},

View File

@@ -18,9 +18,6 @@
#pragma once
#define DIODE_DIRECTION ROW2COL
/* Pointing device configuration. */
// Enable use of pointing device on slave split.