summaryrefslogtreecommitdiff
path: root/keyboards/handwired/unk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/unk')
-rw-r--r--keyboards/handwired/unk/rev1/config.h10
-rw-r--r--keyboards/handwired/unk/rev1/info.json13
-rw-r--r--keyboards/handwired/unk/rev1/rev1.c1
-rw-r--r--keyboards/handwired/unk/rev1/rev1.h2
-rw-r--r--keyboards/handwired/unk/unk.c1
-rw-r--r--keyboards/handwired/unk/unk.h4
6 files changed, 12 insertions, 19 deletions
diff --git a/keyboards/handwired/unk/rev1/config.h b/keyboards/handwired/unk/rev1/config.h
index c6674b53f7..177ad60ecd 100644
--- a/keyboards/handwired/unk/rev1/config.h
+++ b/keyboards/handwired/unk/rev1/config.h
@@ -20,16 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MASTER_LEFT // Comment this line for the right half firmware
-// wiring of each half
-#define MATRIX_ROW_PINS { F5, B1, F6, B3, F7 }
-#define MATRIX_COL_PINS { B2, B6, D4, C6, D7, E6, B4, B5 }
-#define MATRIX_ROW_PINS_RIGHT { C6, D7, B4, E6, D4 }
-#define MATRIX_COL_PINS_RIGHT { B1, B3, B2, B6, F7, B5, F6, F5 }
-
-
-/* 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/unk/rev1/info.json b/keyboards/handwired/unk/rev1/info.json
index bb6031cfd0..1faa61b706 100644
--- a/keyboards/handwired/unk/rev1/info.json
+++ b/keyboards/handwired/unk/rev1/info.json
@@ -8,8 +8,19 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B2", "B6", "D4", "C6", "D7", "E6", "B4", "B5"],
+ "rows": ["F5", "B1", "F6", "B3", "F7"]
+ },
+ "diode_direction": "COL2ROW",
"split": {
- "soft_serial_pin": "D0"
+ "soft_serial_pin": "D0",
+ "matrix_pins": {
+ "right": {
+ "cols": ["B1", "B3", "B2", "B6", "F7", "B5", "F6", "F5"],
+ "rows": ["C6", "D7", "B4", "E6", "D4"]
+ }
+ }
},
"processor": "atmega32u4",
"bootloader": "caterina",
diff --git a/keyboards/handwired/unk/rev1/rev1.c b/keyboards/handwired/unk/rev1/rev1.c
deleted file mode 100644
index 520a869e57..0000000000
--- a/keyboards/handwired/unk/rev1/rev1.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "rev1.h"
diff --git a/keyboards/handwired/unk/rev1/rev1.h b/keyboards/handwired/unk/rev1/rev1.h
index 3d20e3e9fc..7f3992eebc 100644
--- a/keyboards/handwired/unk/rev1/rev1.h
+++ b/keyboards/handwired/unk/rev1/rev1.h
@@ -1,7 +1,5 @@
#pragma once
-#include "unk.h"
-
#include "quantum.h"
#define LAYOUT( \
diff --git a/keyboards/handwired/unk/unk.c b/keyboards/handwired/unk/unk.c
deleted file mode 100644
index 5764d560b6..0000000000
--- a/keyboards/handwired/unk/unk.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "unk.h"
diff --git a/keyboards/handwired/unk/unk.h b/keyboards/handwired/unk/unk.h
deleted file mode 100644
index baad77573c..0000000000
--- a/keyboards/handwired/unk/unk.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-#include "rev1.h"