feat: an OpenRGB device says when its server goes, with nothing being sent #36
No reviewers
Labels
No labels
accessibility
bug
dependencies
documentation
duplicate
enhancement
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jwarykowski/keybars!36
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/openrgb-onlost"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Device.OnLost(fn)calls fn once when the OpenRGB server ends the connection (OpenRGB quitting), never afterClose. keybars Pro already listens forOnLoston any keyboard that has it (ZSA boards do), so with this an idle app notices OpenRGB going straight away instead of at its next write.Tests: the fake server dropping the connection with nothing sent, and no call after Close. Checked in keybars Pro's system tests against this branch: OpenRGB stopped while nothing plays, and the app says it's reconnecting at once.