Modelica_DeviceDrivers.InputDevices.GameController

A device driver accessing game controllers like joysticks, gamepads, etc.

Information

Extends from Modelica_DeviceDrivers.Utilities.Icons.DriverIcon (An icon for a package with device driver functions.).

Package Content

NameDescription
Modelica_DeviceDrivers.InputDevices.GameController.getData getData reads data from joystick ID

Modelica_DeviceDrivers.InputDevices.GameController.getData

reads data from joystick ID

Inputs

NameDescription
joystickIDID number of the game controller (0 = first controller attached to the system)

Outputs

NameDescription
Axes[6]Axes values from -1 to 1
Buttons[8]Buttons values
POVangle of POV

Automatically generated Tue Oct 1 14:26:58 2013.