Browse Source

Migrate `LOCKING_*_ENABLE` to Data-Driven: M, Part 2 (#23773)

Affects:

  - `mkh_studio/bully`
  - `mlego/m48/rev1`
  - `mlego/m60/rev1`
  - `mlego/m60_split/rev1`
  - `mlego/m60_split/rev2`
  - `mntre`
  - `mode/m65ha_alpha`
  - `mode/m65hi_alpha`
  - `mode/m65s`
  - `mode/m80v1/m80h`
  - `mode/m80v1/m80s`
  - `mode/m80v2/m80v2h`
  - `mode/m80v2/m80v2s`
  - `molecule`
  - `momoka_ergo`
  - `monarch`
  - `monsgeek/m1`
  - `monsgeek/m3`
  - `monsgeek/m5`
  - `monsgeek/m6`
  - `monstargear/xo87/rgb`
  - `monstargear/xo87/solderable`
  - `montsinger/rebound/rev1`
  - `montsinger/rebound/rev2`
  - `montsinger/rebound/rev3`
  - `montsinger/rebound/rev4`
  - `montsinger/rewind`
  - `moon`
  - `morizon`
  - `mountainblocks/mb17`
  - `mt/blocked65`
  - `mt/mt64rgb`
  - `mt/mt980`
  - `mtbkeys/mtb60/hotswap`
  - `mtbkeys/mtb60/solder`
  - `murcielago/rev1`
  - `mxss`
  - `mysticworks/wyvern`
James Young 2 years ago
parent
commit
495e83b30f
73 changed files with 227 additions and 497 deletions
  1. 0 9
      keyboards/mkh_studio/bully/config.h
  2. 6 0
      keyboards/mkh_studio/bully/keyboard.json
  3. 0 21
      keyboards/mlego/m48/config.h
  4. 6 0
      keyboards/mlego/m48/rev1/keyboard.json
  5. 0 21
      keyboards/mlego/m60/config.h
  6. 6 0
      keyboards/mlego/m60/rev1/keyboard.json
  7. 0 21
      keyboards/mlego/m60_split/config.h
  8. 6 0
      keyboards/mlego/m60_split/rev1/keyboard.json
  9. 6 0
      keyboards/mlego/m60_split/rev2/keyboard.json
  10. 0 5
      keyboards/mntre/config.h
  11. 6 0
      keyboards/mntre/keyboard.json
  12. 0 5
      keyboards/mode/m65ha_alpha/config.h
  13. 6 0
      keyboards/mode/m65ha_alpha/keyboard.json
  14. 0 5
      keyboards/mode/m65hi_alpha/config.h
  15. 6 0
      keyboards/mode/m65hi_alpha/keyboard.json
  16. 0 5
      keyboards/mode/m65s/config.h
  17. 5 1
      keyboards/mode/m65s/keyboard.json
  18. 0 39
      keyboards/mode/m80v1/config.h
  19. 6 0
      keyboards/mode/m80v1/m80h/keyboard.json
  20. 6 0
      keyboards/mode/m80v1/m80s/keyboard.json
  21. 0 23
      keyboards/mode/m80v2/config.h
  22. 6 0
      keyboards/mode/m80v2/m80v2h/keyboard.json
  23. 6 0
      keyboards/mode/m80v2/m80v2s/keyboard.json
  24. 0 5
      keyboards/molecule/config.h
  25. 6 0
      keyboards/molecule/keyboard.json
  26. 0 5
      keyboards/momoka_ergo/config.h
  27. 6 0
      keyboards/momoka_ergo/keyboard.json
  28. 0 5
      keyboards/monarch/config.h
  29. 6 0
      keyboards/monarch/keyboard.json
  30. 0 5
      keyboards/monsgeek/m1/config.h
  31. 6 0
      keyboards/monsgeek/m1/keyboard.json
  32. 0 5
      keyboards/monsgeek/m3/config.h
  33. 6 0
      keyboards/monsgeek/m3/keyboard.json
  34. 0 5
      keyboards/monsgeek/m5/config.h
  35. 6 0
      keyboards/monsgeek/m5/keyboard.json
  36. 0 5
      keyboards/monsgeek/m6/config.h
  37. 6 0
      keyboards/monsgeek/m6/keyboard.json
  38. 0 20
      keyboards/monstargear/xo87/rgb/config.h
  39. 6 0
      keyboards/monstargear/xo87/rgb/keyboard.json
  40. 0 3
      keyboards/monstargear/xo87/solderable/config.h
  41. 6 0
      keyboards/monstargear/xo87/solderable/keyboard.json
  42. 0 20
      keyboards/montsinger/rebound/rev1/config.h
  43. 6 0
      keyboards/montsinger/rebound/rev1/keyboard.json
  44. 0 20
      keyboards/montsinger/rebound/rev2/config.h
  45. 6 0
      keyboards/montsinger/rebound/rev2/keyboard.json
  46. 0 20
      keyboards/montsinger/rebound/rev3/config.h
  47. 6 0
      keyboards/montsinger/rebound/rev3/keyboard.json
  48. 0 20
      keyboards/montsinger/rebound/rev4/config.h
  49. 6 0
      keyboards/montsinger/rebound/rev4/keyboard.json
  50. 0 20
      keyboards/montsinger/rewind/config.h
  51. 6 0
      keyboards/montsinger/rewind/keyboard.json
  52. 0 5
      keyboards/moon/config.h
  53. 6 0
      keyboards/moon/keyboard.json
  54. 0 23
      keyboards/morizon/config.h
  55. 6 0
      keyboards/morizon/keyboard.json
  56. 0 23
      keyboards/mountainblocks/mb17/config.h
  57. 6 0
      keyboards/mountainblocks/mb17/keyboard.json
  58. 0 23
      keyboards/mt/blocked65/config.h
  59. 6 0
      keyboards/mt/blocked65/keyboard.json
  60. 0 5
      keyboards/mt/mt64rgb/config.h
  61. 6 0
      keyboards/mt/mt64rgb/keyboard.json
  62. 0 7
      keyboards/mt/mt980/config.h
  63. 6 0
      keyboards/mt/mt980/keyboard.json
  64. 0 24
      keyboards/mtbkeys/mtb60/hotswap/config.h
  65. 6 0
      keyboards/mtbkeys/mtb60/hotswap/keyboard.json
  66. 0 24
      keyboards/mtbkeys/mtb60/solder/config.h
  67. 6 0
      keyboards/mtbkeys/mtb60/solder/keyboard.json
  68. 0 5
      keyboards/murcielago/rev1/config.h
  69. 6 0
      keyboards/murcielago/rev1/keyboard.json
  70. 0 23
      keyboards/mxss/config.h
  71. 6 0
      keyboards/mxss/keyboard.json
  72. 0 22
      keyboards/mysticworks/wyvern/config.h
  73. 6 0
      keyboards/mysticworks/wyvern/keyboard.json

+ 0 - 9
keyboards/mkh_studio/bully/config.h

@@ -1,9 +0,0 @@
-// Copyright 2022 zhol
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#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

+ 6 - 0
keyboards/mkh_studio/bully/keyboard.json

@@ -20,6 +20,12 @@
         "mousekey": true,
         "nkro": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "layouts": {
         "LAYOUT": {
             "layout": [

+ 0 - 21
keyboards/mlego/m48/config.h

@@ -1,21 +0,0 @@
-/* Copyright 2021-2022 alin m elena <alinm.elena@gmail.com>
- *
- * 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

+ 6 - 0
keyboards/mlego/m48/rev1/keyboard.json

@@ -13,6 +13,12 @@
         "nkro": true,
         "rgblight": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"],
         "rows": ["A6", "A7", "B0", "B10"]

+ 0 - 21
keyboards/mlego/m60/config.h

@@ -1,21 +0,0 @@
-/* Copyright 2021-2022 alin m elena <alinm.elena@gmail.com>
- *
- * 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

+ 6 - 0
keyboards/mlego/m60/rev1/keyboard.json

@@ -13,6 +13,12 @@
         "nkro": true,
         "rgblight": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"],
         "rows": ["A6", "A7", "B0", "B1", "B10"]

+ 0 - 21
keyboards/mlego/m60_split/config.h

@@ -1,21 +0,0 @@
-/* Copyright 2021-2022 alin m elena <alinm.elena@gmail.com>
- *
- * 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

+ 6 - 0
keyboards/mlego/m60_split/rev1/keyboard.json

@@ -11,6 +11,12 @@
         "rgblight": true,
         "encoder": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["B14", "A10", "A15", "B3", "B4", "B5"],
         "rows": ["B0", "A6", "A7", "B1", "A5"]

+ 6 - 0
keyboards/mlego/m60_split/rev2/keyboard.json

@@ -11,6 +11,12 @@
         "rgblight": true,
         "encoder": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["B14", "A10", "A15", "B3", "B4", "B5"],
         "rows": ["B0", "A6", "A7", "B1", "A5"]

+ 0 - 5
keyboards/mntre/config.h

@@ -5,11 +5,6 @@
 
 #define BACKLIGHT_RESOLUTION 0x400
 
-/* 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
-
 /*
  * Feature disable options
  *  These options are also useful to firmware size reduction.

+ 6 - 0
keyboards/mntre/keyboard.json

@@ -18,6 +18,12 @@
         "nkro": false,
         "oled": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["D5", "F7", "E6", "C7", "B3", "B2", "B1", "B0", "F0", "F1", "F4", "F5", "F6", "C6"],
         "rows": ["B6", "B5", "B4", "D7", "D6", "D4"]

+ 0 - 5
keyboards/mode/m65ha_alpha/config.h

@@ -17,11 +17,6 @@ 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
-
 #define EEPROM_I2C_24LC256
 //#define I2C1_CLOCK_SPEED 400000
 //#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2

+ 6 - 0
keyboards/mode/m65ha_alpha/keyboard.json

@@ -16,6 +16,12 @@
     "mousekey": false,
     "nkro": false
   },
+  "qmk": {
+    "locking": {
+      "enabled": true,
+      "resync": true
+    }
+  },
   "matrix_pins": {
     "cols": ["B10", "B12", "C8", "C4", "C5", "B0", "C10", "B13", "B14", "B15", "A15", "C6", "C7", "A8", "C9"],
     "rows": ["A7", "A10", "D2", "C12", "B1", "C11"]

+ 0 - 5
keyboards/mode/m65hi_alpha/config.h

@@ -17,11 +17,6 @@ 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
-
 #define EEPROM_I2C_24LC256
 //#define I2C1_CLOCK_SPEED 400000
 //#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2

+ 6 - 0
keyboards/mode/m65hi_alpha/keyboard.json

@@ -16,6 +16,12 @@
     "mousekey": false,
     "nkro": false
   },
+  "qmk": {
+    "locking": {
+      "enabled": true,
+      "resync": true
+    }
+  },
   "matrix_pins": {
     "cols": ["B10", "B12", "C8", "C4", "C5", "B0", "C10", "B13", "B14", "B15", "A15", "C6", "C7", "A8", "C9"],
     "rows": ["A7", "A10", "D2", "C12", "B1", "C11"]

+ 0 - 5
keyboards/mode/m65s/config.h

@@ -17,11 +17,6 @@ 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
-
 #define EEPROM_I2C_24LC128
 //#define I2C1_CLOCK_SPEED 400000
 //#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2

+ 5 - 1
keyboards/mode/m65s/keyboard.json

@@ -9,7 +9,11 @@
         "device_version": "0.0.1"
     },
     "qmk": {
-        "tap_keycode_delay": 50
+        "tap_keycode_delay": 50,
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
     },
     "features": {
         "bootmagic": true,

+ 0 - 39
keyboards/mode/m80v1/config.h

@@ -1,39 +0,0 @@
-/*
-Copyright 2020 Alvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br>
-
-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
-
-/*
- * Feature disable options
- *  These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT

+ 6 - 0
keyboards/mode/m80v1/m80h/keyboard.json

@@ -16,6 +16,12 @@
         "mousekey": false,
         "nkro": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["B8", "B7", "B6", "B5", "B4", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5"],
         "rows": ["A10", "A15", "B3", "B9", "A3", "A4"]

+ 6 - 0
keyboards/mode/m80v1/m80s/keyboard.json

@@ -16,6 +16,12 @@
         "mousekey": false,
         "nkro": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["B8", "B7", "B6", "B5", "B4", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5"],
         "rows": ["A10", "A15", "B3", "B9", "A3", "A4"]

+ 0 - 23
keyboards/mode/m80v2/config.h

@@ -1,23 +0,0 @@
-/*
- Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br>
-
-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

+ 6 - 0
keyboards/mode/m80v2/m80v2h/keyboard.json

@@ -16,6 +16,12 @@
         "mousekey": false,
         "nkro": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"],
         "rows": ["B12", "B13", "B14", "B3", "B4", "B9"]

+ 6 - 0
keyboards/mode/m80v2/m80v2s/keyboard.json

@@ -16,6 +16,12 @@
         "mousekey": false,
         "nkro": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"],
         "rows": ["B12", "B13", "B14", "B3", "B4", "B9"]

+ 0 - 5
keyboards/molecule/config.h

@@ -20,11 +20,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* OLED */
 #define OLED_TIMEOUT 0
 
-/* 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
-
 /*
  * Feature disable options
  *  These options are also useful to firmware size reduction.

+ 6 - 0
keyboards/molecule/keyboard.json

@@ -14,6 +14,12 @@
         "extrakey": true,
         "pointing_device": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
         "rows": ["F4", "F5", "F6", "B6"]

+ 0 - 5
keyboards/momoka_ergo/config.h

@@ -19,10 +19,5 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #define SELECT_SOFT_SERIAL_SPEED 5
 
-/* 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
-
 #define SPLIT_USB_DETECT
 #define EE_HANDS

+ 6 - 0
keyboards/momoka_ergo/keyboard.json

@@ -17,6 +17,12 @@
         "nkro": false,
         "rgblight": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["F7", "F6", "F5", "F4", "F1", "F0"],
         "rows": ["C6", "D7", "E6", "B4", "B5", "B6", "B7"]

+ 0 - 5
keyboards/monarch/config.h

@@ -23,11 +23,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #define SLEEP_LED_GPT_DRIVER GPTD1
 
-/* 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
-
 /*
  * Feature disable options
  *  These options are also useful to firmware size reduction.

+ 6 - 0
keyboards/monarch/keyboard.json

@@ -19,6 +19,12 @@
         "nkro": true,
         "sleep_led": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "B10", "B2", "B1", "B0", "A5", "A7", "A4", "A3", "B6"],
         "rows": ["A15", "B3", "B11", "A2", "A1", "B9"]

+ 0 - 5
keyboards/monsgeek/m1/config.h

@@ -16,11 +16,6 @@
 
 #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
-
 #define ENCODER_DEFAULT_POS 0x3
 
 /* SPI Config for spi flash*/

+ 6 - 0
keyboards/monsgeek/m1/keyboard.json

@@ -21,6 +21,12 @@
         "encoder": true,
         "rgb_matrix": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2"],
         "rows": ["B15", "C6", "C7", "C8", "C9", "A8"]

+ 0 - 5
keyboards/monsgeek/m3/config.h

@@ -20,11 +20,6 @@
 #define LED_MAC_OS_PIN C10
 #define LED_WIN_LOCK_PIN C11
 
-/* 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
-
 /* SPI Config for spi flash*/
 #define SPI_DRIVER SPIDQ
 #define SPI_SCK_PIN B3

+ 6 - 0
keyboards/monsgeek/m3/keyboard.json

@@ -26,6 +26,12 @@
         "nkro": true,
         "rgb_matrix": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "dynamic_keymap": {
         "layer_count": 6
     },

+ 0 - 5
keyboards/monsgeek/m5/config.h

@@ -19,11 +19,6 @@
 /* LED Indicators */
 #define LED_WIN_LOCK_PIN C11
 
-/* 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
-
 /* SPI Config for spi flash*/
 #define SPI_DRIVER SPIDQ
 #define SPI_SCK_PIN B3

+ 6 - 0
keyboards/monsgeek/m5/keyboard.json

@@ -20,6 +20,12 @@
         "nkro": true,
         "rgb_matrix": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["C1","C2","C3","A0","A1","A2","A3","A4","A5","A6","A7","C4","C5","B0","B1","B2","B10","B11","B12","B13","B14"],
         "rows": ["B15", "C6", "C7", "C8", "C9", "A8"]

+ 0 - 5
keyboards/monsgeek/m6/config.h

@@ -16,11 +16,6 @@
 
 #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
-
 /* SPI Config for spi flash*/
 #define SPI_DRIVER SPIDQ
 #define SPI_SCK_PIN B3

+ 6 - 0
keyboards/monsgeek/m6/keyboard.json

@@ -20,6 +20,12 @@
         "nkro": true,
         "rgb_matrix": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2"],
         "rows": ["C6", "C7", "C8", "C9", "A8"]

+ 0 - 20
keyboards/monstargear/xo87/rgb/config.h

@@ -1,20 +0,0 @@
-/* Copyright 2021 datafx
- *
- * 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
-
-#define LOCKING_SUPPORT_ENABLE
-#define LOCKING_RESYNC_ENABLE

+ 6 - 0
keyboards/monstargear/xo87/rgb/keyboard.json

@@ -73,6 +73,12 @@
     "nkro": true,
     "rgb_matrix": true
   },
+  "qmk": {
+    "locking": {
+      "enabled": true,
+      "resync": true
+    }
+  },
   "matrix_pins": {
     "cols": ["C5", "C3", "C1", "E1", "D6", "D2", "B7", "B3", "F6", "F7", "F3", "A5", "A1", "E2", "C7", "A6"],
     "rows": ["E6", "E7", "E3", "B0", "B1", "A2"]

+ 0 - 3
keyboards/monstargear/xo87/solderable/config.h

@@ -23,6 +23,3 @@
 #define KEYLED_COLS 16
 #define KEYLED_ROW_PINS { E5,B4,B5,F0,C6,D5 }
 #define KEYLED_COL_PINS { C4,C2,C0,E0,D4,E4,B6,B2,F4,A0,F2,A4,F1,A7,D3,A3 }
-
-#define LOCKING_SUPPORT_ENABLE
-#define LOCKING_RESYNC_ENABLE

+ 6 - 0
keyboards/monstargear/xo87/solderable/keyboard.json

@@ -18,6 +18,12 @@
         "nkro": true,
         "rgblight": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["C5", "C3", "C1", "E1", "D6", "D2", "B7", "B3", "F6", "F7", "F3", "A5", "A1", "E2", "C7", "A6"],
         "rows": ["E6", "E7", "E3", "B0", "B1", "A2"]

+ 0 - 20
keyboards/montsinger/rebound/rev1/config.h

@@ -1,20 +0,0 @@
-/*
-Copyright 2020 Ross Montsinger
-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

+ 6 - 0
keyboards/montsinger/rebound/rev1/keyboard.json

@@ -15,6 +15,12 @@
         "console": true,
         "command": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["D0", "D4", "C6", "D7", "E6", "B4", "B3", "B1", "F7", "F6", "F5", "F4"],
         "rows": ["D1", "B5", "B2", "B6"]

+ 0 - 20
keyboards/montsinger/rebound/rev2/config.h

@@ -1,20 +0,0 @@
-/*
-Copyright 2020 Ross Montsinger
-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

+ 6 - 0
keyboards/montsinger/rebound/rev2/keyboard.json

@@ -16,6 +16,12 @@
         "command": true,
         "encoder": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["D0", "D4", "C6", "D7", "E6", "B4", "B3", "B1", "F7", "F6", "F5", "F4"],
         "rows": ["D1", "B5", "B2", "B6", "B0"]

+ 0 - 20
keyboards/montsinger/rebound/rev3/config.h

@@ -1,20 +0,0 @@
-/*
-Copyright 2020 Ross Montsinger
-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

+ 6 - 0
keyboards/montsinger/rebound/rev3/keyboard.json

@@ -16,6 +16,12 @@
         "command": true,
         "encoder": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6"],
         "rows": ["F4", "F5", "D1", "D0", "B0"]

+ 0 - 20
keyboards/montsinger/rebound/rev4/config.h

@@ -1,20 +0,0 @@
-/*
-Copyright 2020 Ross Montsinger
-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

+ 6 - 0
keyboards/montsinger/rebound/rev4/keyboard.json

@@ -16,6 +16,12 @@
         "command": true,
         "encoder": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["D7", "E6", "B4", "B5", "B2", "B3", "B1"],
         "rows": ["D1", "D0", "D4", "C6", "F7", "F6", "F5", "F4"]

+ 0 - 20
keyboards/montsinger/rewind/config.h

@@ -1,20 +0,0 @@
-/*
-Copyright 2020 Ross Montsinger
-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

+ 6 - 0
keyboards/montsinger/rewind/keyboard.json

@@ -16,6 +16,12 @@
         "mousekey": true,
         "nkro": false
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["F6", "F7", "B1", "B3", "E6", "D7", "C6", "D4", "D0", "D1"],
         "rows": ["B5", "B4", "D2", "D3", "B2"]

+ 0 - 5
keyboards/moon/config.h

@@ -21,8 +21,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* key matrix size */
 #define MATRIX_ROWS 8
 #define MATRIX_COLS 11
-
-/* 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

+ 6 - 0
keyboards/moon/keyboard.json

@@ -17,6 +17,12 @@
         "nkro": true,
         "backlight": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "backlight": {
         "pin": "C6"
     },

+ 0 - 23
keyboards/morizon/config.h

@@ -1,23 +0,0 @@
-/*
-Copyright 2022 Steven Karrmann
-
-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

+ 6 - 0
keyboards/morizon/keyboard.json

@@ -16,6 +16,12 @@
     "mousekey": true,
     "nkro": false
   },
+  "qmk": {
+    "locking": {
+      "enabled": true,
+      "resync": true
+    }
+  },
   "matrix_pins": {
     "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
     "rows": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]

+ 0 - 23
keyboards/mountainblocks/mb17/config.h

@@ -1,23 +0,0 @@
-/*
-Copyright 2020 mechmerlin
-
-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

+ 6 - 0
keyboards/mountainblocks/mb17/keyboard.json

@@ -16,6 +16,12 @@
         "mousekey": true,
         "nkro": false
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["F7", "E6", "D7", "C6"],
         "rows": ["F4", "B1", "B3", "B2", "B6"]

+ 0 - 23
keyboards/mt/blocked65/config.h

@@ -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

+ 6 - 0
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"]

+ 0 - 5
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

+ 6 - 0
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"]

+ 0 - 7
keyboards/mt/mt980/config.h

@@ -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

+ 6 - 0
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"]

+ 0 - 24
keyboards/mtbkeys/mtb60/hotswap/config.h

@@ -1,24 +0,0 @@
-/*
-Copyright 2021 MTBKeys
-
-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

+ 6 - 0
keyboards/mtbkeys/mtb60/hotswap/keyboard.json

@@ -41,6 +41,12 @@
         "nkro": false,
         "rgblight": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["D0", "D1", "D2", "D3", "B7", "B6", "F7", "C6", "C7", "F6", "F4", "F1", "F0", "F5", "E6"],
         "rows": ["D6", "D7", "B4", "B5", "D5"]

+ 0 - 24
keyboards/mtbkeys/mtb60/solder/config.h

@@ -1,24 +0,0 @@
-/*
-Copyright 2021 MTBKeys
-
-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

+ 6 - 0
keyboards/mtbkeys/mtb60/solder/keyboard.json

@@ -41,6 +41,12 @@
         "nkro": false,
         "rgblight": true
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["E6", "F0", "F5", "F6", "F7", "D5", "D3", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
         "rows": ["D0", "D1", "F4", "F1", "D2"]

+ 0 - 5
keyboards/murcielago/rev1/config.h

@@ -21,11 +21,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define EE_HANDS
 #define SPLIT_USB_DETECT
 
-/* 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
-
 /*
  * Feature disable options
  *  These options are also useful to firmware size reduction.

+ 6 - 0
keyboards/murcielago/rev1/keyboard.json

@@ -17,6 +17,12 @@
     "mousekey": true,
     "nkro": false
   },
+  "qmk": {
+    "locking": {
+      "enabled": true,
+      "resync": true
+    }
+  },
   "matrix_pins": {
     "cols": ["C6", "B6", "B5", "D7", "D6", "D4"],
     "rows": ["B4", "D5", "B3", "B2", "B1", "B0"]

+ 0 - 23
keyboards/mxss/config.h

@@ -1,23 +0,0 @@
-/*
-Copyright 2018 Jumail Mundekkat / MxBlue
-
-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

+ 6 - 0
keyboards/mxss/keyboard.json

@@ -17,6 +17,12 @@
     "nkro": false,
     "rgblight": true
   },
+  "qmk": {
+    "locking": {
+      "enabled": true,
+      "resync": true
+    }
+  },
   "rgblight": {
     "saturation_steps": 8,
     "brightness_steps": 8,

+ 0 - 22
keyboards/mysticworks/wyvern/config.h

@@ -1,22 +0,0 @@
-/* Copyright 2020 Albert Dong <albert@mysticworks.xyz>
- *
- * 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

+ 6 - 0
keyboards/mysticworks/wyvern/keyboard.json

@@ -16,6 +16,12 @@
         "mousekey": true,
         "nkro": false
     },
+    "qmk": {
+        "locking": {
+            "enabled": true,
+            "resync": true
+        }
+    },
     "matrix_pins": {
         "cols": ["E6", "B0", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
         "rows": ["D0", "D1", "D5", "D3", "F7", "F6", "F5", "F4", "F1", "F0"]