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
2 files changed, 12 insertions, 11 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",