4d31c5172515a3cf5ea92010142ae11a2743e235

Author
James Young <18669334+noroadsleft@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

Migrate `LOCKING_*_ENABLE` to Data-Driven: D, Part 1 (#23749)

Affects:

  - `dailycraft/owl8`
  - `dailycraft/sandbox/rev1`
  - `dailycraft/sandbox/rev2`
  - `dailycraft/stickey4`
  - `dailycraft/wings42/rev1`
  - `dailycraft/wings42/rev1_extkeys`
  - `dailycraft/wings42/rev2`
  - `daji/seis_cinco`
  - `dark/magnum_ergo_1`
  - `darkproject/kd83a_bfg_edition`
  - `darkproject/kd87a_bfg_edition`
  - `dc01/arrow`
  - `dc01/left`
  - `dc01/numpad`
  - `dc01/right`
  - `dcpedit/redherring`
  - `delikeeb/flatbread60`
  - `delikeeb/vaguettelite`
  - `delikeeb/vanana/rev1`
  - `delikeeb/vanana/rev2`
  - `delikeeb/vaneela`
  - `delikeeb/vaneelaex`
  - `delikeeb/waaffle/rev3/elite_c`
  - `delikeeb/waaffle/rev3/pro_micro`
  - `deltapad`
  - `deltasplit75/v2`
  - `dk60`
  - `dm9records/lain`
  - `dm9records/plaid`
  - `dm9records/tartan`
  - `dmqdesign/spin`

Diff

This diff is truncated to protect this page.

   1diff --git a/keyboards/dailycraft/owl8/config.h b/keyboards/dailycraft/owl8/config.h
   2deleted file mode 100644
   3index 7da6e3f1bf27024749e7ccea2e9314caa00e319e..0000000000000000000000000000000000000000
   4--- a/keyboards/dailycraft/owl8/config.h
   5+++ /dev/null
   6@@ -1,39 +0,0 @@
   7-/*
   8-Copyright 2021 yfuku
   9-
  10-This program is free software: you can redistribute it and/or modify
  11-it under the terms of the GNU General Public License as published by
  12-the Free Software Foundation, either version 2 of the License, or
  13-(at your option) any later version.
  14-
  15-This program is distributed in the hope that it will be useful,
  16-but WITHOUT ANY WARRANTY; without even the implied warranty of
  17-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18-GNU General Public License for more details.
  19-
  20-You should have received a copy of the GNU General Public License
  21-along with this program.  If not, see <http://www.gnu.org/licenses/>.
  22-*/
  23-
  24-#pragma once
  25-
  26-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  27-#define LOCKING_SUPPORT_ENABLE
  28-/* Locking resynchronize hack */
  29-#define LOCKING_RESYNC_ENABLE
  30-
  31-/*
  32- * Feature disable options
  33- *  These options are also useful to firmware size reduction.
  34- */
  35-
  36-/* disable debug print */
  37-//#define NO_DEBUG
  38-
  39-/* disable print */
  40-//#define NO_PRINT
  41-
  42-/* disable action features */
  43-//#define NO_ACTION_LAYER
  44-//#define NO_ACTION_TAPPING
  45-//#define NO_ACTION_ONESHOT
  46diff --git a/keyboards/dailycraft/owl8/keyboard.json b/keyboards/dailycraft/owl8/keyboard.json
  47index 9d654b7d3fb80a027e30e2035efb0271d3ef2109..a4a1a70e3ed26d7a32c7db5d64782f0fb8fbc2cb 100644
  48--- a/keyboards/dailycraft/owl8/keyboard.json
  49+++ b/keyboards/dailycraft/owl8/keyboard.json
  50@@ -25,6 +25,12 @@
  51         "mousekey": true,
  52         "nkro": false
  53     },
  54+    "qmk": {
  55+        "locking": {
  56+            "enabled": true,
  57+            "resync": true
  58+        }
  59+    },
  60     "matrix_pins": {
  61         "direct": [
  62             ["F4", "F7", "B3", "B6", "F5", "F6", "B1", "B2", "D4", "C6", "D7", "E6"]
  63diff --git a/keyboards/dailycraft/sandbox/rev1/config.h b/keyboards/dailycraft/sandbox/rev1/config.h
  64deleted file mode 100644
  65index 7da6e3f1bf27024749e7ccea2e9314caa00e319e..0000000000000000000000000000000000000000
  66--- a/keyboards/dailycraft/sandbox/rev1/config.h
  67+++ /dev/null
  68@@ -1,39 +0,0 @@
  69-/*
  70-Copyright 2021 yfuku
  71-
  72-This program is free software: you can redistribute it and/or modify
  73-it under the terms of the GNU General Public License as published by
  74-the Free Software Foundation, either version 2 of the License, or
  75-(at your option) any later version.
  76-
  77-This program is distributed in the hope that it will be useful,
  78-but WITHOUT ANY WARRANTY; without even the implied warranty of
  79-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  80-GNU General Public License for more details.
  81-
  82-You should have received a copy of the GNU General Public License
  83-along with this program.  If not, see <http://www.gnu.org/licenses/>.
  84-*/
  85-
  86-#pragma once
  87-
  88-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  89-#define LOCKING_SUPPORT_ENABLE
  90-/* Locking resynchronize hack */
  91-#define LOCKING_RESYNC_ENABLE
  92-
  93-/*
  94- * Feature disable options
  95- *  These options are also useful to firmware size reduction.
  96- */
  97-
  98-/* disable debug print */
  99-//#define NO_DEBUG
 100-
 101-/* disable print */
 102-//#define NO_PRINT
 103-
 104-/* disable action features */
 105-//#define NO_ACTION_LAYER
 106-//#define NO_ACTION_TAPPING
 107-//#define NO_ACTION_ONESHOT
 108diff --git a/keyboards/dailycraft/sandbox/rev1/keyboard.json b/keyboards/dailycraft/sandbox/rev1/keyboard.json
 109index 0a48996815e3e8e787ac8166c080878b826323df..8658de96df26733b076449768cdac7082a87f4f1 100644
 110--- a/keyboards/dailycraft/sandbox/rev1/keyboard.json
 111+++ b/keyboards/dailycraft/sandbox/rev1/keyboard.json
 112@@ -21,6 +21,12 @@
 113         "extrakey": true,
 114         "oled": true
 115     },
 116+    "qmk": {
 117+        "locking": {
 118+            "enabled": true,
 119+            "resync": true
 120+        }
 121+    },
 122     "layouts": {
 123         "LAYOUT": {
 124             "layout": [
 125diff --git a/keyboards/dailycraft/sandbox/rev2/config.h b/keyboards/dailycraft/sandbox/rev2/config.h
 126deleted file mode 100644
 127index 7da6e3f1bf27024749e7ccea2e9314caa00e319e..0000000000000000000000000000000000000000
 128--- a/keyboards/dailycraft/sandbox/rev2/config.h
 129+++ /dev/null
 130@@ -1,39 +0,0 @@
 131-/*
 132-Copyright 2021 yfuku
 133-
 134-This program is free software: you can redistribute it and/or modify
 135-it under the terms of the GNU General Public License as published by
 136-the Free Software Foundation, either version 2 of the License, or
 137-(at your option) any later version.
 138-
 139-This program is distributed in the hope that it will be useful,
 140-but WITHOUT ANY WARRANTY; without even the implied warranty of
 141-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 142-GNU General Public License for more details.
 143-
 144-You should have received a copy of the GNU General Public License
 145-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 146-*/
 147-
 148-#pragma once
 149-
 150-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 151-#define LOCKING_SUPPORT_ENABLE
 152-/* Locking resynchronize hack */
 153-#define LOCKING_RESYNC_ENABLE
 154-
 155-/*
 156- * Feature disable options
 157- *  These options are also useful to firmware size reduction.
 158- */
 159-
 160-/* disable debug print */
 161-//#define NO_DEBUG
 162-
 163-/* disable print */
 164-//#define NO_PRINT
 165-
 166-/* disable action features */
 167-//#define NO_ACTION_LAYER
 168-//#define NO_ACTION_TAPPING
 169-//#define NO_ACTION_ONESHOT
 170diff --git a/keyboards/dailycraft/sandbox/rev2/keyboard.json b/keyboards/dailycraft/sandbox/rev2/keyboard.json
 171index d6f0ac2c2a52ef1610886f9239d3fa2fdd089515..c9f2b8f567fa1c4127882b83e5c1923e6c763080 100644
 172--- a/keyboards/dailycraft/sandbox/rev2/keyboard.json
 173+++ b/keyboards/dailycraft/sandbox/rev2/keyboard.json
 174@@ -25,6 +25,12 @@
 175         "extrakey": true,
 176         "oled": true
 177     },
 178+    "qmk": {
 179+        "locking": {
 180+            "enabled": true,
 181+            "resync": true
 182+        }
 183+    },
 184     "layouts": {
 185         "LAYOUT": {
 186             "layout": [
 187diff --git a/keyboards/dailycraft/stickey4/config.h b/keyboards/dailycraft/stickey4/config.h
 188deleted file mode 100644
 189index 7da6e3f1bf27024749e7ccea2e9314caa00e319e..0000000000000000000000000000000000000000
 190--- a/keyboards/dailycraft/stickey4/config.h
 191+++ /dev/null
 192@@ -1,39 +0,0 @@
 193-/*
 194-Copyright 2021 yfuku
 195-
 196-This program is free software: you can redistribute it and/or modify
 197-it under the terms of the GNU General Public License as published by
 198-the Free Software Foundation, either version 2 of the License, or
 199-(at your option) any later version.
 200-
 201-This program is distributed in the hope that it will be useful,
 202-but WITHOUT ANY WARRANTY; without even the implied warranty of
 203-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 204-GNU General Public License for more details.
 205-
 206-You should have received a copy of the GNU General Public License
 207-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 208-*/
 209-
 210-#pragma once
 211-
 212-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 213-#define LOCKING_SUPPORT_ENABLE
 214-/* Locking resynchronize hack */
 215-#define LOCKING_RESYNC_ENABLE
 216-
 217-/*
 218- * Feature disable options
 219- *  These options are also useful to firmware size reduction.
 220- */
 221-
 222-/* disable debug print */
 223-//#define NO_DEBUG
 224-
 225-/* disable print */
 226-//#define NO_PRINT
 227-
 228-/* disable action features */
 229-//#define NO_ACTION_LAYER
 230-//#define NO_ACTION_TAPPING
 231-//#define NO_ACTION_ONESHOT
 232diff --git a/keyboards/dailycraft/stickey4/keyboard.json b/keyboards/dailycraft/stickey4/keyboard.json
 233index 101c796b4ea49f9cfb62780e94d2017464db1d20..d0e2a491d390f04714a869b86c02a16786b4f266 100644
 234--- a/keyboards/dailycraft/stickey4/keyboard.json
 235+++ b/keyboards/dailycraft/stickey4/keyboard.json
 236@@ -25,6 +25,12 @@
 237         "mousekey": true,
 238         "nkro": false
 239     },
 240+    "qmk": {
 241+        "locking": {
 242+            "enabled": true,
 243+            "resync": true
 244+        }
 245+    },
 246     "matrix_pins": {
 247         "direct": [
 248             ["D4", "C6", "D7", "E6"]
 249diff --git a/keyboards/dailycraft/wings42/rev1/config.h b/keyboards/dailycraft/wings42/rev1/config.h
 250deleted file mode 100644
 251index 7da6e3f1bf27024749e7ccea2e9314caa00e319e..0000000000000000000000000000000000000000
 252--- a/keyboards/dailycraft/wings42/rev1/config.h
 253+++ /dev/null
 254@@ -1,39 +0,0 @@
 255-/*
 256-Copyright 2021 yfuku
 257-
 258-This program is free software: you can redistribute it and/or modify
 259-it under the terms of the GNU General Public License as published by
 260-the Free Software Foundation, either version 2 of the License, or
 261-(at your option) any later version.
 262-
 263-This program is distributed in the hope that it will be useful,
 264-but WITHOUT ANY WARRANTY; without even the implied warranty of
 265-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 266-GNU General Public License for more details.
 267-
 268-You should have received a copy of the GNU General Public License
 269-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 270-*/
 271-
 272-#pragma once
 273-
 274-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 275-#define LOCKING_SUPPORT_ENABLE
 276-/* Locking resynchronize hack */
 277-#define LOCKING_RESYNC_ENABLE
 278-
 279-/*
 280- * Feature disable options
 281- *  These options are also useful to firmware size reduction.
 282- */
 283-
 284-/* disable debug print */
 285-//#define NO_DEBUG
 286-
 287-/* disable print */
 288-//#define NO_PRINT
 289-
 290-/* disable action features */
 291-//#define NO_ACTION_LAYER
 292-//#define NO_ACTION_TAPPING
 293-//#define NO_ACTION_ONESHOT
 294diff --git a/keyboards/dailycraft/wings42/rev1/keyboard.json b/keyboards/dailycraft/wings42/rev1/keyboard.json
 295index a32b591bd6e8c64e9e6b62d00e40a624aa9ef970..6b19954d881e97a0af511cc96e5b38de467856c3 100644
 296--- a/keyboards/dailycraft/wings42/rev1/keyboard.json
 297+++ b/keyboards/dailycraft/wings42/rev1/keyboard.json
 298@@ -24,6 +24,12 @@
 299         "mousekey": true,
 300         "extrakey": true
 301     },
 302+    "qmk": {
 303+        "locking": {
 304+            "enabled": true,
 305+            "resync": true
 306+        }
 307+    },
 308     "community_layouts": [
 309         "split_3x6_3"
 310     ],
 311diff --git a/keyboards/dailycraft/wings42/rev1_extkeys/config.h b/keyboards/dailycraft/wings42/rev1_extkeys/config.h
 312deleted file mode 100644
 313index 7da6e3f1bf27024749e7ccea2e9314caa00e319e..0000000000000000000000000000000000000000
 314--- a/keyboards/dailycraft/wings42/rev1_extkeys/config.h
 315+++ /dev/null
 316@@ -1,39 +0,0 @@
 317-/*
 318-Copyright 2021 yfuku
 319-
 320-This program is free software: you can redistribute it and/or modify
 321-it under the terms of the GNU General Public License as published by
 322-the Free Software Foundation, either version 2 of the License, or
 323-(at your option) any later version.
 324-
 325-This program is distributed in the hope that it will be useful,
 326-but WITHOUT ANY WARRANTY; without even the implied warranty of
 327-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 328-GNU General Public License for more details.
 329-
 330-You should have received a copy of the GNU General Public License
 331-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 332-*/
 333-
 334-#pragma once
 335-
 336-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 337-#define LOCKING_SUPPORT_ENABLE
 338-/* Locking resynchronize hack */
 339-#define LOCKING_RESYNC_ENABLE
 340-
 341-/*
 342- * Feature disable options
 343- *  These options are also useful to firmware size reduction.
 344- */
 345-
 346-/* disable debug print */
 347-//#define NO_DEBUG
 348-
 349-/* disable print */
 350-//#define NO_PRINT
 351-
 352-/* disable action features */
 353-//#define NO_ACTION_LAYER
 354-//#define NO_ACTION_TAPPING
 355-//#define NO_ACTION_ONESHOT
 356diff --git a/keyboards/dailycraft/wings42/rev1_extkeys/keyboard.json b/keyboards/dailycraft/wings42/rev1_extkeys/keyboard.json
 357index ff665a3bb758129d3716075f946319d5fc725dbe..1d77f044fbb4f3b0a2f38a0a723338ef8cbcdee8 100644
 358--- a/keyboards/dailycraft/wings42/rev1_extkeys/keyboard.json
 359+++ b/keyboards/dailycraft/wings42/rev1_extkeys/keyboard.json
 360@@ -24,6 +24,12 @@
 361         "mousekey": true,
 362         "extrakey": true
 363     },
 364+    "qmk": {
 365+        "locking": {
 366+            "enabled": true,
 367+            "resync": true
 368+        }
 369+    },
 370    "layouts": {
 371         "LAYOUT": {
 372             "layout": [
 373diff --git a/keyboards/dailycraft/wings42/rev2/config.h b/keyboards/dailycraft/wings42/rev2/config.h
 374deleted file mode 100644
 375index 7da6e3f1bf27024749e7ccea2e9314caa00e319e..0000000000000000000000000000000000000000
 376--- a/keyboards/dailycraft/wings42/rev2/config.h
 377+++ /dev/null
 378@@ -1,39 +0,0 @@
 379-/*
 380-Copyright 2021 yfuku
 381-
 382-This program is free software: you can redistribute it and/or modify
 383-it under the terms of the GNU General Public License as published by
 384-the Free Software Foundation, either version 2 of the License, or
 385-(at your option) any later version.
 386-
 387-This program is distributed in the hope that it will be useful,
 388-but WITHOUT ANY WARRANTY; without even the implied warranty of
 389-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 390-GNU General Public License for more details.
 391-
 392-You should have received a copy of the GNU General Public License
 393-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 394-*/
 395-
 396-#pragma once
 397-
 398-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 399-#define LOCKING_SUPPORT_ENABLE
 400-/* Locking resynchronize hack */
 401-#define LOCKING_RESYNC_ENABLE
 402-
 403-/*
 404- * Feature disable options
 405- *  These options are also useful to firmware size reduction.
 406- */
 407-
 408-/* disable debug print */
 409-//#define NO_DEBUG
 410-
 411-/* disable print */
 412-//#define NO_PRINT
 413-
 414-/* disable action features */
 415-//#define NO_ACTION_LAYER
 416-//#define NO_ACTION_TAPPING
 417-//#define NO_ACTION_ONESHOT
 418diff --git a/keyboards/dailycraft/wings42/rev2/keyboard.json b/keyboards/dailycraft/wings42/rev2/keyboard.json
 419index 13f283d92b3f13ad5ca7f844850fe262c1de568e..c3b686cec449fd54f553923b572f6ddcdca7e2fc 100644
 420--- a/keyboards/dailycraft/wings42/rev2/keyboard.json
 421+++ b/keyboards/dailycraft/wings42/rev2/keyboard.json
 422@@ -31,6 +31,12 @@
 423         "extrakey": true,
 424         "mousekey": true
 425     },
 426+    "qmk": {
 427+        "locking": {
 428+            "enabled": true,
 429+            "resync": true
 430+        }
 431+    },
 432     "layout_aliases": {
 433         "LAYOUT_split_3x6_3_2": "LAYOUT_split_3x6_3"
 434     },
 435diff --git a/keyboards/daji/seis_cinco/config.h b/keyboards/daji/seis_cinco/config.h
 436index d212094077a828b3011d7018b210ec9d824e585d..a8afb6157258f1a13438813e305f52c1d7a4227c 100644
 437--- a/keyboards/daji/seis_cinco/config.h
 438+++ b/keyboards/daji/seis_cinco/config.h
 439@@ -17,11 +17,6 @@
 440 
 441 #pragma once
 442 
 443-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 444-#define LOCKING_SUPPORT_ENABLE
 445-/* Locking resynchronize hack */
 446-#define LOCKING_RESYNC_ENABLE
 447-
 448 /* VIA layouts
 449  * 2 bits = 4 layout options
 450  */
 451diff --git a/keyboards/daji/seis_cinco/keyboard.json b/keyboards/daji/seis_cinco/keyboard.json
 452index a358ae86a1c90205161b4102945e5f315a1af59c..358dfc17ced4249de96167d3f442f789e18c3c3f 100644
 453--- a/keyboards/daji/seis_cinco/keyboard.json
 454+++ b/keyboards/daji/seis_cinco/keyboard.json
 455@@ -16,6 +16,12 @@
 456         "mousekey": true,
 457         "nkro": true
 458     },
 459+    "qmk": {
 460+        "locking": {
 461+            "enabled": true,
 462+            "resync": true
 463+        }
 464+    },
 465     "matrix_pins": {
 466         "cols": ["B1", "B0", "A7", "B14", "A8", "B15", "A0", "C15", "C14", "C13", "B5", "B4", "B3", "A15", "A10", "A14"],
 467         "rows": ["B2", "B10", "B11", "A9", "A6"]
 468diff --git a/keyboards/dark/magnum_ergo_1/config.h b/keyboards/dark/magnum_ergo_1/config.h
 469index 6b153f69df6faa8a9168a425d32e545234155ab9..a62055722be894f852233521861b29aeae464271 100644
 470--- a/keyboards/dark/magnum_ergo_1/config.h
 471+++ b/keyboards/dark/magnum_ergo_1/config.h
 472@@ -16,10 +16,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 473 
 474 #pragma once
 475 
 476-
 477-#define LOCKING_SUPPORT_ENABLE
 478-#define LOCKING_RESYNC_ENABLE
 479-
 480 #define BACKLIGHT_PWM_DRIVER    PWMD3
 481 #define BACKLIGHT_PWM_CHANNEL   2
 482 #define BACKLIGHT_PAL_MODE      2
 483diff --git a/keyboards/dark/magnum_ergo_1/keyboard.json b/keyboards/dark/magnum_ergo_1/keyboard.json
 484index 1aecfe86305188740eeec0ef70cd56e9a7620c86..a52de6decc0375ea6aa0db4bc0cd3798d925ef9a 100644
 485--- a/keyboards/dark/magnum_ergo_1/keyboard.json
 486+++ b/keyboards/dark/magnum_ergo_1/keyboard.json
 487@@ -25,6 +25,12 @@
 488         "mousekey": false,
 489         "nkro": true
 490     },
 491+    "qmk": {
 492+        "locking": {
 493+            "enabled": true,
 494+            "resync": true
 495+        }
 496+    },
 497     "diode_direction": "COL2ROW",
 498     "backlight": {
 499         "pin": "C7",
 500diff --git a/keyboards/darkproject/kd83a_bfg_edition/config.h b/keyboards/darkproject/kd83a_bfg_edition/config.h
 501index cb7cdb57fc1d121b0786e9bd67ecb04f57127dbc..880aabd5d718249a7c2f399586c663a721c2c155 100644
 502--- a/keyboards/darkproject/kd83a_bfg_edition/config.h
 503+++ b/keyboards/darkproject/kd83a_bfg_edition/config.h
 504@@ -16,11 +16,6 @@
 505 
 506 #pragma once
 507 
 508-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 509-#define LOCKING_SUPPORT_ENABLE
 510-/* Locking resynchronize hack */
 511-#define LOCKING_RESYNC_ENABLE
 512-
 513 /* External spi flash */
 514 #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
 515 
 516diff --git a/keyboards/darkproject/kd83a_bfg_edition/keyboard.json b/keyboards/darkproject/kd83a_bfg_edition/keyboard.json
 517index 56c45a222f3af6546a477f9d5ad829ec734db75b..23bd2b69817903a3bb9740f28b04203be63da5d8 100644
 518--- a/keyboards/darkproject/kd83a_bfg_edition/keyboard.json
 519+++ b/keyboards/darkproject/kd83a_bfg_edition/keyboard.json
 520@@ -31,7 +31,11 @@
 521     },
 522     "processor": "WB32FQ95",
 523     "qmk": {
 524-        "tap_keycode_delay": 10
 525+        "tap_keycode_delay": 10,
 526+        "locking": {
 527+            "enabled": true,
 528+            "resync": true
 529+        }
 530     },
 531     "rgb_matrix": {
 532         "animations": {
 533diff --git a/keyboards/darkproject/kd87a_bfg_edition/config.h b/keyboards/darkproject/kd87a_bfg_edition/config.h
 534index 1d4c0772a24cafdf8aa330b3d17a991c194989d6..a32f7122311ee84008702526ca1438924db7bd6c 100644
 535--- a/keyboards/darkproject/kd87a_bfg_edition/config.h
 536+++ b/keyboards/darkproject/kd87a_bfg_edition/config.h
 537@@ -16,11 +16,6 @@
 538 
 539 #pragma once
 540 
 541-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 542-#define LOCKING_SUPPORT_ENABLE
 543-/* Locking resynchronize hack */
 544-#define LOCKING_RESYNC_ENABLE
 545-
 546 /* External spi flash */
 547 #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
 548 
 549diff --git a/keyboards/darkproject/kd87a_bfg_edition/keyboard.json b/keyboards/darkproject/kd87a_bfg_edition/keyboard.json
 550index 76cd497b0f36e7c166f1b9fc60164ab9c20be3ce..856dbea6488782456aada31a24d961cb41e6c56e 100644
 551--- a/keyboards/darkproject/kd87a_bfg_edition/keyboard.json
 552+++ b/keyboards/darkproject/kd87a_bfg_edition/keyboard.json
 553@@ -30,7 +30,11 @@
 554     },
 555     "processor": "WB32FQ95",
 556     "qmk": {
 557-        "tap_keycode_delay": 10
 558+        "tap_keycode_delay": 10,
 559+        "locking": {
 560+            "enabled": true,
 561+            "resync": true
 562+        }
 563     },
 564     "rgb_matrix": {
 565         "animations": {
 566diff --git a/keyboards/dc01/arrow/config.h b/keyboards/dc01/arrow/config.h
 567index ef008e5dfe4e9e11898b211997485849a8afccc9..0edb8002c8a31671cbb96b80aa475c06dfa02fef 100644
 568--- a/keyboards/dc01/arrow/config.h
 569+++ b/keyboards/dc01/arrow/config.h
 570@@ -37,8 +37,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 571 
 572 /* COL2ROW, ROW2COL*/
 573 #define DIODE_DIRECTION COL2ROW
 574-
 575-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 576-#define LOCKING_SUPPORT_ENABLE
 577-/* Locking resynchronize hack */
 578-#define LOCKING_RESYNC_ENABLE
 579diff --git a/keyboards/dc01/arrow/keyboard.json b/keyboards/dc01/arrow/keyboard.json
 580index 85ca25c23e871dc43e4b323de33fad3e378d1d47..72fa1b4e22c81a2623d47afbf39a230583d62e1a 100644
 581--- a/keyboards/dc01/arrow/keyboard.json
 582+++ b/keyboards/dc01/arrow/keyboard.json
 583@@ -17,6 +17,12 @@
 584         "extrakey": true,
 585         "nkro": true
 586     },
 587+    "qmk": {
 588+        "locking": {
 589+            "enabled": true,
 590+            "resync": true
 591+        }
 592+    },
 593     "layouts": {
 594         "LAYOUT_all": {
 595             "layout": [
 596diff --git a/keyboards/dc01/left/config.h b/keyboards/dc01/left/config.h
 597index dbaed0d54dff5735915c09085f8a162e66b96ec0..1f58007ac1992f57936f9e979162d6d7ae537ff8 100644
 598--- a/keyboards/dc01/left/config.h
 599+++ b/keyboards/dc01/left/config.h
 600@@ -41,11 +41,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 601 /* COL2ROW, ROW2COL*/
 602 #define DIODE_DIRECTION COL2ROW
 603 
 604-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 605-#define LOCKING_SUPPORT_ENABLE
 606-/* Locking resynchronize hack */
 607-#define LOCKING_RESYNC_ENABLE
 608-
 609 /*
 610  * Feature disable options
 611  *  These options are also useful to firmware size reduction.
 612diff --git a/keyboards/dc01/left/keyboard.json b/keyboards/dc01/left/keyboard.json
 613index e29679099557cc0db228c1d02d5a3e36cd5d6603..2238f67564d6e55879f5c2c425e7ad9d358f4d50 100644
 614--- a/keyboards/dc01/left/keyboard.json
 615+++ b/keyboards/dc01/left/keyboard.json
 616@@ -16,6 +16,12 @@
 617         "extrakey": true,
 618         "nkro": true
 619     },
 620+    "qmk": {
 621+        "locking": {
 622+            "enabled": true,
 623+            "resync": true
 624+        }
 625+    },
 626     "debounce": 0,
 627     "layouts": {
 628         "LAYOUT_ansi": {
 629diff --git a/keyboards/dc01/numpad/config.h b/keyboards/dc01/numpad/config.h
 630index bcaf26b3f06170c5b8a81363f05884de58e2b864..b2b71f574f2718cfc6f8439673ae3657a9a2df3e 100644
 631--- a/keyboards/dc01/numpad/config.h
 632+++ b/keyboards/dc01/numpad/config.h
 633@@ -37,8 +37,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 634 
 635 /* COL2ROW, ROW2COL*/
 636 #define DIODE_DIRECTION COL2ROW
 637-
 638-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 639-#define LOCKING_SUPPORT_ENABLE
 640-/* Locking resynchronize hack */
 641-#define LOCKING_RESYNC_ENABLE
 642diff --git a/keyboards/dc01/numpad/keyboard.json b/keyboards/dc01/numpad/keyboard.json
 643index 0cf73c23e334ce79e81f9bfe64452c96f87b5d18..900af6e542a2cc56925a8e58ef96127f162dc7ba 100644
 644--- a/keyboards/dc01/numpad/keyboard.json
 645+++ b/keyboards/dc01/numpad/keyboard.json
 646@@ -17,6 +17,12 @@
 647         "extrakey": true,
 648         "nkro": true
 649     },
 650+    "qmk": {
 651+        "locking": {
 652+            "enabled": true,
 653+            "resync": true
 654+        }
 655+    },
 656     "community_layouts": ["numpad_5x4", "ortho_5x4"],
 657     "layouts": {
 658         "LAYOUT_numpad_5x4": {
 659diff --git a/keyboards/dc01/right/config.h b/keyboards/dc01/right/config.h
 660index 0e19af15256964c5ce0d167fb24fcc8ec08e457a..6529b8e788b6495f3e09da464e09c0367077647b 100644
 661--- a/keyboards/dc01/right/config.h
 662+++ b/keyboards/dc01/right/config.h
 663@@ -37,8 +37,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 664 
 665 /* COL2ROW, ROW2COL*/
 666 #define DIODE_DIRECTION COL2ROW
 667-
 668-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 669-#define LOCKING_SUPPORT_ENABLE
 670-/* Locking resynchronize hack */
 671-#define LOCKING_RESYNC_ENABLE
 672diff --git a/keyboards/dc01/right/keyboard.json b/keyboards/dc01/right/keyboard.json
 673index 6f48e05483e53f81ae51a9978b531c0b526273f7..36dc7a7056baed4ee242eabe1f683f42487fa1f0 100644
 674--- a/keyboards/dc01/right/keyboard.json
 675+++ b/keyboards/dc01/right/keyboard.json
 676@@ -17,6 +17,12 @@
 677         "extrakey": true,
 678         "nkro": true
 679     },
 680+    "qmk": {
 681+        "locking": {
 682+            "enabled": true,
 683+            "resync": true
 684+        }
 685+    },
 686     "layouts": {
 687         "LAYOUT_all": {
 688             "layout": [
 689diff --git a/keyboards/dcpedit/redherring/config.h b/keyboards/dcpedit/redherring/config.h
 690index 115be3306e579fee56a43dbc45cf1e939c9c5f5b..790b9cd631dfbcdc147c2de0d66ab89014736d96 100755
 691--- a/keyboards/dcpedit/redherring/config.h
 692+++ b/keyboards/dcpedit/redherring/config.h
 693@@ -3,8 +3,6 @@
 694 
 695 #pragma once
 696 
 697-#define LOCKING_SUPPORT_ENABLE
 698-#define LOCKING_RESYNC_ENABLE
 699 #define SOLENOID_PIN   B5
 700 #define OLED_IC OLED_IC_SH1107
 701-#define OLED_DISPLAY_64X128
 702+#define OLED_DISPLAY_64X128
 703diff --git a/keyboards/dcpedit/redherring/keyboard.json b/keyboards/dcpedit/redherring/keyboard.json
 704index a2f87c90b9a75d8f7d53300f4aa43df66c07a8d7..a6747402d0111e6fe114ff53c76509065fa1b655 100644
 705--- a/keyboards/dcpedit/redherring/keyboard.json
 706+++ b/keyboards/dcpedit/redherring/keyboard.json
 707@@ -29,7 +29,11 @@
 708     },
 709     "processor": "atmega32a",
 710     "qmk": {
 711-        "tap_keycode_delay": 10
 712+        "tap_keycode_delay": 10,
 713+        "locking": {
 714+            "enabled": true,
 715+            "resync": true
 716+        }
 717     },
 718     "haptic": {
 719         "driver": "solenoid"
 720diff --git a/keyboards/delikeeb/flatbread60/config.h b/keyboards/delikeeb/flatbread60/config.h
 721deleted file mode 100644
 722index 93fec1ee2daffdb15d1a8e8ba33a1e1d9eab77e6..0000000000000000000000000000000000000000
 723--- a/keyboards/delikeeb/flatbread60/config.h
 724+++ /dev/null
 725@@ -1,39 +0,0 @@
 726-/*
 727-Copyright 2020 noclew
 728-
 729-This program is free software: you can redistribute it and/or modify
 730-it under the terms of the GNU General Public License as published by
 731-the Free Software Foundation, either version 2 of the License, or
 732-(at your option) any later version.
 733-
 734-This program is distributed in the hope that it will be useful,
 735-but WITHOUT ANY WARRANTY; without even the implied warranty of
 736-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 737-GNU General Public License for more details.
 738-
 739-You should have received a copy of the GNU General Public License
 740-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 741-*/
 742-
 743-#pragma once
 744-
 745-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 746-#define LOCKING_SUPPORT_ENABLE
 747-/* Locking resynchronize hack */
 748-#define LOCKING_RESYNC_ENABLE
 749-
 750-/*
 751- * Feature disable options
 752- *  These options are also useful to firmware size reduction.
 753- */
 754-
 755-/* disable debug print */
 756-//#define NO_DEBUG
 757-
 758-/* disable print */
 759-//#define NO_PRINT
 760-
 761-/* disable action features */
 762-//#define NO_ACTION_LAYER
 763-//#define NO_ACTION_TAPPING
 764-//#define NO_ACTION_ONESHOT
 765diff --git a/keyboards/delikeeb/flatbread60/keyboard.json b/keyboards/delikeeb/flatbread60/keyboard.json
 766index 8a4614e5b46e938ecebf2b29e41409b8bb042f50..b0cf794dfb0cabf01048cf59c01b2401a6f6105f 100644
 767--- a/keyboards/delikeeb/flatbread60/keyboard.json
 768+++ b/keyboards/delikeeb/flatbread60/keyboard.json
 769@@ -38,6 +38,12 @@
 770         "nkro": false,
 771         "rgblight": true
 772     },
 773+    "qmk": {
 774+        "locking": {
 775+            "enabled": true,
 776+            "resync": true
 777+        }
 778+    },
 779     "matrix_pins": {
 780         "cols": ["F4", "F5", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"],
 781         "rows": ["F6", "B1", "B3", "B2", "B6"]
 782diff --git a/keyboards/delikeeb/vaguettelite/config.h b/keyboards/delikeeb/vaguettelite/config.h
 783deleted file mode 100644
 784index 93fec1ee2daffdb15d1a8e8ba33a1e1d9eab77e6..0000000000000000000000000000000000000000
 785--- a/keyboards/delikeeb/vaguettelite/config.h
 786+++ /dev/null
 787@@ -1,39 +0,0 @@
 788-/*
 789-Copyright 2020 noclew
 790-
 791-This program is free software: you can redistribute it and/or modify
 792-it under the terms of the GNU General Public License as published by
 793-the Free Software Foundation, either version 2 of the License, or
 794-(at your option) any later version.
 795-
 796-This program is distributed in the hope that it will be useful,
 797-but WITHOUT ANY WARRANTY; without even the implied warranty of
 798-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 799-GNU General Public License for more details.
 800-
 801-You should have received a copy of the GNU General Public License
 802-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 803-*/
 804-
 805-#pragma once
 806-
 807-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 808-#define LOCKING_SUPPORT_ENABLE
 809-/* Locking resynchronize hack */
 810-#define LOCKING_RESYNC_ENABLE
 811-
 812-/*
 813- * Feature disable options
 814- *  These options are also useful to firmware size reduction.
 815- */
 816-
 817-/* disable debug print */
 818-//#define NO_DEBUG
 819-
 820-/* disable print */
 821-//#define NO_PRINT
 822-
 823-/* disable action features */
 824-//#define NO_ACTION_LAYER
 825-//#define NO_ACTION_TAPPING
 826-//#define NO_ACTION_ONESHOT
 827diff --git a/keyboards/delikeeb/vaguettelite/keyboard.json b/keyboards/delikeeb/vaguettelite/keyboard.json
 828index 98311fe11551eb4267f32807b390e5d21f7b2c5c..56919958f2620c01412cfa60c7c511745a664f1e 100644
 829--- a/keyboards/delikeeb/vaguettelite/keyboard.json
 830+++ b/keyboards/delikeeb/vaguettelite/keyboard.json
 831@@ -18,6 +18,12 @@
 832         "nkro": false,
 833         "rgblight": true
 834     },
 835+    "qmk": {
 836+        "locking": {
 837+            "enabled": true,
 838+            "resync": true
 839+        }
 840+    },
 841     "matrix_pins": {
 842         "cols": ["F6", "F7", "B1", "B2", "B6", "B5", "B4", "E6", "D7", "C6", "D0", "D4"],
 843         "rows": ["F4", "B3", "D1", "D2", "D3", "F5"]
 844diff --git a/keyboards/delikeeb/vanana/rev1/config.h b/keyboards/delikeeb/vanana/rev1/config.h
 845index f5d10c1915f08707acf161b6228c1a8958adbc76..972811510684d6dc8706fa30a42d2267635a8422 100644
 846--- a/keyboards/delikeeb/vanana/rev1/config.h
 847+++ b/keyboards/delikeeb/vanana/rev1/config.h
 848@@ -19,11 +19,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 849 
 850 #define B7_AUDIO
 851 
 852-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 853-#define LOCKING_SUPPORT_ENABLE
 854-/* Locking resynchronize hack */
 855-#define LOCKING_RESYNC_ENABLE
 856-
 857 /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
 858  * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
 859  */
 860diff --git a/keyboards/delikeeb/vanana/rev1/keyboard.json b/keyboards/delikeeb/vanana/rev1/keyboard.json
 861index 9ae59761de908a5e997d8fabb5d29270ee631eff..d8d5d2e4c9615af5366015be4c2b4a6069880a1c 100644
 862--- a/keyboards/delikeeb/vanana/rev1/keyboard.json
 863+++ b/keyboards/delikeeb/vanana/rev1/keyboard.json
 864@@ -37,6 +37,12 @@
 865         "mousekey": true,
 866         "nkro": false
 867     },
 868+    "qmk": {
 869+        "locking": {
 870+            "enabled": true,
 871+            "resync": true
 872+        }
 873+    },
 874     "layouts": {
 875         "LAYOUT": {
 876             "layout": [
 877diff --git a/keyboards/delikeeb/vanana/rev2/config.h b/keyboards/delikeeb/vanana/rev2/config.h
 878index f5d10c1915f08707acf161b6228c1a8958adbc76..972811510684d6dc8706fa30a42d2267635a8422 100644
 879--- a/keyboards/delikeeb/vanana/rev2/config.h
 880+++ b/keyboards/delikeeb/vanana/rev2/config.h
 881@@ -19,11 +19,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 882 
 883 #define B7_AUDIO
 884 
 885-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 886-#define LOCKING_SUPPORT_ENABLE
 887-/* Locking resynchronize hack */
 888-#define LOCKING_RESYNC_ENABLE
 889-
 890 /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
 891  * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
 892  */
 893diff --git a/keyboards/delikeeb/vanana/rev2/keyboard.json b/keyboards/delikeeb/vanana/rev2/keyboard.json
 894index a15ad3e71a37ea4590ff3a1074836a3c27de4237..9da7a9dd8857fcc888c5586a6f84c82be8894d76 100644
 895--- a/keyboards/delikeeb/vanana/rev2/keyboard.json
 896+++ b/keyboards/delikeeb/vanana/rev2/keyboard.json
 897@@ -39,6 +39,12 @@
 898         "rgblight": true,
 899         "audio": true
 900     },
 901+    "qmk": {
 902+        "locking": {
 903+            "enabled": true,
 904+            "resync": true
 905+        }
 906+    },
 907     "layouts": {
 908         "LAYOUT": {
 909             "layout": [
 910diff --git a/keyboards/delikeeb/vaneela/config.h b/keyboards/delikeeb/vaneela/config.h
 911deleted file mode 100644
 912index 93fec1ee2daffdb15d1a8e8ba33a1e1d9eab77e6..0000000000000000000000000000000000000000
 913--- a/keyboards/delikeeb/vaneela/config.h
 914+++ /dev/null
 915@@ -1,39 +0,0 @@
 916-/*
 917-Copyright 2020 noclew
 918-
 919-This program is free software: you can redistribute it and/or modify
 920-it under the terms of the GNU General Public License as published by
 921-the Free Software Foundation, either version 2 of the License, or
 922-(at your option) any later version.
 923-
 924-This program is distributed in the hope that it will be useful,
 925-but WITHOUT ANY WARRANTY; without even the implied warranty of
 926-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 927-GNU General Public License for more details.
 928-
 929-You should have received a copy of the GNU General Public License
 930-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 931-*/
 932-
 933-#pragma once
 934-
 935-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 936-#define LOCKING_SUPPORT_ENABLE
 937-/* Locking resynchronize hack */
 938-#define LOCKING_RESYNC_ENABLE
 939-
 940-/*
 941- * Feature disable options
 942- *  These options are also useful to firmware size reduction.
 943- */
 944-
 945-/* disable debug print */
 946-//#define NO_DEBUG
 947-
 948-/* disable print */
 949-//#define NO_PRINT
 950-
 951-/* disable action features */
 952-//#define NO_ACTION_LAYER
 953-//#define NO_ACTION_TAPPING
 954-//#define NO_ACTION_ONESHOT
 955diff --git a/keyboards/delikeeb/vaneela/keyboard.json b/keyboards/delikeeb/vaneela/keyboard.json
 956index 226014b8a0bb4b5b8d052434ffff31caa9e607c1..5f76c8b7ab1f88c9eb48556b8a4fd0f5131d4a12 100644
 957--- a/keyboards/delikeeb/vaneela/keyboard.json
 958+++ b/keyboards/delikeeb/vaneela/keyboard.json
 959@@ -16,6 +16,12 @@
 960         "mousekey": true,
 961         "nkro": false
 962     },
 963+    "qmk": {
 964+        "locking": {
 965+            "enabled": true,
 966+            "resync": true
 967+        }
 968+    },
 969     "matrix_pins": {
 970         "cols": ["F4", "F5", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"],
 971         "rows": ["F6", "F7", "B3", "B2", "B6"]
 972diff --git a/keyboards/delikeeb/vaneelaex/config.h b/keyboards/delikeeb/vaneelaex/config.h
 973deleted file mode 100644
 974index 93fec1ee2daffdb15d1a8e8ba33a1e1d9eab77e6..0000000000000000000000000000000000000000
 975--- a/keyboards/delikeeb/vaneelaex/config.h
 976+++ /dev/null
 977@@ -1,39 +0,0 @@
 978-/*
 979-Copyright 2020 noclew
 980-
 981-This program is free software: you can redistribute it and/or modify
 982-it under the terms of the GNU General Public License as published by
 983-the Free Software Foundation, either version 2 of the License, or
 984-(at your option) any later version.
 985-
 986-This program is distributed in the hope that it will be useful,
 987-but WITHOUT ANY WARRANTY; without even the implied warranty of
 988-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 989-GNU General Public License for more details.
 990-
 991-You should have received a copy of the GNU General Public License
 992-along with this program.  If not, see <http://www.gnu.org/licenses/>.
 993-*/
 994-
 995-#pragma once
 996-
 997-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 998-#define LOCKING_SUPPORT_ENABLE
 999-/* Locking resynchronize hack */
1000-#define LOCKING_RESYNC_ENABLE
1001-
1002-/*
1003- * Feature disable options
1004- *  These options are also useful to firmware size reduction.
1005- */
1006-
1007-/* disable debug print */
1008-//#define NO_DEBUG
1009-
1010-/* disable print */
1011-//#define NO_PRINT
1012-
1013-/* disable action features */
1014-//#define NO_ACTION_LAYER
1015-//#define NO_ACTION_TAPPING
1016-//#define NO_ACTION_ONESHOT
1017diff --git a/keyboards/delikeeb/vaneelaex/keyboard.json b/keyboards/delikeeb/vaneelaex/keyboard.json
1018index 8bf40b169bc23f09a018611db4f1d615cb0b075a..9810d341abe2a52851f8c4a205f7e5ccf330e539 100644
1019--- a/keyboards/delikeeb/vaneelaex/keyboard.json
1020+++ b/keyboards/delikeeb/vaneelaex/keyboard.json
1021@@ -16,6 +16,12 @@
1022         "mousekey": true,
1023         "nkro": false
1024     },
1025+    "qmk": {
1026+        "locking": {
1027+            "enabled": true,
1028+            "resync": true
1029+        }
1030+    },
1031     "matrix_pins": {
1032         "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B5", "B4", "E6", "D7", "C6", "D4"],
1033         "rows": ["D3", "D2", "D1", "D0", "B2", "B6"]
1034diff --git a/keyboards/delikeeb/waaffle/rev3/config.h b/keyboards/delikeeb/waaffle/rev3/config.h
1035index 6450b251b7957bc811a01646c0c86e144a173ab5..43f6a43b6fe70ddfa6fe671be237f571fcff6705 100644
1036--- a/keyboards/delikeeb/waaffle/rev3/config.h
1037+++ b/keyboards/delikeeb/waaffle/rev3/config.h
1038@@ -17,11 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
1039 
1040 #pragma once
1041 
1042-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
1043-#define LOCKING_SUPPORT_ENABLE
1044-/* Locking resynchronize hack */
1045-#define LOCKING_RESYNC_ENABLE
1046-
1047 /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
1048  * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
1049  */
1050diff --git a/keyboards/delikeeb/waaffle/rev3/elite_c/keyboard.json b/keyboards/delikeeb/waaffle/rev3/elite_c/keyboard.json
1051index 44fd177e0204a52b041e564d6d1026be849ab58e..22fb33aade1eb966951b0719c49d3c420b9d75ed 100644
1052--- a/keyboards/delikeeb/waaffle/rev3/elite_c/keyboard.json
1053+++ b/keyboards/delikeeb/waaffle/rev3/elite_c/keyboard.json
1054@@ -10,5 +10,11 @@
1055         "nkro": false,
1056         "rgblight": true,
1057         "encoder": true
1058+    },
1059+    "qmk": {
1060+        "locking": {
1061+            "enabled": true,
1062+            "resync": true
1063+        }
1064     }
1065 }
1066diff --git a/keyboards/delikeeb/waaffle/rev3/pro_micro/keyboard.json b/keyboards/delikeeb/waaffle/rev3/pro_micro/keyboard.json
1067index a97bf794ea18e1a309849d1d4cc9225b57c3168d..55e68c43935ec02d345720b7652c892445b32ff5 100644
1068--- a/keyboards/delikeeb/waaffle/rev3/pro_micro/keyboard.json
1069+++ b/keyboards/delikeeb/waaffle/rev3/pro_micro/keyboard.json
1070@@ -8,5 +8,11 @@
1071         "extrakey": true,
1072         "mousekey": true,
1073         "nkro": false
1074+    },
1075+    "qmk": {
1076+        "locking": {
1077+            "enabled": true,
1078+            "resync": true
1079+        }
1080     }
1081 }
1082diff --git a/keyboards/deltapad/config.h b/keyboards/deltapad/config.h
1083deleted file mode 100644
1084index a62147158e1c93347683ef4a94c425208b2c149f..0000000000000000000000000000000000000000
1085--- a/keyboards/deltapad/config.h
1086+++ /dev/null
1087@@ -1,39 +0,0 @@
1088-/*
1089-Copyright 2021 Richard Snijder
1090-
1091-This program is free software: you can redistribute it and/or modify
1092-it under the terms of the GNU General Public License as published by
1093-the Free Software Foundation, either version 2 of the License, or
1094-(at your option) any later version.
1095-
1096-This program is distributed in the hope that it will be useful,
1097-but WITHOUT ANY WARRANTY; without even the implied warranty of
1098-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1099-GNU General Public License for more details.
1100-
1101-You should have received a copy of the GNU General Public License
1102-along with this program.  If not, see <http://www.gnu.org/licenses/>.
1103-*/
1104-
1105-#pragma once
1106-
1107-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
1108-#define LOCKING_SUPPORT_ENABLE
1109-/* Locking resynchronize hack */
1110-#define LOCKING_RESYNC_ENABLE
1111-
1112-/*
1113- * Feature disable options
1114- *  These options are also useful to firmware size reduction.
1115- */
1116-
1117-/* disable debug print */
1118-//#define NO_DEBUG
1119-
1120-/* disable print */
1121-//#define NO_PRINT
1122-
1123-/* disable action features */
1124-//#define NO_ACTION_LAYER
1125-//#define NO_ACTION_TAPPING
1126-//#define NO_ACTION_ONESHOT
1127diff --git a/keyboards/deltapad/keyboard.json b/keyboards/deltapad/keyboard.json
1128index 256f2ba10556ac35767ab113e622dd2f869c6a95..23683bbd1e2854f9e0061085517ed34350c0b3f2 100644
1129--- a/keyboards/deltapad/keyboard.json
1130+++ b/keyboards/deltapad/keyboard.json
1131@@ -16,6 +16,12 @@
1132     "mousekey": true,
1133     "nkro": false
1134   },
1135+  "qmk": {
1136+    "locking": {
1137+      "enabled": true,
1138+      "resync": true
1139+    }
1140+  },
1141   "matrix_pins": {
1142     "cols": ["D7", "E6", "B4", "B5"],
1143     "rows": ["D2", "D3", "D1", "D0"]
1144diff --git a/keyboards/deltasplit75/v2/config.h b/keyboards/deltasplit75/v2/config.h
1145deleted file mode 100644
1146index 9b7700e0139b2f846c3b115e3839714280844934..0000000000000000000000000000000000000000
1147--- a/keyboards/deltasplit75/v2/config.h
1148+++ /dev/null
1149@@ -1,39 +0,0 @@
1150-/*
1151-Copyright 2012 Jun Wako <wakojun@gmail.com>
1152-
1153-This program is free software: you can redistribute it and/or modify
1154-it under the terms of the GNU General Public License as published by
1155-the Free Software Foundation, either version 2 of the License, or
1156-(at your option) any later version.
1157-
1158-This program is distributed in the hope that it will be useful,
1159-but WITHOUT ANY WARRANTY; without even the implied warranty of
1160-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1161-GNU General Public License for more details.
1162-
1163-You should have received a copy of the GNU General Public License
1164-along with this program.  If not, see <http://www.gnu.org/licenses/>.
1165-*/
1166-
1167-#pragma once
1168-
1169-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
1170-#define LOCKING_SUPPORT_ENABLE
1171-/* Locking resynchronize hack */
1172-#define LOCKING_RESYNC_ENABLE
1173-
1174-/*
1175- * Feature disable options
1176- *  These options are also useful to firmware size reduction.
1177- */
1178-
1179-/* disable debug print */
1180-// #define NO_DEBUG
1181-
1182-/* disable print */
1183-// #define NO_PRINT
1184-
1185-/* disable action features */
1186-//#define NO_ACTION_LAYER
1187-//#define NO_ACTION_TAPPING
1188-//#define NO_ACTION_ONESHOT