summaryrefslogtreecommitdiff
path: root/keyboards/momokai
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/momokai')
-rw-r--r--keyboards/momokai/tap_duo/config.h7
-rw-r--r--keyboards/momokai/tap_duo/info.json15
-rw-r--r--keyboards/momokai/tap_trio/config.h7
-rw-r--r--keyboards/momokai/tap_trio/info.json5
4 files changed, 15 insertions, 19 deletions
diff --git a/keyboards/momokai/tap_duo/config.h b/keyboards/momokai/tap_duo/config.h
index ca447bf9c6..d366b2ec11 100644
--- a/keyboards/momokai/tap_duo/config.h
+++ b/keyboards/momokai/tap_duo/config.h
@@ -16,13 +16,6 @@
#pragma once
-
-#define MATRIX_ROW_PINS { E0 }
-#define MATRIX_COL_PINS { E6, B2, D1, D2, D3 }
-
-#define DIODE_DIRECTION COL2ROW
-
-
// Tweak how the mouse cursor moves. https://docs.qmk.fm/#/feature_mouse_keys
// Accelerated mode (default).
#define MOUSEKEY_DELAY 10
diff --git a/keyboards/momokai/tap_duo/info.json b/keyboards/momokai/tap_duo/info.json
index b23740befa..6731a44fad 100644
--- a/keyboards/momokai/tap_duo/info.json
+++ b/keyboards/momokai/tap_duo/info.json
@@ -8,16 +8,21 @@
"pid": "0x0005",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["E6", "B2", "D1", "D2", "D3"],
+ "rows": ["E0"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
- { "label": "K00 (E0,E6)", "x": 0.25, "y": 0 },
- { "label": "K01 (E0,B2)", "x": 1.25, "y": 0 },
- { "label": "K02 (E0,D1)", "x": 0.75, "y": 1.25, "w": 0.5, "h": 0.5 },
- { "label": "K03 (E0,D2)", "x": 1.25, "y": 1.25, "w": 0.5, "h": 0.5 },
- { "label": "K04 (E0,D3)", "x": 1.75, "y": 1.25, "w": 0.5, "h": 0.5 }
+ { "x": 0, "y": 0 },
+ { "x": 1, "y": 0 },
+ { "x": 0.5, "y": 1.25, "w": 0.5, "h": 0.5 },
+ { "x": 1, "y": 1.25, "w": 0.5, "h": 0.5 },
+ { "x": 1.5, "y": 1.25, "w": 0.5, "h": 0.5 }
]
}
}
diff --git a/keyboards/momokai/tap_trio/config.h b/keyboards/momokai/tap_trio/config.h
index 7a38599d11..c3d1ebab68 100644
--- a/keyboards/momokai/tap_trio/config.h
+++ b/keyboards/momokai/tap_trio/config.h
@@ -16,13 +16,6 @@
#pragma once
-
-#define MATRIX_ROW_PINS { E0 }
-#define MATRIX_COL_PINS { E6, B2, B7, D1, D2, D3 }
-
-#define DIODE_DIRECTION COL2ROW
-
-
//TODO: implement RGB Matrix
#define RGB_DI_PIN F0
// #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
diff --git a/keyboards/momokai/tap_trio/info.json b/keyboards/momokai/tap_trio/info.json
index 63e6257ee8..c0406d73ce 100644
--- a/keyboards/momokai/tap_trio/info.json
+++ b/keyboards/momokai/tap_trio/info.json
@@ -8,6 +8,11 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["E6", "B2", "B7", "D1", "D2", "D3"],
+ "rows": ["E0"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {