diff options
Diffstat (limited to 'keyboards/primekb/prime_o')
-rw-r--r-- | keyboards/primekb/prime_o/config.h | 8 | ||||
-rw-r--r-- | keyboards/primekb/prime_o/info.json | 5 | ||||
-rw-r--r-- | keyboards/primekb/prime_o/prime_o.c | 16 |
3 files changed, 5 insertions, 24 deletions
diff --git a/keyboards/primekb/prime_o/config.h b/keyboards/primekb/prime_o/config.h index b67af66f47..9c9e5754a9 100644 --- a/keyboards/primekb/prime_o/config.h +++ b/keyboards/primekb/prime_o/config.h @@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* Keyboard Matrix Assignments */ -#define MATRIX_ROW_PINS { D4, D6, B1, C5, B4, B3, C4, B2, B0, D5 } -#define MATRIX_COL_PINS { B6, B5, C7, C6, D2, D1, D0, C2 } - -/* COL2ROW, 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/primekb/prime_o/info.json b/keyboards/primekb/prime_o/info.json index 774dbc6523..b826606770 100644 --- a/keyboards/primekb/prime_o/info.json +++ b/keyboards/primekb/prime_o/info.json @@ -8,6 +8,11 @@ "pid": "0x4024", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B6", "B5", "C7", "C6", "D2", "D1", "D0", "C2"], + "rows": ["D4", "D6", "B1", "C5", "B4", "B3", "C4", "B2", "B0", "D5"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "B7", "levels": 4 diff --git a/keyboards/primekb/prime_o/prime_o.c b/keyboards/primekb/prime_o/prime_o.c deleted file mode 100644 index 369347cf4c..0000000000 --- a/keyboards/primekb/prime_o/prime_o.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2018 REPLACE_WITH_YOUR_NAME - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include "prime_o.h" |