summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/np24
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/ymdk/np24
parentd784f78bd0a034c1d6085379615014fd701536ab (diff)
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/ymdk/np24')
-rw-r--r--keyboards/ymdk/np24/u4rgb6/config.h4
-rw-r--r--keyboards/ymdk/np24/u4rgb6/info.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/ymdk/np24/u4rgb6/config.h b/keyboards/ymdk/np24/u4rgb6/config.h
index 196258a5e7..737a4c3b31 100644
--- a/keyboards/ymdk/np24/u4rgb6/config.h
+++ b/keyboards/ymdk/np24/u4rgb6/config.h
@@ -27,10 +27,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-/* LED indicator pins */
-#define LED_NUM_LOCK_PIN C6
-#define LED_PIN_ON_STATE 0
-
#define BACKLIGHT_PIN B7
#ifdef BACKLIGHT_PIN
# define BACKLIGHT_LEVELS 31
diff --git a/keyboards/ymdk/np24/u4rgb6/info.json b/keyboards/ymdk/np24/u4rgb6/info.json
index 3353a16269..1d5ff5dbd7 100644
--- a/keyboards/ymdk/np24/u4rgb6/info.json
+++ b/keyboards/ymdk/np24/u4rgb6/info.json
@@ -7,6 +7,10 @@
"pid": "0x5024",
"device_version": "4.0.6"
},
+ "indicators": {
+ "num_lock": "C6",
+ "on_state": 0
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_6x4", "numpad_6x4"],