Move matrix config to info.json, part 8 (#20030)

This commit is contained in:
Ryan
2023-03-11 04:59:07 +11:00
committed by GitHub
parent 4b1f0e8daa
commit 1022afa6c2
536 changed files with 1507 additions and 3196 deletions

View File

@@ -17,16 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { B1, F0, F5, F6, F7 }
#define MATRIX_COL_PINS { F1, F4, D3, D2, B7, D4 }
#define MATRIX_ROW_PINS_RIGHT { B1, B2, D2, F1, F4 }
#define MATRIX_COL_PINS_RIGHT { D4, D7, D3, B7, F0, B3 }
#define SPLIT_HAND_PIN D5
/* 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

@@ -4,6 +4,11 @@
"pid": "0x4256",
"device_version": "4.0.0"
},
"matrix_pins": {
"cols": ["F1", "F4", "D3", "D2", "B7", "D4"],
"rows": ["B1", "F0", "F5", "F6", "F7"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B2", "pin_b": "B3"}
@@ -27,6 +32,12 @@
{"pin_a": "F7", "pin_b": "F6"}
]
}
},
"matrix_pins": {
"right": {
"cols": ["D4", "D7", "D3", "B7", "F0", "B3"],
"rows": ["B1", "B2", "D2", "F1", "F4"]
}
}
},
"processor": "atmega32u4",