diff options
Diffstat (limited to 'keyboards/tetris')
-rwxr-xr-x | keyboards/tetris/config.h | 8 | ||||
-rw-r--r-- | keyboards/tetris/info.json | 5 | ||||
-rwxr-xr-x | keyboards/tetris/tetris.c | 1 |
3 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/tetris/config.h b/keyboards/tetris/config.h index 5cb9e23c57..f54408c1be 100755 --- a/keyboards/tetris/config.h +++ b/keyboards/tetris/config.h @@ -1,13 +1,5 @@ #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { B3, B2, B1, B0, E6 } -#define MATRIX_COL_PINS { D7, B4, B6, C6, C7, F6, F7, D4, D2, D3, D5, D6 } - -/* 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/tetris/info.json b/keyboards/tetris/info.json index 382c4b2861..cf506e51c5 100644 --- a/keyboards/tetris/info.json +++ b/keyboards/tetris/info.json @@ -8,6 +8,11 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D7", "B4", "B6", "C6", "C7", "F6", "F7", "D4", "D2", "D3", "D5", "D6"], + "rows": ["B3", "B2", "B1", "B0", "E6"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "D1", "pin_b": "D0"}, diff --git a/keyboards/tetris/tetris.c b/keyboards/tetris/tetris.c deleted file mode 100755 index f78de2f7be..0000000000 --- a/keyboards/tetris/tetris.c +++ /dev/null @@ -1 +0,0 @@ -#include QMK_KEYBOARD_H |