forked from mirrors/qmk_firmware
Migrate RGBLED_NUM
-> RGBLIGHT_LED_COUNT
in remaining non-user keymaps (#23128)
This commit is contained in:
parent
c371cb3bc4
commit
c6668b9cd9
14 changed files with 19 additions and 19 deletions
|
@ -29,4 +29,4 @@
|
|||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define WS2812_DI_PIN D3 // The pin the LED strip is connected to
|
||||
#define RGBLED_NUM 7 // Number of LEDs in your strip
|
||||
#define RGBLIGHT_LED_COUNT 7 // Number of LEDs in your strip
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#pragma once
|
||||
|
||||
#define WS2812_DI_PIN B2
|
||||
#define RGBLED_NUM 8
|
||||
#define RGBLIGHT_LED_COUNT 8
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 20 // limit to 20 otherwise brownouts
|
||||
#define RGBLIGHT_LED_COUNT 20 // limit to 20 otherwise brownouts
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# undef MATRIX_COL_PINS_RIGHT
|
||||
|
||||
# ifdef RGBLIGHT_ENABLE
|
||||
# undef RGBLED_NUM
|
||||
# define RGBLED_NUM 120
|
||||
# undef RGBLIGHT_LED_COUNT
|
||||
# define RGBLIGHT_LED_COUNT 120
|
||||
# undef RGBLIGHT_LED_MAP
|
||||
# define RGBLIGHT_LED_MAP { \
|
||||
108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, \
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 13 // Number of LEDs
|
||||
#define RGBLIGHT_LED_COUNT 13 // Number of LEDs
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 9
|
||||
#define RGBLIGHT_LED_COUNT 9
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define MASTER_LEFT
|
||||
|
||||
#undef RGBLED_NUM
|
||||
#undef RGBLIGHT_LED_COUNT
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@ -32,7 +32,7 @@ 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 RGBLED_NUM 12
|
||||
#define RGBLIGHT_LED_COUNT 12
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
// ws2812 options
|
||||
#define WS2812_DI_PIN C7 // pin the DI on the ws2812 is hooked-up to
|
||||
|
||||
#define RGBLED_NUM 4 // number of LEDs
|
||||
#define RGBLIGHT_LED_COUNT 4 // number of LEDs
|
||||
#define RGBLIGHT_DEFAULT_MODE 6 // set the rainbow mode
|
||||
#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
|
||||
#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
// ws2812 options
|
||||
#define WS2812_DI_PIN C7 // pin the DI on the ws2812 is hooked-up to
|
||||
#define RGBLED_NUM 4 // number of LEDs
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
#define RGBLIGHT_LED_COUNT 4 // number of LEDs
|
||||
#define RGB_MATRIX_LED_COUNT RGBLIGHT_LED_COUNT
|
||||
|
||||
#define RGB_MATRIX_KEYPRESSES
|
||||
|
||||
|
|
|
@ -61,5 +61,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define WS2812_DI_PIN B5
|
||||
#define RGBLIGHT_TIMER
|
||||
|
||||
#define RGBLED_NUM 6
|
||||
#define RGBLIGHT_LED_COUNT 6
|
||||
#endif
|
||||
|
|
|
@ -61,5 +61,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define WS2812_DI_PIN B5
|
||||
#define RGBLIGHT_TIMER
|
||||
|
||||
#define RGBLED_NUM 6
|
||||
#define RGBLIGHT_LED_COUNT 6
|
||||
#endif
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 16 // Number of LEDs. Change this to match your use case.
|
||||
#define RGBLIGHT_LED_COUNT 16 // Number of LEDs. Change this to match your use case.
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -38,5 +38,5 @@
|
|||
#ifdef RGBLIGHT_ENABLE
|
||||
#define WS2812_DI_PIN D0
|
||||
#define RGBLIGHT_TIMER
|
||||
#define RGBLED_NUM 3
|
||||
#define RGBLIGHT_LED_COUNT 3
|
||||
#endif
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
* No external LED PCB: 10
|
||||
* External LED PCB: 14
|
||||
*/
|
||||
#if defined(RGBLED_NUM)
|
||||
# undef RGBLED_NUM
|
||||
# define RGBLED_NUM 10
|
||||
#if defined(RGBLIGHT_LED_COUNT)
|
||||
# undef RGBLIGHT_LED_COUNT
|
||||
# define RGBLIGHT_LED_COUNT 10
|
||||
#endif
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
|
|
Loading…
Reference in a new issue