cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

Cockpit needs "input" widgets

Open rafaellehmkuhl opened this issue 1 year ago • 1 comments

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.

rafaellehmkuhl avatar Sep 03 '24 15:09 rafaellehmkuhl

  • [ ] 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)

ES-Alexander avatar Oct 03 '24 19:10 ES-Alexander