summaryrefslogtreecommitdiff
path: root/keyboards/novelkeys
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 13:14:29 +1100
committerGitHub <noreply@github.com>2023-02-17 13:14:29 +1100
commitf4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch)
tree11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/novelkeys
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/novelkeys')
-rwxr-xr-xkeyboards/novelkeys/nk65b/config.h4
-rwxr-xr-xkeyboards/novelkeys/nk65b/info.json4
-rw-r--r--keyboards/novelkeys/nk87b/config.h4
-rwxr-xr-xkeyboards/novelkeys/nk87b/info.json4
4 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/novelkeys/nk65b/config.h b/keyboards/novelkeys/nk65b/config.h
index 16c202c064..805d356bba 100755
--- a/keyboards/novelkeys/nk65b/config.h
+++ b/keyboards/novelkeys/nk65b/config.h
@@ -28,10 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-/* Indicator LEDs */
-#define LED_CAPS_LOCK_PIN A14
-#define LED_PIN_ON_STATE 0
-
/* RGB options */
#define RGB_DI_PIN B4
diff --git a/keyboards/novelkeys/nk65b/info.json b/keyboards/novelkeys/nk65b/info.json
index 2b8beefd6c..3e60bfd3a4 100755
--- a/keyboards/novelkeys/nk65b/info.json
+++ b/keyboards/novelkeys/nk65b/info.json
@@ -8,6 +8,10 @@
"pid": "0x4E4F",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A14",
+ "on_state": 0
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/novelkeys/nk87b/config.h b/keyboards/novelkeys/nk87b/config.h
index 38374b7c4b..4ffa07a1e8 100644
--- a/keyboards/novelkeys/nk87b/config.h
+++ b/keyboards/novelkeys/nk87b/config.h
@@ -28,10 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-/* Indicator LEDs */
-#define LED_CAPS_LOCK_PIN A2
-#define LED_PIN_ON_STATE 0
-
/* RGB options */
#define RGB_DI_PIN B0
diff --git a/keyboards/novelkeys/nk87b/info.json b/keyboards/novelkeys/nk87b/info.json
index a7d0eb4d36..6bcc03d93b 100755
--- a/keyboards/novelkeys/nk87b/info.json
+++ b/keyboards/novelkeys/nk87b/info.json
@@ -8,6 +8,10 @@
"pid": "0x4E50",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A2",
+ "on_state": 0
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {