summaryrefslogtreecommitdiff
path: root/keyboards/minimon
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:39:56 +1100
committerGitHub <noreply@github.com>2023-03-11 00:39:56 +1100
commitcaa8c81086a806ea048c91ba142d424dc6a49f50 (patch)
tree824de64449d9cfaeba176288d379a282c733ae1a /keyboards/minimon
parentace372d90de13dafc815df5d8049497cb351b69b (diff)
Move matrix config to info.json, part 7 (#20020)
Diffstat (limited to 'keyboards/minimon')
-rw-r--r--keyboards/minimon/index_tab/config.h9
-rw-r--r--keyboards/minimon/index_tab/info.json5
2 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/minimon/index_tab/config.h b/keyboards/minimon/index_tab/config.h
index 4024ac6f45..49328d78ba 100644
--- a/keyboards/minimon/index_tab/config.h
+++ b/keyboards/minimon/index_tab/config.h
@@ -16,15 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { D3, B7, B3, B2, B1, B0 }
-#define MATRIX_COL_PINS { F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D2, F1, F0 }
-
-
-/* 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/minimon/index_tab/info.json b/keyboards/minimon/index_tab/info.json
index f3fd4717ec..8655546ea5 100644
--- a/keyboards/minimon/index_tab/info.json
+++ b/keyboards/minimon/index_tab/info.json
@@ -9,6 +9,11 @@
"pid": "0x1306",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D2", "F1", "F0"],
+ "rows": ["D3", "B7", "B3", "B2", "B1", "B0"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {