diff options
| author | Ryan | 2023-02-14 08:39:41 +0100 |
|---|---|---|
| committer | GitHub | 2023-02-14 08:39:41 +0100 |
| commit | 2cdf99ae950a82e233482347651b7689c4896827 (patch) | |
| tree | f26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/nullbitsco/scramble/v2 | |
| parent | 0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff) | |
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/nullbitsco/scramble/v2')
| -rw-r--r-- | keyboards/nullbitsco/scramble/v2/config.h | 6 | ||||
| -rw-r--r-- | keyboards/nullbitsco/scramble/v2/info.json | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/nullbitsco/scramble/v2/config.h b/keyboards/nullbitsco/scramble/v2/config.h index b4d7820aad..dd2ae62749 100644 --- a/keyboards/nullbitsco/scramble/v2/config.h +++ b/keyboards/nullbitsco/scramble/v2/config.h @@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -/* key matrix size */ -#define MATRIX_ROWS 2 -#define MATRIX_COLS 3 - -#define DIRECT_PINS {{GP6,GP8,GP10}, {GP29,GP28,GP22}} - /* Optional encoder pins */ #define ENCODERS_PAD_A { GP24 } #define ENCODERS_PAD_B { GP25 } diff --git a/keyboards/nullbitsco/scramble/v2/info.json b/keyboards/nullbitsco/scramble/v2/info.json index 87b7fcf7ec..ba27823b36 100644 --- a/keyboards/nullbitsco/scramble/v2/info.json +++ b/keyboards/nullbitsco/scramble/v2/info.json @@ -1,4 +1,10 @@ { "processor": "RP2040", - "bootloader": "rp2040" + "bootloader": "rp2040", + "matrix_pins": { + "direct": [ + ["GP6", "GP8", "GP10"], + ["GP29", "GP28", "GP22"] + ] + } } |