Skip to content

Conversation

xudongzheng
Copy link
Contributor

The brightness is already scaled within zmk_rgb_underglow_tick(). With the current range condition, setting max brightness to 20% results in starting with 4% (20% of 20%) brightness.

@xudongzheng xudongzheng requested a review from a team as a code owner July 24, 2023 03:55
@xudongzheng xudongzheng force-pushed the rgb-brt-pr branch 2 times, most recently from bde01e9 to ae09ee5 Compare August 6, 2024 17:59
@xudongzheng xudongzheng force-pushed the rgb-brt-pr branch 2 times, most recently from 96dbea4 to 768459a Compare January 21, 2025 05:28
@caksoylar
Copy link
Contributor

From your description this is a bug fix rather than a refactor, right?

The brightness is already scaled within zmk_rgb_underglow_tick(). With the
current range condition, setting max brightness to 20% results in starting with
4% (20% of 20%) brightness.
@xudongzheng xudongzheng changed the title refactor(underglow): allow full range for initial brightness fix(underglow): allow full range for initial brightness Mar 30, 2025
@xudongzheng
Copy link
Contributor Author

From your description this is a bug fix rather than a refactor, right?

Yes, I suppose that would be more accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants