diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 13:14:29 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 13:14:29 +1100 |
commit | f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch) | |
tree | 11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/novelkeys | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/novelkeys')
-rwxr-xr-x | keyboards/novelkeys/nk65b/config.h | 4 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65b/info.json | 4 | ||||
-rw-r--r-- | keyboards/novelkeys/nk87b/config.h | 4 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87b/info.json | 4 |
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": { |