diff options
Diffstat (limited to 'keyboards/crbn')
-rw-r--r-- | keyboards/crbn/config.h | 8 | ||||
-rw-r--r-- | keyboards/crbn/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/crbn/config.h b/keyboards/crbn/config.h index 840d8e7ca5..f7584af0bb 100644 --- a/keyboards/crbn/config.h +++ b/keyboards/crbn/config.h @@ -16,14 +16,6 @@ #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { B3, B1, F7, F6 } -#define MATRIX_COL_PINS { D3, D2, D1, D0, D4, C6, D7, E6, B4, B5, B6, B2 } - -/* 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 diff --git a/keyboards/crbn/info.json b/keyboards/crbn/info.json index 5eeedab700..63d2d92a67 100644 --- a/keyboards/crbn/info.json +++ b/keyboards/crbn/info.json @@ -8,6 +8,11 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2"], + "rows": ["B3", "B1", "F7", "F6"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "F5", "pin_b": "F4", "resolution": 2} |