diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:00:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:00:24 +1100 |
commit | 9e64300e67720a5468c2585391250ca5579b311b (patch) | |
tree | d8c471bb33cd5d0e38e90d925d69b3c6b3cb2d59 /keyboards/dumbpad/v1x_right | |
parent | dd086a51d82a574a55eb3b89e8943301d72296f3 (diff) |
Move matrix config to info.json, part 4 (#20001)
Diffstat (limited to 'keyboards/dumbpad/v1x_right')
-rw-r--r-- | keyboards/dumbpad/v1x_right/config.h | 5 | ||||
-rw-r--r-- | keyboards/dumbpad/v1x_right/info.json | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/dumbpad/v1x_right/config.h b/keyboards/dumbpad/v1x_right/config.h index 82f308f651..200ce056a7 100644 --- a/keyboards/dumbpad/v1x_right/config.h +++ b/keyboards/dumbpad/v1x_right/config.h @@ -16,11 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once - -/* Column/Row IO definitions */ -#define MATRIX_ROW_PINS { F4, F5, F6, F7 } -#define MATRIX_COL_PINS { B5, B4, E6, D7, C6 } - /* Onboard LEDs - reversed */ #define LED_00 B3 #define LED_01 B1 diff --git a/keyboards/dumbpad/v1x_right/info.json b/keyboards/dumbpad/v1x_right/info.json index 6cef09807b..ff07570f9e 100644 --- a/keyboards/dumbpad/v1x_right/info.json +++ b/keyboards/dumbpad/v1x_right/info.json @@ -2,6 +2,11 @@ "usb": { "device_version": "0.1.0" }, + "matrix_pins": { + "cols": ["B5", "B4", "E6", "D7", "C6"], + "rows": ["F4", "F5", "F6", "F7"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "D4", "pin_b": "B2"} |