summaryrefslogtreecommitdiff
path: root/keyboards/mixi
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mixi')
-rw-r--r--keyboards/mixi/config.h16
-rw-r--r--keyboards/mixi/info.json27
-rw-r--r--keyboards/mixi/mixi.c2
-rw-r--r--keyboards/mixi/mixi.h13
-rw-r--r--keyboards/mixi/rules.mk6
5 files changed, 19 insertions, 45 deletions
diff --git a/keyboards/mixi/config.h b/keyboards/mixi/config.h
index b34a64a813..e6b2ef0961 100644
--- a/keyboards/mixi/config.h
+++ b/keyboards/mixi/config.h
@@ -1,24 +1,8 @@
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 3
-#define MATRIX_COLS 3
-
-/* Keyboard Matrix Assignments */
-#define DIRECT_PINS { \
- { D1, D4, F4 }, \
- { D0, B4, F5 }, \
- { C6, F7, B6 } \
-}
-
#define ENCODERS_PAD_A { D7, B1 }
#define ENCODERS_PAD_B { E6, B3 }
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/mixi/info.json b/keyboards/mixi/info.json
index c1f60e8ee7..584a8f85b7 100644
--- a/keyboards/mixi/info.json
+++ b/keyboards/mixi/info.json
@@ -8,18 +8,27 @@
"pid": "0x4D49",
"device_version": "0.0.1"
},
+ "processor": "atmega32u4",
+ "bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["D1", "D4", "F4"],
+ ["D0", "B4", "F5"],
+ ["C6", "F7", "B6"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":0, "y":1},
- {"x":1, "y":1},
- {"x":2, "y":1},
- {"x":0, "y":2},
- {"x":1, "y":2},
- {"x":2, "y":2}
+ {"x":0, "y":0, "matrix": [0, 0]},
+ {"x":1, "y":0, "matrix": [0, 1]},
+ {"x":2, "y":0, "matrix": [0, 2]},
+ {"x":0, "y":1, "matrix": [1, 0]},
+ {"x":1, "y":1, "matrix": [1, 1]},
+ {"x":2, "y":1, "matrix": [1, 2]},
+ {"x":0, "y":2, "matrix": [2, 0]},
+ {"x":1, "y":2, "matrix": [2, 1]},
+ {"x":2, "y":2, "matrix": [2, 2]}
]
}
}
diff --git a/keyboards/mixi/mixi.c b/keyboards/mixi/mixi.c
index f99c942f2d..e8da7fdac2 100644
--- a/keyboards/mixi/mixi.c
+++ b/keyboards/mixi/mixi.c
@@ -1,4 +1,4 @@
-#include "mixi.h"
+#include "quantum.h"
void eeconfig_init_kb(void) {
#ifdef RGBLIGHT_ENABLE
diff --git a/keyboards/mixi/mixi.h b/keyboards/mixi/mixi.h
deleted file mode 100644
index 8b2bc7090b..0000000000
--- a/keyboards/mixi/mixi.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- K00, K01, K02, \
- K10, K11, K12, \
- K20, K21, K22 \
- ) { \
- { K00, K01, K02 }, \
- { K10, K11, K12 }, \
- { K20, K21, K22 } \
-}
diff --git a/keyboards/mixi/rules.mk b/keyboards/mixi/rules.mk
index f0530f599c..bb895a7bf2 100644
--- a/keyboards/mixi/rules.mk
+++ b/keyboards/mixi/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
-
# Build Options
# change yes to no to disable
#