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/mechwild | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/mechwild')
-rw-r--r-- | keyboards/mechwild/bbs/config.h | 4 | ||||
-rw-r--r-- | keyboards/mechwild/bbs/info.json | 4 | ||||
-rw-r--r-- | keyboards/mechwild/obe/config.h | 4 | ||||
-rw-r--r-- | keyboards/mechwild/obe/info.json | 4 | ||||
-rw-r--r-- | keyboards/mechwild/puckbuddy/config.h | 4 | ||||
-rw-r--r-- | keyboards/mechwild/puckbuddy/info.json | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/keyboards/mechwild/bbs/config.h b/keyboards/mechwild/bbs/config.h index 2bc6e9b587..3db3d087cc 100644 --- a/keyboards/mechwild/bbs/config.h +++ b/keyboards/mechwild/bbs/config.h @@ -11,10 +11,6 @@ /* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */ #define DIP_SWITCH_PINS { A0 } -/* status light pins using the on board LED for the blackpill */ -#define LED_CAPS_LOCK_PIN C13 -#define LED_PIN_ON_STATE 0 - /* * Keyboard Matrix Assignments * diff --git a/keyboards/mechwild/bbs/info.json b/keyboards/mechwild/bbs/info.json index 97fc709de9..0adaf90bf7 100644 --- a/keyboards/mechwild/bbs/info.json +++ b/keyboards/mechwild/bbs/info.json @@ -8,6 +8,10 @@ "pid": "0x170E", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C13", + "on_state": 0 + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "board": "BLACKPILL_STM32_F401", diff --git a/keyboards/mechwild/obe/config.h b/keyboards/mechwild/obe/config.h index d3117e1853..ba119cd36f 100644 --- a/keyboards/mechwild/obe/config.h +++ b/keyboards/mechwild/obe/config.h @@ -46,10 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* status light pins */ -#define LED_NUM_LOCK_PIN B8 -#define LED_CAPS_LOCK_PIN B9 - /* RGB settings, uncomment this define to enable RGB */ #define RGB_DI_PIN A0 #ifdef RGB_DI_PIN diff --git a/keyboards/mechwild/obe/info.json b/keyboards/mechwild/obe/info.json index c9dc4add4d..806333a0fa 100644 --- a/keyboards/mechwild/obe/info.json +++ b/keyboards/mechwild/obe/info.json @@ -8,6 +8,10 @@ "pid": "0x1707", "device_version": "2.0.1" }, + "indicators": { + "caps_lock": "B9", + "num_lock": "B8" + }, "bootmagic": { "matrix": [5, 4] }, diff --git a/keyboards/mechwild/puckbuddy/config.h b/keyboards/mechwild/puckbuddy/config.h index bb14fdfb68..306e5b8eef 100644 --- a/keyboards/mechwild/puckbuddy/config.h +++ b/keyboards/mechwild/puckbuddy/config.h @@ -14,10 +14,6 @@ /* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */ #define DIP_SWITCH_PINS { A0 } -/* status light pins using the on board LED for the blackpill */ -#define LED_CAPS_LOCK_PIN C13 -#define LED_PIN_ON_STATE 0 - /* set the tapping term for glidepoint pad to register a tap click */ //#define CIRQUE_PINNACLE_TAPPING_TERM 0 // This is set to 0 to disable it diff --git a/keyboards/mechwild/puckbuddy/info.json b/keyboards/mechwild/puckbuddy/info.json index d8ae46caf3..d0af030ff3 100644 --- a/keyboards/mechwild/puckbuddy/info.json +++ b/keyboards/mechwild/puckbuddy/info.json @@ -8,6 +8,10 @@ "pid": "0x170F", "device_version": "1.0.0" }, + "indicators": { + "caps_lock": "C13", + "on_state": 0 + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "board": "BLACKPILL_STM32_F401", |