cockpit
cockpit copied to clipboard
Cockpit needs "input" widgets
Input widgets, like buttons, sliders and dropdowns, would allow users to perform custom tasks without the need for a dedicated functionality-specific widget.
The main use-case that triggered this issue was the need for a button to trigger a camera white-balance (used a lot during the mission when changing depth). Dropdowns for changing camera modes or sliders to adjust sensors variables could also be useful.
Those inputs would ideally be linked to Cockpit Actions, so those actions could be triggered both from the joystick or those input widgets.
- [ ] Can have multiple event triggers for relevant widgets, with different Actions assigned
- a button can have press, hold, and release events
- a slider can have move and release events
- [ ] Would be good to have a repetition/cycle option
- pressing a button could run an Action a set number of times (or -1 to repeat indefinitely)
- holding a button could run an Action at a set frequency (until released)