JoystickΒΆ
-
class
Joystick
: System.Object Allows interaction with joysticks. Unlike T:Microsoft.Xna.Framework.Input.GamePad the number of Buttons/Axes/DPads is not limited.
-
public JoystickCapabilities
GetCapabilities
(int index) Gets the capabilites of the joystick.
Parameters: - index (int) – Index of the joystick you want to access.
Returns: The capabilites of the joystick.
-
public JoystickState
GetState
(int index) Gets the current state of the joystick.
Parameters: - index (int) – Index of the joystick you want to access.
Returns: The state of the joystick.
-
public JoystickCapabilities