diff options
Diffstat (limited to 'keyboards/ok60')
-rw-r--r-- | keyboards/ok60/config.h | 17 | ||||
-rw-r--r-- | keyboards/ok60/info.json | 5 | ||||
-rw-r--r-- | keyboards/ok60/ok60.c | 1 |
3 files changed, 5 insertions, 18 deletions
diff --git a/keyboards/ok60/config.h b/keyboards/ok60/config.h index 2dd38f77d0..0309f3820c 100644 --- a/keyboards/ok60/config.h +++ b/keyboards/ok60/config.h @@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * -*/ -#define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } -#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } - -/* 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/ok60/info.json b/keyboards/ok60/info.json index 08cb263a2e..53bbbd73bd 100644 --- a/keyboards/ok60/info.json +++ b/keyboards/ok60/info.json @@ -8,6 +8,11 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D0", "D1", "D2", "D3", "D5", "B6", "C6", "C7", "F1", "F0", "E6", "B3", "B2", "B1", "B0"], + "rows": ["B5", "B4", "D7", "D6", "D4"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "B7", "levels": 5 diff --git a/keyboards/ok60/ok60.c b/keyboards/ok60/ok60.c deleted file mode 100644 index 052656205b..0000000000 --- a/keyboards/ok60/ok60.c +++ /dev/null @@ -1 +0,0 @@ -#include "ok60.h" |