functiongetData

reads data from joystick

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Modelica_DeviceDrivers.InputDevices.GameControllerjoystick

Outputs

TypeNameDefaultDescription
Real[6]AxesAxes values from -1 to 1
Integer[32]ButtonsButtons values
IntegerPOVangle of POV