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

@ -20,16 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MASTER_LEFT // Comment this line for the right half firmware
// wiring of each half
#define MATRIX_ROW_PINS { F5, B1, F6, B3, F7 }
#define MATRIX_COL_PINS { B2, B6, D4, C6, D7, E6, B4, B5 }
#define MATRIX_ROW_PINS_RIGHT { C6, D7, B4, E6, D4 }
#define MATRIX_COL_PINS_RIGHT { B1, B3, B2, B6, F7, B5, F6, F5 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View file

@ -8,8 +8,19 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B2", "B6", "D4", "C6", "D7", "E6", "B4", "B5"],
"rows": ["F5", "B1", "F6", "B3", "F7"]
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D0"
"soft_serial_pin": "D0",
"matrix_pins": {
"right": {
"cols": ["B1", "B3", "B2", "B6", "F7", "B5", "F6", "F5"],
"rows": ["C6", "D7", "B4", "E6", "D4"]
}
}
},
"processor": "atmega32u4",
"bootloader": "caterina",