diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 05:41:58 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 05:41:58 +1100 |
commit | e933e0411f442fa411d3d5ec488180fee241e2ef (patch) | |
tree | f091f00a1408d752389385ff793c2878ec99e368 /keyboards/weirdo/naiping/nphhkb | |
parent | 1022afa6c24a64c78d1c9be99a695ff5335876f7 (diff) |
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/weirdo/naiping/nphhkb')
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/config.h | 4 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/weirdo/naiping/nphhkb/config.h b/keyboards/weirdo/naiping/nphhkb/config.h index 43b8d1c32e..683ba29edc 100644 --- a/keyboards/weirdo/naiping/nphhkb/config.h +++ b/keyboards/weirdo/naiping/nphhkb/config.h @@ -15,10 +15,6 @@ */ #pragma once -#define MATRIX_COL_PINS { A4, C15, C14, A5, A6, A15, B1, B10, B12, B13, B14, B15, B6, A8, B5} -#define MATRIX_ROW_PINS { B7, B8, B9, C13, B4} -#define DIODE_DIRECTION ROW2COL - #define RGB_DI_PIN A7 #define RGBLED_NUM 78 //#define RGBLIGHT_DISABLE_KEYCODES diff --git a/keyboards/weirdo/naiping/nphhkb/info.json b/keyboards/weirdo/naiping/nphhkb/info.json index b1b1c1f23d..c0df6fb453 100644 --- a/keyboards/weirdo/naiping/nphhkb/info.json +++ b/keyboards/weirdo/naiping/nphhkb/info.json @@ -8,6 +8,11 @@ "pid": "0x7068", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A4", "C15", "C14", "A5", "A6", "A15", "B1", "B10", "B12", "B13", "B14", "B15", "B6", "A8", "B5"], + "rows": ["B7", "B8", "B9", "C13", "B4"] + }, + "diode_direction": "ROW2COL", "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C", |