Click or drag to resize
Accord.NET (logo)

JoystickInit Method

Initialize joystick with the specified ID.

Namespace:  Accord.Controls
Assembly:  Accord.Controls (in Accord.Controls.dll) Version: 3.8.0
Syntax
public void Init(
	int id
)
Request Example View Source

Parameters

id
Type: SystemInt32
Joystick's ID to initialize, [0, 15].
Exceptions
ExceptionCondition
ArgumentExceptionInvalid joystick ID was specified. It must be in [0, 15] range.
NotConnectedExceptionThe requested joystick is not connected to the system.
Remarks

See Also