diff options
Diffstat (limited to 'keyboards/flehrad/snagpad')
-rw-r--r-- | keyboards/flehrad/snagpad/config.h | 8 | ||||
-rw-r--r-- | keyboards/flehrad/snagpad/info.json | 5 | ||||
-rw-r--r-- | keyboards/flehrad/snagpad/snagpad.c | 1 |
3 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/flehrad/snagpad/config.h b/keyboards/flehrad/snagpad/config.h index 4b3eb4b53e..56d04557a7 100644 --- a/keyboards/flehrad/snagpad/config.h +++ b/keyboards/flehrad/snagpad/config.h @@ -1,13 +1,5 @@ #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { D1, D0, D4, C6, D7 } -#define MATRIX_COL_PINS { F4, F5, F6, F7 } - -/* 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/flehrad/snagpad/info.json b/keyboards/flehrad/snagpad/info.json index 74f54c8f55..439b1bba27 100644 --- a/keyboards/flehrad/snagpad/info.json +++ b/keyboards/flehrad/snagpad/info.json @@ -8,6 +8,11 @@ "pid": "0x5350", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F4", "F5", "F6", "F7"], + "rows": ["D1", "D0", "D4", "C6", "D7"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_5x4", "numpad_5x4"], diff --git a/keyboards/flehrad/snagpad/snagpad.c b/keyboards/flehrad/snagpad/snagpad.c deleted file mode 100644 index ce7e50b387..0000000000 --- a/keyboards/flehrad/snagpad/snagpad.c +++ /dev/null @@ -1 +0,0 @@ -#include "snagpad.h" |