diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 04:59:07 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 04:59:07 +1100 |
commit | 1022afa6c24a64c78d1c9be99a695ff5335876f7 (patch) | |
tree | d5891c76ad09f9c0177ef11753796e31f6cfbc19 /keyboards/kprepublic/bm80v2 | |
parent | 4b1f0e8daa8cfacbbc3cdc22653e2bc1458cea96 (diff) |
Move matrix config to info.json, part 8 (#20030)
Diffstat (limited to 'keyboards/kprepublic/bm80v2')
-rw-r--r-- | keyboards/kprepublic/bm80v2/config.h | 7 | ||||
-rw-r--r-- | keyboards/kprepublic/bm80v2/info.json | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/kprepublic/bm80v2/config.h b/keyboards/kprepublic/bm80v2/config.h index 2562d113fe..98a784d638 100644 --- a/keyboards/kprepublic/bm80v2/config.h +++ b/keyboards/kprepublic/bm80v2/config.h @@ -14,13 +14,6 @@ */ #pragma once - -#define MATRIX_ROW_PINS { C7, C6, B6, F5, F7, F6 } -#define MATRIX_COL_PINS { E6, F0, F1, F4, D7, D6, B7, B1, B0, B2, B3, D3, D5, D4, D2, B4, B5 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION ROW2COL - #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/kprepublic/bm80v2/info.json b/keyboards/kprepublic/bm80v2/info.json index f7d153f42c..aff5ae393f 100644 --- a/keyboards/kprepublic/bm80v2/info.json +++ b/keyboards/kprepublic/bm80v2/info.json @@ -8,6 +8,11 @@ "pid": "0x1141", "device_version": "0.0.2" }, + "matrix_pins": { + "cols": ["E6", "F0", "F1", "F4", "D7", "D6", "B7", "B1", "B0", "B2", "B3", "D3", "D5", "D4", "D2", "B4", "B5"], + "rows": ["C7", "C6", "B6", "F5", "F7", "F6"] + }, + "diode_direction": "ROW2COL", "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["tkl_ansi"], |