summaryrefslogtreecommitdiff
path: root/keyboards/rart/rartpad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rart/rartpad')
-rw-r--r--keyboards/rart/rartpad/config.h8
-rw-r--r--keyboards/rart/rartpad/info.json5
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/rart/rartpad/config.h b/keyboards/rart/rartpad/config.h
index 4a8e14be49..344ebec135 100644
--- a/keyboards/rart/rartpad/config.h
+++ b/keyboards/rart/rartpad/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B6, F6, D0, D4, C6 }
-#define MATRIX_COL_PINS { B2, D1, D2, D3 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/rart/rartpad/info.json b/keyboards/rart/rartpad/info.json
index 016b0c49c8..3d1fba3231 100644
--- a/keyboards/rart/rartpad/info.json
+++ b/keyboards/rart/rartpad/info.json
@@ -8,6 +8,11 @@
"pid": "0x0050",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B2", "D1", "D2", "D3"],
+ "rows": ["B6", "F6", "D0", "D4", "C6"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B3", "pin_b": "B1"},