diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:32:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:32:05 +1100 |
commit | 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (patch) | |
tree | f25535b5a7d7d489b5bb77b5c8c57b24ba78a849 /keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro | |
parent | 9e64300e67720a5468c2585391250ca5579b311b (diff) |
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro')
-rw-r--r-- | keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/config.h | 10 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/info.json | 13 |
2 files changed, 12 insertions, 11 deletions
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/config.h index 902f292b10..f77cc8f309 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/config.h @@ -18,16 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -// wiring of each half -// left -#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 } -#define MATRIX_ROW_PINS { F6, F7, B1, B3, B2, B6 } -// right -#define MATRIX_COL_PINS_RIGHT { D6, D7, B4, D3, C6, C7 } -#define MATRIX_ROW_PINS_RIGHT { D4, B7, F7, B6, B5, F6 } - -#define DIODE_DIRECTION COL2ROW - //#undef USE_I2C #define MASTER_RIGHT diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/info.json index e58e87b2dd..eebc5d5546 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/info.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/arduinomicro/info.json @@ -1,7 +1,18 @@ { "keyboard_name": "Tractyl Manuform(5x6) Arduino Micro (r)/ Pro Micro (l)", + "matrix_pins": { + "cols": ["D4", "C6", "D7", "E6", "B4", "B5"], + "rows": ["F6", "F7", "B1", "B3", "B2", "B6"] + }, + "diode_direction": "COL2ROW", "split": { - "soft_serial_pin": "D0" + "soft_serial_pin": "D0", + "matrix_pins": { + "right": { + "cols": ["D6", "D7", "B4", "D3", "C6", "C7"], + "rows": ["D4", "B7", "F7", "B6", "B5", "F6"] + } + } }, "processor": "atmega32u4", "bootloader": "caterina" |