summaryrefslogtreecommitdiff
path: root/keyboards/amjkeyboard/amjpad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/amjkeyboard/amjpad')
-rw-r--r--keyboards/amjkeyboard/amjpad/amjpad.c1
-rw-r--r--keyboards/amjkeyboard/amjpad/config.h9
-rw-r--r--keyboards/amjkeyboard/amjpad/info.json5
3 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/amjkeyboard/amjpad/amjpad.c b/keyboards/amjkeyboard/amjpad/amjpad.c
deleted file mode 100644
index 83cdedf688..0000000000
--- a/keyboards/amjkeyboard/amjpad/amjpad.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "amjpad.h"
diff --git a/keyboards/amjkeyboard/amjpad/config.h b/keyboards/amjkeyboard/amjpad/config.h
index 63e6e899fa..02b595d6f7 100644
--- a/keyboards/amjkeyboard/amjpad/config.h
+++ b/keyboards/amjkeyboard/amjpad/config.h
@@ -17,15 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-// ROWS: Top to bottom, COLS: Left to right
-
-#define MATRIX_ROW_PINS { F7, F6, F5, F4, D5, D0 }
-#define MATRIX_COL_PINS { F1, F0, E6, C7 }
-
-/* 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
/* Locking resynchronize hack */
diff --git a/keyboards/amjkeyboard/amjpad/info.json b/keyboards/amjkeyboard/amjpad/info.json
index 7a22d14639..3bd3a7f24c 100644
--- a/keyboards/amjkeyboard/amjpad/info.json
+++ b/keyboards/amjkeyboard/amjpad/info.json
@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.3"
},
+ "matrix_pins": {
+ "cols": ["F1", "F0", "E6", "C7"],
+ "rows": ["F7", "F6", "F5", "F4", "D5", "D0"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B6",
"levels": 4