diff options
Diffstat (limited to 'keyboards/handwired/d48')
-rw-r--r-- | keyboards/handwired/d48/config.h | 9 | ||||
-rw-r--r-- | keyboards/handwired/d48/d48.c | 1 | ||||
-rw-r--r-- | keyboards/handwired/d48/info.json | 5 | ||||
-rw-r--r-- | keyboards/handwired/d48/taphold.h | 2 |
4 files changed, 7 insertions, 10 deletions
diff --git a/keyboards/handwired/d48/config.h b/keyboards/handwired/d48/config.h index 23dbfa831c..c793057a92 100644 --- a/keyboards/handwired/d48/config.h +++ b/keyboards/handwired/d48/config.h @@ -1,14 +1,5 @@ #pragma once - -/* Key matrix pins */ -#define MATRIX_ROW_PINS { B8, B9, B1, B2, B4 } - -#define MATRIX_COL_PINS { A2, B0, A7, A8, A13, A14, B12, B11, B10, B15, B14, B13 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* RGB Underglow */ #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN A15 diff --git a/keyboards/handwired/d48/d48.c b/keyboards/handwired/d48/d48.c deleted file mode 100644 index 3cc2097bf8..0000000000 --- a/keyboards/handwired/d48/d48.c +++ /dev/null @@ -1 +0,0 @@ -#include "d48.h" diff --git a/keyboards/handwired/d48/info.json b/keyboards/handwired/d48/info.json index c607f21937..08c9e6a1f8 100644 --- a/keyboards/handwired/d48/info.json +++ b/keyboards/handwired/d48/info.json @@ -8,6 +8,11 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A2", "B0", "A7", "A8", "A13", "A14", "B12", "B11", "B10", "B15", "B14", "B13"], + "rows": ["B8", "B9", "B1", "B2", "B4"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "B3", "pin_b": "A6"}, diff --git a/keyboards/handwired/d48/taphold.h b/keyboards/handwired/d48/taphold.h index 3bc5ca0275..2a691aa63f 100644 --- a/keyboards/handwired/d48/taphold.h +++ b/keyboards/handwired/d48/taphold.h @@ -1,3 +1,5 @@ +#pragma once + #include "quantum.h" typedef enum taphold_mode_t { |