1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
584 changed files with 1484 additions and 3703 deletions

View file

@ -16,11 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Column/Row IO definitions - dualencoder version is true 4x4 */
#define MATRIX_ROW_PINS { F4, F5, F6, F7 }
#define MATRIX_COL_PINS { D7, E6, B4, B5 }
/* Onboard LEDs */
#define LED_00 B3
#define LED_01 B1

View file

@ -2,6 +2,11 @@
"usb": {
"device_version": "0.0.6"
},
"matrix_pins": {
"cols": ["D7", "E6", "B4", "B5"],
"rows": ["F4", "F5", "F6", "F7"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "C6", "pin_b": "D4"},