summaryrefslogtreecommitdiff
path: root/keyboards/adm42
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/adm42')
-rw-r--r--keyboards/adm42/config.h3
-rw-r--r--keyboards/adm42/info.json5
-rw-r--r--keyboards/adm42/rev4/config.h3
3 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/adm42/config.h b/keyboards/adm42/config.h
index 03749906e8..af23da4c66 100644
--- a/keyboards/adm42/config.h
+++ b/keyboards/adm42/config.h
@@ -16,9 +16,6 @@
#pragma once
-
-#define DIODE_DIRECTION ROW2COL
-
#define TAP_CODE_DELAY 1
#if defined(CONSOLE_ENABLE)
diff --git a/keyboards/adm42/info.json b/keyboards/adm42/info.json
index 3596cdb446..5d518c3b86 100644
--- a/keyboards/adm42/info.json
+++ b/keyboards/adm42/info.json
@@ -9,6 +9,11 @@
"pid": "0xE873",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["C6", "B6", "B5", "B4", "D7", "D6", "F0", "F1", "F4", "F5", "F6", "F7"],
+ "rows": ["C7", "D5", "D3", "D2"]
+ },
+ "diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
diff --git a/keyboards/adm42/rev4/config.h b/keyboards/adm42/rev4/config.h
index fa2bcb3e43..73a212910a 100644
--- a/keyboards/adm42/rev4/config.h
+++ b/keyboards/adm42/rev4/config.h
@@ -16,9 +16,6 @@
#pragma once
-#define MATRIX_COL_PINS { C6, B6, B5, B4, D7, D6, F0, F1, F4, F5, F6, F7 }
-#define MATRIX_ROW_PINS { C7, D5, D3, D2 }
-
#define ADM42_LED E6
#define RGB_DI_PIN B7