summaryrefslogtreecommitdiff
path: root/keyboards/minimacro5
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/minimacro5')
-rw-r--r--keyboards/minimacro5/config.h21
-rw-r--r--keyboards/minimacro5/info.json5
2 files changed, 5 insertions, 21 deletions
diff --git a/keyboards/minimacro5/config.h b/keyboards/minimacro5/config.h
index fd1028cb1c..351fb8a5a5 100644
--- a/keyboards/minimacro5/config.h
+++ b/keyboards/minimacro5/config.h
@@ -17,27 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 5
-
-/*
- * 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)
- * NO_DIODE = switches are directly connected to AVR pins
- *
-*/
-// #define MATRIX_ROW_PINS { D0, D5 }
-// #define MATRIX_COL_PINS { F1, F0, B0 }
-#define DIRECT_PINS { \
- { F4, B6, B2, D7, B4 } \
-}
//speed for double tap
#define TAPPING_TERM 200
diff --git a/keyboards/minimacro5/info.json b/keyboards/minimacro5/info.json
index ad17e89c69..1ecd8f7b8c 100644
--- a/keyboards/minimacro5/info.json
+++ b/keyboards/minimacro5/info.json
@@ -10,6 +10,11 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["F4", "B6", "B2", "D7", "B4"]
+ ]
+ },
"layouts": {
"LAYOUT_ortho_1x5": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":5, "y":0}]