1
0
Fork 0

Move matrix config to info.json, part 6 (#20019)

This commit is contained in:
Ryan 2023-03-11 00:32:05 +11:00 committed by GitHub
parent 9e64300e67
commit 76cc7fe109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
702 changed files with 1779 additions and 5015 deletions

View file

@ -23,18 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SPLIT_USB_DETECT
// wiring of each half
#define MATRIX_COL_PINS \
{ D1, D4, C6, D7, E6, B4, B5 }
#define MATRIX_ROW_PINS \
{ F4, F5, F6, F7, B1 }
#define MATRIX_COL_PINS_RIGHT \
{ B5, B4, E6, D7, C6, D4, D1 }
#define DIODE_DIRECTION COL2ROW
/* mouse config */
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0

View file

@ -8,6 +8,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["D1", "D4", "C6", "D7", "E6", "B4", "B5"],
"rows": ["F4", "F5", "F6", "F7", "B1"]
},
"diode_direction": "COL2ROW",
"bootmagic": {
"matrix": [0, 6]
},
@ -15,6 +20,11 @@
"soft_serial_pin": "D0",
"bootmagic": {
"matrix": [5, 0]
},
"matrix_pins": {
"right": {
"cols": ["B5", "B4", "E6", "D7", "C6", "D4", "D1"]
}
}
},
"processor": "atmega32u4",