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/rart | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/rart')
-rw-r--r-- | keyboards/rart/rart4x4/config.h | 1 | ||||
-rw-r--r-- | keyboards/rart/rart4x4/info.json | 3 | ||||
-rw-r--r-- | keyboards/rart/rart67/config.h | 1 | ||||
-rw-r--r-- | keyboards/rart/rart67/info.json | 3 | ||||
-rw-r--r-- | keyboards/rart/rart75hs/config.h | 1 | ||||
-rw-r--r-- | keyboards/rart/rart75hs/info.json | 3 | ||||
-rw-r--r-- | keyboards/rart/rart80/config.h | 1 | ||||
-rw-r--r-- | keyboards/rart/rart80/info.json | 3 | ||||
-rw-r--r-- | keyboards/rart/rartlice/config.h | 1 | ||||
-rw-r--r-- | keyboards/rart/rartlice/info.json | 1 | ||||
-rw-r--r-- | keyboards/rart/rartpad/config.h | 1 | ||||
-rw-r--r-- | keyboards/rart/rartpad/info.json | 3 |
12 files changed, 16 insertions, 6 deletions
diff --git a/keyboards/rart/rart4x4/config.h b/keyboards/rart/rart4x4/config.h index c5334b4230..031e003c04 100644 --- a/keyboards/rart/rart4x4/config.h +++ b/keyboards/rart/rart4x4/config.h @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGB_DI_PIN D3 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/rart/rart4x4/info.json b/keyboards/rart/rart4x4/info.json index 090120c22d..b53e79e484 100644 --- a/keyboards/rart/rart4x4/info.json +++ b/keyboards/rart/rart4x4/info.json @@ -8,6 +8,9 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["F7", "B2", "B5", "B4"], "rows": ["F4", "B6", "B3", "B1"] diff --git a/keyboards/rart/rart67/config.h b/keyboards/rart/rart67/config.h index 983dca5505..f2b7e045da 100644 --- a/keyboards/rart/rart67/config.h +++ b/keyboards/rart/rart67/config.h @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGB_DI_PIN B7 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/rart/rart67/info.json b/keyboards/rart/rart67/info.json index e33877e783..0ec558c67b 100644 --- a/keyboards/rart/rart67/info.json +++ b/keyboards/rart/rart67/info.json @@ -8,6 +8,9 @@ "pid": "0x0067", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B7" + }, "matrix_pins": { "cols": ["B3", "B2", "B1", "D5", "D4", "D6", "D7", "B4", "B5", "F0", "F7", "F6", "F5", "F4", "F1", "E6"], "rows": ["D0", "D1", "D2", "D3", "B0"] diff --git a/keyboards/rart/rart75hs/config.h b/keyboards/rart/rart75hs/config.h index bf5963648d..803f0c79ec 100644 --- a/keyboards/rart/rart75hs/config.h +++ b/keyboards/rart/rart75hs/config.h @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGB_DI_PIN C0 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/rart/rart75hs/info.json b/keyboards/rart/rart75hs/info.json index 4c10d4b067..7003bb36a6 100644 --- a/keyboards/rart/rart75hs/info.json +++ b/keyboards/rart/rart75hs/info.json @@ -22,6 +22,9 @@ "caps_lock": "D4", "on_state": 0 }, + "ws2812": { + "pin": "C0" + }, "bootmagic": { "matrix": [0, 1] }, diff --git a/keyboards/rart/rart80/config.h b/keyboards/rart/rart80/config.h index e98417be6d..42f78d3efe 100644 --- a/keyboards/rart/rart80/config.h +++ b/keyboards/rart/rart80/config.h @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGB_DI_PIN D5 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/rart/rart80/info.json b/keyboards/rart/rart80/info.json index b52626377e..22ff437b2c 100644 --- a/keyboards/rart/rart80/info.json +++ b/keyboards/rart/rart80/info.json @@ -17,6 +17,9 @@ "caps_lock": "D4", "on_state": 0 }, + "ws2812": { + "pin": "D5" + }, "bootmagic": { "matrix": [0, 1] }, diff --git a/keyboards/rart/rartlice/config.h b/keyboards/rart/rartlice/config.h index 55b365001d..b242e63013 100644 --- a/keyboards/rart/rartlice/config.h +++ b/keyboards/rart/rartlice/config.h @@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGB_DI_PIN B15 #define RGBLED_NUM 11 #define WS2812_SPI SPID2 diff --git a/keyboards/rart/rartlice/info.json b/keyboards/rart/rartlice/info.json index d6cef540ea..c8b2497285 100644 --- a/keyboards/rart/rartlice/info.json +++ b/keyboards/rart/rartlice/info.json @@ -20,6 +20,7 @@ "on_state": 0 }, "ws2812": { + "pin": "B15", "driver": "spi" }, "processor": "STM32F103", diff --git a/keyboards/rart/rartpad/config.h b/keyboards/rart/rartpad/config.h index 5da34f7ad3..25467cdd3a 100644 --- a/keyboards/rart/rartpad/config.h +++ b/keyboards/rart/rartpad/config.h @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGB_DI_PIN F7 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/rart/rartpad/info.json b/keyboards/rart/rartpad/info.json index 78f034a063..77d99deeb6 100644 --- a/keyboards/rart/rartpad/info.json +++ b/keyboards/rart/rartpad/info.json @@ -22,6 +22,9 @@ "indicators": { "caps_lock": "D7" }, + "ws2812": { + "pin": "F7" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_5x4", "numpad_5x4"], |