From 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 00:32:05 +1100 Subject: Move matrix config to info.json, part 6 (#20019) --- keyboards/handwired/splittest/teensy_2/config.h | 3 --- keyboards/handwired/splittest/teensy_2/info.json | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'keyboards/handwired/splittest/teensy_2') diff --git a/keyboards/handwired/splittest/teensy_2/config.h b/keyboards/handwired/splittest/teensy_2/config.h index 7b77a5e36b..6b52516807 100644 --- a/keyboards/handwired/splittest/teensy_2/config.h +++ b/keyboards/handwired/splittest/teensy_2/config.h @@ -20,9 +20,6 @@ // use I2C on AVR #define USE_I2C -// wiring of each half -#define MATRIX_ROW_PINS { F5 } -#define MATRIX_COL_PINS { F7 } #define SPLIT_HAND_PIN F0 /* ws2812 RGB LED */ diff --git a/keyboards/handwired/splittest/teensy_2/info.json b/keyboards/handwired/splittest/teensy_2/info.json index a67cb4e2f2..f6fd6faf33 100644 --- a/keyboards/handwired/splittest/teensy_2/info.json +++ b/keyboards/handwired/splittest/teensy_2/info.json @@ -1,4 +1,9 @@ { + "matrix_pins": { + "cols": ["F7"], + "rows": ["F5"] + }, + "diode_direction": "COL2ROW", "split": { "soft_serial_pin": "D1" }, -- cgit v1.2.3