summaryrefslogtreecommitdiff
path: root/keyboards/sergiopoverony/creator_pro
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/sergiopoverony/creator_pro
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/sergiopoverony/creator_pro')
-rw-r--r--keyboards/sergiopoverony/creator_pro/config.h10
-rw-r--r--keyboards/sergiopoverony/creator_pro/info.json5
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/sergiopoverony/creator_pro/config.h b/keyboards/sergiopoverony/creator_pro/config.h
index 0f4ec182a4..08941df1ac 100644
--- a/keyboards/sergiopoverony/creator_pro/config.h
+++ b/keyboards/sergiopoverony/creator_pro/config.h
@@ -16,16 +16,6 @@
#pragma once
-/* key matrix size pins */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 9
-#define DIRECT_PINS { \
- { D1, D4, C6, D7, \
- E6, \
- B2, B3, B1, F7 } \
-}
-
-
/*led layout indication pins*/
#define RED_LED D0
#define BLUE_LED B5
diff --git a/keyboards/sergiopoverony/creator_pro/info.json b/keyboards/sergiopoverony/creator_pro/info.json
index a59d0824fb..5b7a061e24 100644
--- a/keyboards/sergiopoverony/creator_pro/info.json
+++ b/keyboards/sergiopoverony/creator_pro/info.json
@@ -10,6 +10,11 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["D1", "D4", "C6", "D7", "E6", "B2", "B3", "B1", "F7"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [