Provide joystick interface in All Outputs configuration on Windows platform
Aerospace Blockset / Animation / Animation Support Utilities
The Pilot Joystick All block provides a pilot joystick interface for a Windows® platform. Analog is mapped to the joystick X, Y, Z, R, U, and V channels. Buttons and POV are mapped to up to 32 joystick button states and the joystick point-of-view hat.
You can also configure the block to output four axes by setting
the Output configuration parameter
to FourAxis
.
This block does not produce deployable code.
If the joystick does not support an R (rudder or twist)
channel, yaw output is set to zero. Outputs are of type double, except when
Joystick ID is set to AllOutputs
mode, which is a uint32
flagword of bits. On non Microsoft® platforms, this block outputs zeros.
Pitch value has the opposite sense as that delivered by the FlightGear joystick interface.