summaryrefslogtreecommitdiff
path: root/keyboards/dekunukem/duckypad
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/dekunukem/duckypad
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/dekunukem/duckypad')
-rw-r--r--keyboards/dekunukem/duckypad/config.h6
-rw-r--r--keyboards/dekunukem/duckypad/info.json5
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/dekunukem/duckypad/config.h b/keyboards/dekunukem/duckypad/config.h
index 6b6bd14445..cbf99d1f5d 100644
--- a/keyboards/dekunukem/duckypad/config.h
+++ b/keyboards/dekunukem/duckypad/config.h
@@ -20,12 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 17
-
-#define DIRECT_PINS {{ B13, B14, B15, A8, A15, B3, B4, B5, B6, B7, C13, C14, C15, F0, F1, A1, A2 }}
-
#define RGB_DI_PIN A10
#define RGBLED_NUM 15
#define RGB_MATRIX_LED_COUNT 15
diff --git a/keyboards/dekunukem/duckypad/info.json b/keyboards/dekunukem/duckypad/info.json
index fa31c1df22..06c2727080 100644
--- a/keyboards/dekunukem/duckypad/info.json
+++ b/keyboards/dekunukem/duckypad/info.json
@@ -10,6 +10,11 @@
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
+ "matrix_pins": {
+ "direct": [
+ ["B13", "B14", "B15", "A8", "A15", "B3", "B4", "B5", "B6", "B7", "C13", "C14", "C15", "F0", "F1", "A1", "A2"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [