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/xelus/dawn60/rev1 | |
parent | 80661e5f1981af4d50a32d41e136e9586d5f5a43 (diff) |
Move matrix config to info.json, part 2 (#19987)
Diffstat (limited to 'keyboards/xelus/dawn60/rev1')
-rw-r--r-- | keyboards/xelus/dawn60/rev1/config.h | 12 | ||||
-rw-r--r-- | keyboards/xelus/dawn60/rev1/info.json | 7 |
2 files changed, 7 insertions, 12 deletions
diff --git a/keyboards/xelus/dawn60/rev1/config.h b/keyboards/xelus/dawn60/rev1/config.h index 2e7f49644d..8bec078edc 100644 --- a/keyboards/xelus/dawn60/rev1/config.h +++ b/keyboards/xelus/dawn60/rev1/config.h @@ -15,22 +15,10 @@ */ #pragma once - -//no underglow - prototype -//#define MATRIX_ROW_PINS { B1, B3, B7, F6, F7 } -//#define MATRIX_COL_PINS { B0, D5, B2, F5, D2, D3, D4, D6, D7, B4, B5, B6, C6, C7 } - -//underglow -#define MATRIX_ROW_PINS { B1, B3, F1, F6, F7 } -#define MATRIX_COL_PINS { B0, D5, B2, F5, D3, D2, C7, C6, B6, B5, B4, D7, D6, D4 } - // IS31FL3731 driver #define DRIVER_COUNT 2 #define RGB_MATRIX_LED_COUNT 64 -// COL2ROW or ROW2COL -#define DIODE_DIRECTION COL2ROW - // Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap #define LOCKING_SUPPORT_ENABLE // Locking resynchronize hack diff --git a/keyboards/xelus/dawn60/rev1/info.json b/keyboards/xelus/dawn60/rev1/info.json new file mode 100644 index 0000000000..525e9d9ab0 --- /dev/null +++ b/keyboards/xelus/dawn60/rev1/info.json @@ -0,0 +1,7 @@ +{ + "matrix_pins": { + "cols": ["B0", "D5", "B2", "F5", "D3", "D2", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], + "rows": ["B1", "B3", "F1", "F6", "F7"] + }, + "diode_direction": "COL2ROW" +} |