JoystickInterface
Class to interface with a joystick device.
Number of axes on the joystick.
The first axis on the joystick.
The second axis on the joystick.
The third axis on the joystick.
The fourth axis on the joystick.
The fifth axis on the joystick.
The sixth axis on the joystick.
Array of buttons availiable on the joystick. This also includes PoV hats.
Constructor for the class.
Handle of the window which the joystick will be "attached" to.
Retrieves a list of joysticks attached to the computer.
[C#]
JoystickInterface.Joystick jst = new JoystickInterface.Joystick(this.Handle);
string[] sticks = jst.FindJoysticks();
A list of joysticks as an array of strings.
Acquire the named joystick. You can find this joystick through the method.
Name of the joystick.
The success of the connection.
Unaquire a joystick releasing it back to the system.
Update the properties of button and axis positions.