Migrate `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` in remaining non-user keymaps (#23128)

master
Ryan 2024-02-22 21:10:16 +11:00 committed by GitHub
parent c371cb3bc4
commit c6668b9cd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 19 additions and 19 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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, \

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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