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/elite_c | |
parent | 9e64300e67720a5468c2585391250ca5579b311b (diff) |
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/handwired/tractyl_manuform/5x6_right/elite_c')
-rw-r--r-- | keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h | 8 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h index c52610e9d3..b472107f42 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h @@ -18,14 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -// wiring of each half -#define MATRIX_COL_PINS \ - { D4, D7, E6, B4, B5, B7 } -#define MATRIX_ROW_PINS \ - { F7, F6, F5, F4, F1, F0 } - -#define DIODE_DIRECTION COL2ROW - // WS2812 RGB LED strip input and number of LEDs #define RGB_DI_PIN D3 #define RGBLED_NUM 20 diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json index dabab602dd..7300efd02b 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json @@ -1,5 +1,10 @@ { "keyboard_name": "Tractyl Manuform (5x6) Elite-C", + "matrix_pins": { + "cols": ["D4", "D7", "E6", "B4", "B5", "B7"], + "rows": ["F7", "F6", "F5", "F4", "F1", "F0"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "D5", "pin_b": "C7"} |