summaryrefslogtreecommitdiff
path: root/keyboards/crypt_macro
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crypt_macro')
-rw-r--r--keyboards/crypt_macro/config.h9
-rw-r--r--keyboards/crypt_macro/info.json6
2 files changed, 6 insertions, 9 deletions
diff --git a/keyboards/crypt_macro/config.h b/keyboards/crypt_macro/config.h
index 97ea6e4619..665340e7af 100644
--- a/keyboards/crypt_macro/config.h
+++ b/keyboards/crypt_macro/config.h
@@ -17,15 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROWS 2
-#define MATRIX_COLS 3
-
-#define DIRECT_PINS { \
- { B12, B6, B7 }, \
- { NO_PIN, B5, NO_PIN} \
-}
-
/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
diff --git a/keyboards/crypt_macro/info.json b/keyboards/crypt_macro/info.json
index 6945fe7391..910777b90c 100644
--- a/keyboards/crypt_macro/info.json
+++ b/keyboards/crypt_macro/info.json
@@ -10,6 +10,12 @@
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
+ "matrix_pins": {
+ "direct": [
+ ["B12", "B6", "B7"],
+ [null, "B5", null]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":0.5, "y":1, "w":2}]