Skip to content

refactor indicator drawing and storage code to facilitate per-pixel access#812

Open
usuallyannoyed wants to merge 1 commit intoBlueforcer:mainfrom
usuallyannoyed:indicator-refactor
Open

refactor indicator drawing and storage code to facilitate per-pixel access#812
usuallyannoyed wants to merge 1 commit intoBlueforcer:mainfrom
usuallyannoyed:indicator-refactor

Conversation

@usuallyannoyed
Copy link
Copy Markdown

A quick refactoring of the code for the three on-screen indicators. In addition to a little cleanup to simplify the code, exposes the ability to set all parameters (color, fade, blink, state, etc.) on a per-pixel level. For now this does nothing to the overall functionality and does not break any code that uses the indicators. However, it now enables the MQTT to be expanded to enable per-pixel settings for more customizability when desired.

…etting, in preparation for expanding the external-facing API
@eku
Copy link
Copy Markdown
Contributor

eku commented Apr 6, 2026

I would suggest to make the Indicator a member of the DisplayManager, so we keep all display related API in this class.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants