From c4e182b98e0b072dd97133b71b01f59f0eb07501 Mon Sep 17 00:00:00 2001
From: James Young
Date: Thu, 23 May 2024 11:49:53 -0700
Subject: Migrate `LOCKING_*_ENABLE` to Data-Driven: P, Part 2 (#23780)
Affects:
- `preonic/rev1`
- `preonic/rev2`
- `preonic/rev3`
- `preonic/rev3_drop`
- `primekb/meridian/ktr1010`
- `primekb/meridian/ws2812`
- `primekb/meridian_rgb`
- `primekb/prime_m`
- `primekb/prime_o`
- `primekb/prime_r`
- `projectcain/relic`
- `projectcain/vault45`
- `projectd/65/projectd_65_ansi`
- `projectd/75/ansi`
- `projectkb/alice/rev1`
- `projectkb/alice/rev2`
- `projectkb/signature65`
- `projectkb/signature87`
- `prototypist/allison`
- `prototypist/allison_numpad`
- `prototypist/j01`
- `psuieee/pluto12`
- `pteron36`
- `puck`
- `punk75`---
keyboards/prototypist/allison/config.h | 39 ----------------------
keyboards/prototypist/allison/keyboard.json | 6 ++++
keyboards/prototypist/allison_numpad/config.h | 39 ----------------------
keyboards/prototypist/allison_numpad/keyboard.json | 6 ++++
keyboards/prototypist/j01/config.h | 22 ------------
keyboards/prototypist/j01/keyboard.json | 6 ++++
6 files changed, 18 insertions(+), 100 deletions(-)
delete mode 100644 keyboards/prototypist/allison/config.h
delete mode 100644 keyboards/prototypist/allison_numpad/config.h
delete mode 100644 keyboards/prototypist/j01/config.h
(limited to 'keyboards/prototypist')
diff --git a/keyboards/prototypist/allison/config.h b/keyboards/prototypist/allison/config.h
deleted file mode 100644
index 9765ad6b1a..0000000000
--- a/keyboards/prototypist/allison/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 Yiancar
-
-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 .
-*/
-
-#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
diff --git a/keyboards/prototypist/allison/keyboard.json b/keyboards/prototypist/allison/keyboard.json
index 0261b204bb..ea80e853bf 100644
--- a/keyboards/prototypist/allison/keyboard.json
+++ b/keyboards/prototypist/allison/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "F1", "F0"],
"rows": ["D2", "D1", "D0", "B1", "B2", "D3"]
diff --git a/keyboards/prototypist/allison_numpad/config.h b/keyboards/prototypist/allison_numpad/config.h
deleted file mode 100644
index 9765ad6b1a..0000000000
--- a/keyboards/prototypist/allison_numpad/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2020 Yiancar
-
-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 .
-*/
-
-#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
diff --git a/keyboards/prototypist/allison_numpad/keyboard.json b/keyboards/prototypist/allison_numpad/keyboard.json
index 974573fc64..a995cd6bbf 100644
--- a/keyboards/prototypist/allison_numpad/keyboard.json
+++ b/keyboards/prototypist/allison_numpad/keyboard.json
@@ -17,6 +17,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F6", "F5", "F1", "F0"],
"rows": ["F4", "C7", "C6", "B6", "B5", "B4"]
diff --git a/keyboards/prototypist/j01/config.h b/keyboards/prototypist/j01/config.h
deleted file mode 100644
index 1d22c074e2..0000000000
--- a/keyboards/prototypist/j01/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2020 Shaun Mitchell (Flex)
- *
- * 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 .
- */
-
-#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/prototypist/j01/keyboard.json b/keyboards/prototypist/j01/keyboard.json
index d6e24dc9e5..68296e1b77 100644
--- a/keyboards/prototypist/j01/keyboard.json
+++ b/keyboards/prototypist/j01/keyboard.json
@@ -20,6 +20,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B1", "F0", "F7", "F1", "F4", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"],
"rows": ["B3", "B2", "B0", "F6", "F5"]
--
cgit v1.2.3