diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-10 22:16:56 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 22:16:56 +1100 |
commit | dd086a51d82a574a55eb3b89e8943301d72296f3 (patch) | |
tree | db49e94d90e9f3a8a6cf72a9da0d5549dd2a9bcb /keyboards/linworks/whale75 | |
parent | 80661e5f1981af4d50a32d41e136e9586d5f5a43 (diff) |
Move matrix config to info.json, part 2 (#19987)
Diffstat (limited to 'keyboards/linworks/whale75')
-rw-r--r-- | keyboards/linworks/whale75/config.h | 6 | ||||
-rw-r--r-- | keyboards/linworks/whale75/info.json | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h index 19580b9464..f6ba28fd80 100644 --- a/keyboards/linworks/whale75/config.h +++ b/keyboards/linworks/whale75/config.h @@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Force USB NKRO */ #define FORCE_NKRO -#define MATRIX_ROW_PINS { B3, B4, B5, B6, B7, A0 } -#define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14, B15 } - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION COL2ROW - #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PAL_MODE 6 diff --git a/keyboards/linworks/whale75/info.json b/keyboards/linworks/whale75/info.json index b84425f6f6..009eac32a9 100644 --- a/keyboards/linworks/whale75/info.json +++ b/keyboards/linworks/whale75/info.json @@ -7,6 +7,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15"], + "rows": ["B3", "B4", "B5", "B6", "B7", "A0"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "A15", "pin_b": "A14", "resolution": 2} |