summaryrefslogtreecommitdiff
path: root/keyboards/handwired/tritium_numpad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/tritium_numpad')
-rw-r--r--keyboards/handwired/tritium_numpad/config.h9
-rw-r--r--keyboards/handwired/tritium_numpad/info.json5
-rw-r--r--keyboards/handwired/tritium_numpad/tritium_numpad.c1
3 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/handwired/tritium_numpad/config.h b/keyboards/handwired/tritium_numpad/config.h
index 5782f0e058..e2db822d67 100644
--- a/keyboards/handwired/tritium_numpad/config.h
+++ b/keyboards/handwired/tritium_numpad/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 { D1, D0, D4, C6, D7, E6 }
-#define MATRIX_COL_PINS { F4, F6, B1, B2 }
-
-/* 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/handwired/tritium_numpad/info.json b/keyboards/handwired/tritium_numpad/info.json
index b2ca85264e..f152b8bb5b 100644
--- a/keyboards/handwired/tritium_numpad/info.json
+++ b/keyboards/handwired/tritium_numpad/info.json
@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.3"
},
+ "matrix_pins": {
+ "cols": ["F4", "F6", "B1", "B2"],
+ "rows": ["D1", "D0", "D4", "C6", "D7", "E6"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B6",
"levels": 4
diff --git a/keyboards/handwired/tritium_numpad/tritium_numpad.c b/keyboards/handwired/tritium_numpad/tritium_numpad.c
deleted file mode 100644
index c9f86eda7e..0000000000
--- a/keyboards/handwired/tritium_numpad/tritium_numpad.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "tritium_numpad.h"