reads data from joystick
function getData import Modelica; extends Modelica.Icons.Function; input Modelica_DeviceDrivers.InputDevices.GameController joystick; output Real Axes[6] "Axes values from -1 to 1"; output Integer Buttons[32] "Buttons values"; output Integer POV "angle of POV"; end getData;