summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/scramble/v1
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-14 18:39:41 +1100
committerGitHub <noreply@github.com>2023-02-14 00:39:41 -0700
commit2cdf99ae950a82e233482347651b7689c4896827 (patch)
treef26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/nullbitsco/scramble/v1
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/nullbitsco/scramble/v1')
-rw-r--r--keyboards/nullbitsco/scramble/v1/config.h7
-rw-r--r--keyboards/nullbitsco/scramble/v1/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/nullbitsco/scramble/v1/config.h b/keyboards/nullbitsco/scramble/v1/config.h
index 6f512db4c5..6a7742ce87 100644
--- a/keyboards/nullbitsco/scramble/v1/config.h
+++ b/keyboards/nullbitsco/scramble/v1/config.h
@@ -19,13 +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 {{D4,D5,B1}, {C3,C2,C1}}
-
/* Optional encoder pins */
#define ENCODERS_PAD_A { D6 }
#define ENCODERS_PAD_B { D7 }
diff --git a/keyboards/nullbitsco/scramble/v1/info.json b/keyboards/nullbitsco/scramble/v1/info.json
index 11307eba89..0acb699373 100644
--- a/keyboards/nullbitsco/scramble/v1/info.json
+++ b/keyboards/nullbitsco/scramble/v1/info.json
@@ -1,4 +1,10 @@
{
"processor": "atmega328p",
- "bootloader": "usbasploader"
+ "bootloader": "usbasploader",
+ "matrix_pins": {
+ "direct": [
+ ["D4", "D5", "B1"],
+ ["C3", "C2", "C1"]
+ ]
+ }
}