aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mt
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mt')
-rw-r--r--keyboards/mt/blocked65/config.h23
-rw-r--r--keyboards/mt/blocked65/keyboard.json6
-rw-r--r--keyboards/mt/mt64rgb/config.h5
-rw-r--r--keyboards/mt/mt64rgb/keyboard.json6
-rw-r--r--keyboards/mt/mt980/config.h7
-rw-r--r--keyboards/mt/mt980/keyboard.json6
6 files changed, 18 insertions, 35 deletions
diff --git a/keyboards/mt/blocked65/config.h b/keyboards/mt/blocked65/config.h
deleted file mode 100644
index 28be4f1a5b..0000000000
--- a/keyboards/mt/blocked65/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2019 Evy Dekkers
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/mt/blocked65/keyboard.json b/keyboards/mt/blocked65/keyboard.json
index 14e5942228..9a0ce52043 100644
--- a/keyboards/mt/blocked65/keyboard.json
+++ b/keyboards/mt/blocked65/keyboard.json
@@ -35,6 +35,12 @@
"nkro": false,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B0", "B1", "B2", "B3", "B7"]
diff --git a/keyboards/mt/mt64rgb/config.h b/keyboards/mt/mt64rgb/config.h
index 50c9ca5f64..f69c778b8b 100644
--- a/keyboards/mt/mt64rgb/config.h
+++ b/keyboards/mt/mt64rgb/config.h
@@ -18,8 +18,3 @@
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
#define RGB_MATRIX_LED_COUNT 64
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/mt/mt64rgb/keyboard.json b/keyboards/mt/mt64rgb/keyboard.json
index 5dbcf30969..0858e85eca 100644
--- a/keyboards/mt/mt64rgb/keyboard.json
+++ b/keyboards/mt/mt64rgb/keyboard.json
@@ -77,6 +77,12 @@
"rgblight": true,
"rgb_matrix": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7"],
"rows": ["D7", "D6", "D5", "D3", "D2"]
diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h
deleted file mode 100644
index 5f36081323..0000000000
--- a/keyboards/mt/mt980/config.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/mt/mt980/keyboard.json b/keyboards/mt/mt980/keyboard.json
index 6ecc9f8610..2fa17224cb 100644
--- a/keyboards/mt/mt980/keyboard.json
+++ b/keyboards/mt/mt980/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
"rows": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"]