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/sofle | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/sofle')
-rwxr-xr-x | keyboards/sofle/keyhive/config.h | 1 | ||||
-rw-r--r-- | keyboards/sofle/keyhive/info.json | 3 | ||||
-rw-r--r-- | keyboards/sofle/keymaps/bastien-baloup_fr/config.h | 2 | ||||
-rw-r--r-- | keyboards/sofle/keymaps/devdev/config.h | 2 | ||||
-rw-r--r-- | keyboards/sofle/keymaps/killmaster/config.h | 2 | ||||
-rw-r--r-- | keyboards/sofle/keymaps/rgb_default/config.h | 2 | ||||
-rw-r--r-- | keyboards/sofle/keymaps/via/config.h | 2 |
7 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h index 0f02ae7cfb..80ad4912cb 100755 --- a/keyboards/sofle/keyhive/config.h +++ b/keyboards/sofle/keyhive/config.h @@ -31,7 +31,6 @@ // Add RGB underglow // by defining in the keyboard, incompatible keymaps will fail to compile. #ifdef RGBLIGHT_ENABLE -# define RGB_DI_PIN D3 # define RGBLED_NUM 74 # define RGBLED_SPLIT {37,37} # define RGBLIGHT_LIMIT_VAL 100 // LED Brightness, high power draw may exceed the USB limitations of 0.6A and cause a crash. diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json index 5bfc312cf2..dfbe30f133 100644 --- a/keyboards/sofle/keyhive/info.json +++ b/keyboards/sofle/keyhive/info.json @@ -6,6 +6,9 @@ "pid": "0x1287", "device_version": "0.0.2" }, + "ws2812": { + "pin": "D3" + }, "matrix_pins": { "cols": ["B6", "B2", "B3", "B1", "F7", "F6", null], "rows": ["C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/sofle/keymaps/bastien-baloup_fr/config.h b/keyboards/sofle/keymaps/bastien-baloup_fr/config.h index f15cd7b8fb..dd3b6d8f5a 100644 --- a/keyboards/sofle/keymaps/bastien-baloup_fr/config.h +++ b/keyboards/sofle/keymaps/bastien-baloup_fr/config.h @@ -40,7 +40,7 @@ #if defined(KEYBOARD_sofle_rev1) #define RGBLED_NUM 70 // D3 for ws2812 RGB LED - #define RGB_DI_PIN D3 + #define WS2812_DI_PIN D3 #endif #endif diff --git a/keyboards/sofle/keymaps/devdev/config.h b/keyboards/sofle/keymaps/devdev/config.h index 6564238bba..7d14c6e337 100644 --- a/keyboards/sofle/keymaps/devdev/config.h +++ b/keyboards/sofle/keymaps/devdev/config.h @@ -45,7 +45,7 @@ #define RGBLIGHT_LAYERS /* ws2812 RGB LED */ -#define RGB_DI_PIN D3 +#define WS2812_DI_PIN D3 #ifdef RGB_MATRIX_ENABLE diff --git a/keyboards/sofle/keymaps/killmaster/config.h b/keyboards/sofle/keymaps/killmaster/config.h index e4649cc5be..10c9ea450e 100644 --- a/keyboards/sofle/keymaps/killmaster/config.h +++ b/keyboards/sofle/keymaps/killmaster/config.h @@ -20,7 +20,7 @@ see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness for more options. */ -#define RGB_DI_PIN D3 +#define WS2812_DI_PIN D3 #ifdef RGB_MATRIX_ENABLE diff --git a/keyboards/sofle/keymaps/rgb_default/config.h b/keyboards/sofle/keymaps/rgb_default/config.h index 6564238bba..7d14c6e337 100644 --- a/keyboards/sofle/keymaps/rgb_default/config.h +++ b/keyboards/sofle/keymaps/rgb_default/config.h @@ -45,7 +45,7 @@ #define RGBLIGHT_LAYERS /* ws2812 RGB LED */ -#define RGB_DI_PIN D3 +#define WS2812_DI_PIN D3 #ifdef RGB_MATRIX_ENABLE diff --git a/keyboards/sofle/keymaps/via/config.h b/keyboards/sofle/keymaps/via/config.h index 2806b70b0f..d4bf95b710 100644 --- a/keyboards/sofle/keymaps/via/config.h +++ b/keyboards/sofle/keymaps/via/config.h @@ -24,7 +24,7 @@ for more options. #if defined(KEYBOARD_sofle_rev1) // Add RGB underglow and top facing lighting -# define RGB_DI_PIN D3 +# define WS2812_DI_PIN D3 # define RGBLED_NUM 70 # define RGBLED_SPLIT \ { 36, 36 } |