diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-06 18:00:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 18:00:54 +1000 |
commit | 47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch) | |
tree | d2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/ploopyco | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/ploopyco')
-rw-r--r-- | keyboards/ploopyco/mouse/config.h | 1 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/info.json | 3 | ||||
-rw-r--r-- | keyboards/ploopyco/trackball/rev1_005/config.h | 2 | ||||
-rw-r--r-- | keyboards/ploopyco/trackball/rev1_005/info.json | 3 | ||||
-rw-r--r-- | keyboards/ploopyco/trackball_thumb/rev1_001/info.json | 5 |
5 files changed, 9 insertions, 5 deletions
diff --git a/keyboards/ploopyco/mouse/config.h b/keyboards/ploopyco/mouse/config.h index c7fcc504e3..bc7e587ee7 100644 --- a/keyboards/ploopyco/mouse/config.h +++ b/keyboards/ploopyco/mouse/config.h @@ -30,7 +30,6 @@ //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT -#define RGB_DI_PIN B5 #define RGBLED_NUM 4 #define RGBLIGHT_LIMIT_VAL 40 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/ploopyco/mouse/info.json b/keyboards/ploopyco/mouse/info.json index c8889f59f9..96b91d89a6 100644 --- a/keyboards/ploopyco/mouse/info.json +++ b/keyboards/ploopyco/mouse/info.json @@ -11,6 +11,9 @@ "bootmagic": { "matrix": [0, 3] }, + "ws2812": { + "pin": "B5" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "matrix_pins": { diff --git a/keyboards/ploopyco/trackball/rev1_005/config.h b/keyboards/ploopyco/trackball/rev1_005/config.h index fcf51c4c1b..66a453dcb8 100644 --- a/keyboards/ploopyco/trackball/rev1_005/config.h +++ b/keyboards/ploopyco/trackball/rev1_005/config.h @@ -23,8 +23,6 @@ #define UNUSABLE_PINS \ { D1, D3, B4, B7, D6, C7, F6, F5, F3, F7 } -// If board has a debug LED, you can enable it by defining this -#define RGB_DI_PIN B5 #define RGBLED_NUM 3 #define RGBLIGHT_LIMIT_VAL 40 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/ploopyco/trackball/rev1_005/info.json b/keyboards/ploopyco/trackball/rev1_005/info.json index b963f8842a..91574c5c4b 100644 --- a/keyboards/ploopyco/trackball/rev1_005/info.json +++ b/keyboards/ploopyco/trackball/rev1_005/info.json @@ -5,5 +5,8 @@ "direct": [ ["D4", "D2", "E6", "B6", "D7"] ] + }, + "ws2812": { + "pin": "B5" } } diff --git a/keyboards/ploopyco/trackball_thumb/rev1_001/info.json b/keyboards/ploopyco/trackball_thumb/rev1_001/info.json index 80951b5b2d..602692866c 100644 --- a/keyboards/ploopyco/trackball_thumb/rev1_001/info.json +++ b/keyboards/ploopyco/trackball_thumb/rev1_001/info.json @@ -8,13 +8,14 @@ }, "rgblight": { "led_count": 3, - "pin": "B5", "max_brightness": 40, "animations": { "breathing": true, "rainbow_mood": true, "rainbow_swirl": true } + }, + "ws2812": { + "pin": "B5" } - } |