summaryrefslogtreecommitdiff
path: root/keyboards/momokai/tap_duo
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/momokai/tap_duo')
-rw-r--r--keyboards/momokai/tap_duo/config.h7
-rw-r--r--keyboards/momokai/tap_duo/info.json15
2 files changed, 10 insertions, 12 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 }
]
}
}