cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

Joystick: support motion input control axes (from gyro/accelerometer)

Open ES-Alexander opened this issue 1 year ago • 0 comments

There are controllers (and mobile devices) available that allow rotating in space to provide rotation inputs, which seems like it would be useful to provide as an option, especially given we have 6-axis support already (from #559), and this could potentially feed into this as roll/pitch controls, for example.

In terms of implementation this would likely require the GamepadPose Interface, which unfortunately currently has limited browser support (and is not yet available on Chrome).

Given controller motion is harder to limit than joystick axes, this would likely need to be accompanied by an Action that allows toggling the enable state of motion inputs, so you could use buttons to disable motion input before putting down the controller, or handing it to a different operator.

ES-Alexander avatar Mar 30 '24 09:03 ES-Alexander