1
0
Fork 0

Move matrix config to info.json, part 1 (#19985)

This commit is contained in:
Ryan 2023-03-06 09:53:52 +11:00 committed by GitHub
parent b34d51d08d
commit 23c365b023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
502 changed files with 1299 additions and 3461 deletions

View file

@ -18,16 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { F0, B5, B4, D7, D6 }
#define MATRIX_COL_PINS { B6, C6, C7, D4, D2, D3, D5, NO_PIN } // no B7 on left hand
#define MATRIX_ROW_PINS_RIGHT { F0, B5, B4, D7, D6 }
#define MATRIX_COL_PINS_RIGHT { B6, C6, C7, D4, D2, D3, D5, B7 }
#define DIODE_DIRECTION COL2ROW
/* Split Defines */
#define SPLIT_USB_DETECT
#define MASTER_LEFT

View file

@ -8,11 +8,24 @@
"pid": "0x534D",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B6", "C6", "C7", "D4", "D2", "D3", "D5", null],
"rows": ["F0", "B5", "B4", "D7", "D6"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F4", "pin_b": "F1", "resolution": 8}
]
},
"split": {
"matrix_pins": {
"right": {
"cols": ["B6", "C6", "C7", "D4", "D2", "D3", "D5", "B7"],
"rows": ["F0", "B5", "B4", "D7", "D6"]
}
}
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {