You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the rgb_matrix_config.flags defaults to 0 and then overwrite the rgb_effect_params.flagshere
if (rgb_effect_params.flags!=rgb_matrix_config.flags) {
rgb_effect_params.flags=rgb_matrix_config.flags;
rgb_matrix_set_color_all(0, 0, 0);
}
I updated my keyboard for the first time in a while and when I did this was the issue that I was getting. Could this be something specific to my keyboard or my config?
The text was updated successfully, but these errors were encountered:
It seems like that function is not being called. If I call it manually from keyboard_post_init_user it works. When looking into the the rgb_matrix_config there is a comment before the flags that says EECONFIG needs to be increased to support thishere. My guess is that the first three variables are stored in EEPROM so they are correctly loaded, but the flags and speed are not so they default to 0.
If that is the case it could be solved by defaulting the flags to LED_FLAG_ALL statically:
On my K-type the rgb matrix lighting stops working if I unplug it or reflash it. I have to manually set the led flags like this:
It looks like the
rgb_matrix_config.flags
defaults to 0 and then overwrite thergb_effect_params.flags
hereI updated my keyboard for the first time in a while and when I did this was the issue that I was getting. Could this be something specific to my keyboard or my config?
The text was updated successfully, but these errors were encountered: