Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -16,11 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
/* Column/Row IO definitions */
|
||||
#define MATRIX_ROW_PINS { F4, F5 }
|
||||
#define MATRIX_COL_PINS { B3, B2, B6 }
|
||||
|
||||
/* Onboard LEDs */
|
||||
#define LED_00 F6
|
||||
#define LED_01 F7
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0913",
|
||||
"device_version": "0.1.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B3", "B2", "B6"],
|
||||
"rows": ["F4", "F5"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D1", "pin_b": "D0"},
|
||||
|
Reference in New Issue
Block a user