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
Name
Description
getData
reads data from joystick ID
Modelica_DeviceDrivers.InputDevices.GameController
.getData
reads data from joystick ID
Inputs
Name
Description
joystickID
ID number of the game controller (0 = first controller attached to the system)
Outputs
Name
Description
Axes[6]
Axes values from -1 to 1
Buttons[8]
Buttons values
POV
angle of POV
Automatically generated
Tue Oct 1 14:26:58 2013.