Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -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.
|
||||
|
@@ -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"]
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -45,7 +45,7 @@
|
||||
#define RGBLIGHT_LAYERS
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN D3
|
||||
#define WS2812_DI_PIN D3
|
||||
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -45,7 +45,7 @@
|
||||
#define RGBLIGHT_LAYERS
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN D3
|
||||
#define WS2812_DI_PIN D3
|
||||
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
@@ -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 }
|
||||
|
Reference in New Issue
Block a user