-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
Fix RGB heatmap to use XY positions and use correct led limits. #17184
Conversation
Tested this on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works better.
Did a couple of small updates, noticed the effect was triggering on both key down and key up. |
Thanks, I'll update the docs with the added configuration options before it's merged. |
Fixes #14041 |
@daskygit @drashna I'm trying to experiment with this in my firmware. I hope you don't mind me asking as to me it seems related to this change and looks like a potential issue to me: How does this treat keys with no LED ? Wouldn't To me it looks like we would need to do one of two things:
|
Thanks for spotting this, I think option 2 is likely going to be the way forward. It could revert to the old behaviour if there's no led at the position but I'm now wondering if this should just be a separate effect entirely. |
@RagingCactus I've opened PR #17488 to address this, thanks again. |
…7184) * Fix RGB heatmap to use XY positions * lower effect area limit and make configurable * tidy up macro * Fix triggering in both directions. * add docs * fix bug when decreasing value * performance tweak
…7184) * Fix RGB heatmap to use XY positions * lower effect area limit and make configurable * tidy up macro * Fix triggering in both directions. * add docs * fix bug when decreasing value * performance tweak
Description
Tested on a split keyboard and board with a duplex matrix and it behaves much better, no more trigger incorrect locations. The effect is slightly different visually compared with the old one. I've not tested on AVR, hopefully not too much impact.
There's a define
RGB_MATRIX_TYPING_HEATMAP_SPREAD
that can be changed to increase the area of effect.Types of Changes
Issues Fixed or Closed by This PR
Checklist