Skip to content

Make framebuffer effects honour rgb_matrix_map_row_column_to_led#26294

Open
zvecr wants to merge 2 commits into
qmk:developfrom
zvecr:fix_framebuffer_effects
Open

Make framebuffer effects honour rgb_matrix_map_row_column_to_led#26294
zvecr wants to merge 2 commits into
qmk:developfrom
zvecr:fix_framebuffer_effects

Conversation

@zvecr

@zvecr zvecr commented Jun 24, 2026

Copy link
Copy Markdown
Member

Description

rgb_matrix_map_row_column_to_led handles the mapping of multiple LEDS to a single matrix position. This was missing from typing heatmap, and only partially implemented in digital rain.

Typing heatmap should also handle NO_LED better as g_led_config.flags[g_led_config.matrix_co[row][col]] could index out bounds g_led_config.flags when g_led_config.matrix_co[row][col] returns NO_LED (255).

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@github-actions github-actions Bot added the core label Jun 24, 2026
@zvecr zvecr changed the title Make framebuffer effects honour rgb_matrix_map_row_column_to_led Make framebuffer effects honour rgb_matrix_map_row_column_to_led Jun 24, 2026
@drashna

drashna commented Jun 24, 2026

Copy link
Copy Markdown
Member

Something about this change breaks those animations, at least for split boards.

@zvecr

zvecr commented Jun 24, 2026

Copy link
Copy Markdown
Member Author

I cant see how it would have broken digital rain, given it would have the same behaviour when there are no duplicate matrix entries in the LED config.

The "decrease heatmap" logic was running too frequently so that should now be fixed.

Can you be a bit more descriptive about it "breaking" so it rules out the above?

@drashna

drashna commented Jun 25, 2026

Copy link
Copy Markdown
Member

naturally, I can't reproduce now. :( Might have been a hardware issue, on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants