-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] led_min/led_max issue with rgb matrix raindrops effect #17589
Comments
Line 31~35 is ran once on init to light up every LED with random hues. Line 23~29 will run on every cycle, and on interval tick, randomly change one LED to another random color. Checked this effect again and it does change one LED on every tick. However the effect can be too subtle if user set saturation (in eeprom) is too high. |
I think you didn't get my point, let me describe more details. qmk_firmware/quantum/rgb_matrix/rgb_matrix.h Lines 49 to 51 in 99e9e1b
Generally, if there are 100 leds in the keyboard, rgb matrix renders led 0 to 20 in the 1s tloop,
qmk_firmware/quantum/rgb_matrix/rgb_matrix.h Lines 63 to 66 in 99e9e1b
If you use qmk_firmware/quantum/rgb_matrix/rgb_matrix.h Lines 83 to 86 in 99e9e1b
|
I missed the part about breaking |
Describe the Bug
led_min and led_max as parameter of rgb_matrix_indicators_advanced_kb()/rgb_matrix_indicators_advanced_user() are always same at each invoke when running raindrops effect. I dig into the code, look like Line 31~35 never have chance to run since this function always return false at Line 28, which lead to no increment of iter
qmk_firmware/quantum/rgb_matrix/animations/raindrops_anim.h
Lines 22 to 36 in e793128
In addition, RGB_MATRIX_INDICATOR_SET_COLOR can only set first 1/5~1/4 part of LEDs.
System Information
Keyboard:
Revision (if applicable):
Operating system:
qmk doctor
output:Any keyboard related software installed?
Additional Context
The text was updated successfully, but these errors were encountered: