summaryrefslogtreecommitdiffstats
path: root/keyboards/durgod/dgk6x/hades
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:00:24 +1100
committerGitHub <noreply@github.com>2023-03-11 00:00:24 +1100
commit9e64300e67720a5468c2585391250ca5579b311b (patch)
treed8c471bb33cd5d0e38e90d925d69b3c6b3cb2d59 /keyboards/durgod/dgk6x/hades
parentdd086a51d82a574a55eb3b89e8943301d72296f3 (diff)
Move matrix config to info.json, part 4 (#20001)
Diffstat (limited to 'keyboards/durgod/dgk6x/hades')
-rw-r--r--keyboards/durgod/dgk6x/hades/config.h7
-rw-r--r--keyboards/durgod/dgk6x/hades/info.json5
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/durgod/dgk6x/hades/config.h b/keyboards/durgod/dgk6x/hades/config.h
index ff390f5b2e..b1b29b182a 100644
--- a/keyboards/durgod/dgk6x/hades/config.h
+++ b/keyboards/durgod/dgk6x/hades/config.h
@@ -16,13 +16,6 @@
#pragma once
-
-/* key matrix rows */
-#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 }
-
-/* key matrix columns */
-#define MATRIX_COL_PINS { B0, B1, B2, B10, B11, B12, B13, B14, B15, C6, C7, C8, C9, C10, C11 }
-
#ifdef RGB_MATRIX_ENABLE
#define DRIVER_1_LED_TOTAL 58
#define DRIVER_2_LED_TOTAL 10
diff --git a/keyboards/durgod/dgk6x/hades/info.json b/keyboards/durgod/dgk6x/hades/info.json
index 2ebd9c8a41..f553a06c9b 100644
--- a/keyboards/durgod/dgk6x/hades/info.json
+++ b/keyboards/durgod/dgk6x/hades/info.json
@@ -8,6 +8,11 @@
"pid": "0x4AD3",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "C6", "C7", "C8", "C9", "C10", "C11"],
+ "rows": ["A0", "A1", "A2", "A3", "A4"]
+ },
+ "diode_direction": "ROW2COL",
"community_layouts": ["65_ansi"],
"layouts": {
"LAYOUT_65_ansi": {