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/keyhive | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/keyhive')
-rw-r--r-- | keyboards/keyhive/absinthe/config.h | 1 | ||||
-rw-r--r-- | keyboards/keyhive/absinthe/info.json | 3 | ||||
-rw-r--r-- | keyboards/keyhive/ergosaurus/config.h | 1 | ||||
-rw-r--r-- | keyboards/keyhive/ergosaurus/info.json | 3 | ||||
-rw-r--r-- | keyboards/keyhive/navi10/keymaps/devdev/config.h | 2 | ||||
-rw-r--r-- | keyboards/keyhive/smallice/config.h | 1 | ||||
-rw-r--r-- | keyboards/keyhive/smallice/info.json | 3 | ||||
-rw-r--r-- | keyboards/keyhive/uno/rev1/config.h | 1 | ||||
-rw-r--r-- | keyboards/keyhive/uno/rev1/info.json | 3 | ||||
-rw-r--r-- | keyboards/keyhive/uno/rev2/config.h | 1 | ||||
-rw-r--r-- | keyboards/keyhive/uno/rev2/info.json | 3 | ||||
-rw-r--r-- | keyboards/keyhive/ut472/config.h | 1 | ||||
-rw-r--r-- | keyboards/keyhive/ut472/info.json | 3 |
13 files changed, 19 insertions, 7 deletions
diff --git a/keyboards/keyhive/absinthe/config.h b/keyboards/keyhive/absinthe/config.h index ded3dc8236..72df685e63 100644 --- a/keyboards/keyhive/absinthe/config.h +++ b/keyboards/keyhive/absinthe/config.h @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define RGB_DI_PIN B0 #define RGBLED_NUM 32 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/keyhive/absinthe/info.json b/keyboards/keyhive/absinthe/info.json index c57f0ef84e..a6f70196b4 100644 --- a/keyboards/keyhive/absinthe/info.json +++ b/keyboards/keyhive/absinthe/info.json @@ -8,6 +8,9 @@ "pid": "0xFEED", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B0" + }, "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "D3", "D0"], "rows": ["D2", "D1", "B6", "D4", "C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/keyhive/ergosaurus/config.h b/keyboards/keyhive/ergosaurus/config.h index aded22bc7e..1d63f46b12 100644 --- a/keyboards/keyhive/ergosaurus/config.h +++ b/keyboards/keyhive/ergosaurus/config.h @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once #ifdef RGBLIGHT_ENABLE -# define RGB_DI_PIN B6 #define RGBLED_NUM 32 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/keyhive/ergosaurus/info.json b/keyboards/keyhive/ergosaurus/info.json index afd25e2785..ae3c684aae 100644 --- a/keyboards/keyhive/ergosaurus/info.json +++ b/keyboards/keyhive/ergosaurus/info.json @@ -7,6 +7,9 @@ "pid": "0xE590", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B6" + }, "matrix_pins": { "cols": ["D7", "C6", "D0", "D1", "F7", "B1", "B3", "B2"], "rows": ["B5", "B4", "E6", "D4", "F6", "D3", "D2", "F4", "F5"] diff --git a/keyboards/keyhive/navi10/keymaps/devdev/config.h b/keyboards/keyhive/navi10/keymaps/devdev/config.h index dba45a5f24..8d8a6df8c9 100644 --- a/keyboards/keyhive/navi10/keymaps/devdev/config.h +++ b/keyboards/keyhive/navi10/keymaps/devdev/config.h @@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define TAPPING_TERM 220 #ifdef RGBLIGHT_ENABLE - #define RGB_DI_PIN D3 + #define WS2812_DI_PIN D3 #define RGBLED_NUM 3 #define RGBLIGHT_LIMIT_VAL 120 diff --git a/keyboards/keyhive/smallice/config.h b/keyboards/keyhive/smallice/config.h index a770d8e47d..97f15c940a 100644 --- a/keyboards/keyhive/smallice/config.h +++ b/keyboards/keyhive/smallice/config.h @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define RGB_DI_PIN B7 # define RGBLED_NUM 12 # define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/keyhive/smallice/info.json b/keyboards/keyhive/smallice/info.json index 476411a004..b3134b1771 100644 --- a/keyboards/keyhive/smallice/info.json +++ b/keyboards/keyhive/smallice/info.json @@ -8,6 +8,9 @@ "pid": "0x5341", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B7" + }, "matrix_pins": { "cols": ["C7", "C6", "F7", "F6", "F5", "F4", "F1", "D4", "D6", "D7", "D0", "D1", "D2", "D3", "D5"], "rows": ["B0", "B6", "B5", "B4"] diff --git a/keyboards/keyhive/uno/rev1/config.h b/keyboards/keyhive/uno/rev1/config.h index b706f26ce2..414590f643 100644 --- a/keyboards/keyhive/uno/rev1/config.h +++ b/keyboards/keyhive/uno/rev1/config.h @@ -19,6 +19,5 @@ #define RGBLIGHT_EFFECT_RAINBOW_MOOD #ifdef RGBLIGHT_ENABLE -#define RGB_DI_PIN F6 #define RGBLED_NUM 1 #endif diff --git a/keyboards/keyhive/uno/rev1/info.json b/keyboards/keyhive/uno/rev1/info.json index 2fc258ee42..69fe9afd77 100644 --- a/keyboards/keyhive/uno/rev1/info.json +++ b/keyboards/keyhive/uno/rev1/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "0.0.1" }, + "ws2812": { + "pin": "F6" + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { diff --git a/keyboards/keyhive/uno/rev2/config.h b/keyboards/keyhive/uno/rev2/config.h index e940f5fa05..414590f643 100644 --- a/keyboards/keyhive/uno/rev2/config.h +++ b/keyboards/keyhive/uno/rev2/config.h @@ -19,6 +19,5 @@ #define RGBLIGHT_EFFECT_RAINBOW_MOOD #ifdef RGBLIGHT_ENABLE -#define RGB_DI_PIN D1 #define RGBLED_NUM 1 #endif diff --git a/keyboards/keyhive/uno/rev2/info.json b/keyboards/keyhive/uno/rev2/info.json index 66e0ca20e0..0af41bab77 100644 --- a/keyboards/keyhive/uno/rev2/info.json +++ b/keyboards/keyhive/uno/rev2/info.json @@ -3,6 +3,9 @@ "usb": { "device_version": "0.0.2" }, + "ws2812": { + "pin": "D1" + }, "encoder": { "rotary": [ {"pin_a": "B2", "pin_b": "B3"} diff --git a/keyboards/keyhive/ut472/config.h b/keyboards/keyhive/ut472/config.h index c007f92fe7..5ab9348126 100644 --- a/keyboards/keyhive/ut472/config.h +++ b/keyboards/keyhive/ut472/config.h @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGB_DI_PIN C6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/keyhive/ut472/info.json b/keyboards/keyhive/ut472/info.json index 26aa44379b..9755bd6569 100644 --- a/keyboards/keyhive/ut472/info.json +++ b/keyboards/keyhive/ut472/info.json @@ -8,6 +8,9 @@ "pid": "0x0472", "device_version": "0.0.2" }, + "ws2812": { + "pin": "C6" + }, "matrix_pins": { "cols": ["C4", "C5", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0", "D6", "D5"], "rows": ["D1", "D2", "D3", "D4"] |