functiongetData
reads data from joystick
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_DeviceDrivers.InputDevices.GameController | joystick |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[6] | Axes | Axes values from -1 to 1 | |
| Integer[32] | Buttons | Buttons values | |
| Integer | POV | angle of POV |