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/bobpad | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/bobpad')
-rw-r--r-- | keyboards/bobpad/config.h | 15 | ||||
-rw-r--r-- | keyboards/bobpad/info.json | 7 |
2 files changed, 7 insertions, 15 deletions
diff --git a/keyboards/bobpad/config.h b/keyboards/bobpad/config.h index dbb6ab9bcb..f24ef916bd 100644 --- a/keyboards/bobpad/config.h +++ b/keyboards/bobpad/config.h @@ -36,20 +36,5 @@ #define DIODE_DIRECTION COL2ROW - - - - -// D4 D0 -// C6 E6 D7 - -#define LED_NUM_LOCK_PIN D4 -#define LED_CAPS_LOCK_PIN D0 -#define LED_SCROLL_LOCK_PIN C6 -#define LED_COMPOSE_PIN E6 -#define LED_KANA_PIN D7 - - - #define ENCODERS_PAD_A { B3 } #define ENCODERS_PAD_B { B2 }
\ No newline at end of file diff --git a/keyboards/bobpad/info.json b/keyboards/bobpad/info.json index 35511b2ab9..58f724fbbe 100644 --- a/keyboards/bobpad/info.json +++ b/keyboards/bobpad/info.json @@ -8,6 +8,13 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "D0", + "num_lock": "D4", + "scroll_lock": "C6", + "compose": "E6", + "kana": "D7" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_2x3"], |