zmk icon indicating copy to clipboard operation
zmk copied to clipboard

RGB Underglow: Auto off on idle

Open infused-kim opened this issue 4 years ago • 4 comments

This PR adds an auto off on idle feature to the underglow. It's already supported for the backlight and this adds a similar setting to the underglow.

I have tested it on my sofle choc and it's working great.

infused-kim avatar Mar 21 '22 12:03 infused-kim

I realized my initial commit had a bug.

zmk_rgb_underglow_offand zmk_rgb_underglow_on save the state to the config. So if the user has underglow on, then idles and the underglow is auto-turned off, that setting saved into the flash. If the user turns off and on their keyboard, it starts in the underglow off state even though the user never changed that setting.

The new commit ensures the auto-off feature is only active if the underglow is on and that it doesn't save the temporary off state into the config.

infused-kim avatar Mar 24 '22 08:03 infused-kim

I believe this is a duplicate of my PR #1010

ReFil avatar Mar 29 '22 08:03 ReFil

#1010 has been merged so this is superfluous now

ReFil avatar Jun 25 '22 16:06 ReFil

Thanks for the PR, @infused-kim!

Can you please try with the latest main? You'll need to enable the new Kconfig option to enable the functionality.

petejohanson avatar Jun 25 '22 16:06 petejohanson

This seems like a smaller change. is anything other than review needed to get this in? is there any way I can help? I am new to c/zmk but could try.

autoferrit avatar May 04 '23 06:05 autoferrit

This PR appears to have been obsoleted by #1010, which was merged in June 2023.

lesshonor avatar Nov 21 '23 20:11 lesshonor