diff options
Diffstat (limited to 'keyboards/hub20')
-rw-r--r-- | keyboards/hub20/config.h | 6 | ||||
-rw-r--r-- | keyboards/hub20/info.json | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/hub20/config.h b/keyboards/hub20/config.h index 41a98ac983..c619b2d24d 100644 --- a/keyboards/hub20/config.h +++ b/keyboards/hub20/config.h @@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define MATRIX_ROW_PINS { A13, B14, A10, A0, A2, A1 } -#define MATRIX_COL_PINS { A6, A7, B7, B6 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define RGB_DI_PIN B15 #define RGBLED_NUM 27 diff --git a/keyboards/hub20/info.json b/keyboards/hub20/info.json index 10ec779fdf..a577b70f6b 100644 --- a/keyboards/hub20/info.json +++ b/keyboards/hub20/info.json @@ -8,6 +8,11 @@ "pid": "0x4414", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A6", "A7", "B7", "B6"], + "rows": ["A13", "B14", "A10", "A0", "A2", "A1"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "B12", "pin_b": "B13"}, |