bluerobotics/cockpit
frontend: allow button input widgets to control data-lake variables
Offen
#2.041 geöffnet am 07.08.2025
data-lakeenhancementgood first issueuiwidget-specific
Repository-Metriken
- Stars
- (181 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 6T 4h) (50 gemergte PRs in 30 T)
Beschreibung
Current behaviour
A button input widget can only trigger an Action, which makes it unsuitable for momentary control situations.
Expected or desired behaviour
Allow buttons to either trigger an Action, or momentarily set (mousedown) and clear (mouseup and mouseout, after a mousedown) a boolean data-lake variable.
This would match the existing support for joystick button mapping, and moves us closer to being able to nicely provide on-screen joystick support.
Additional context
Relevant to this forum request, for momentary relay control.
Prerequisites
- I have checked to make sure that a similar request has not already been filed or fixed.