Click or drag to resize
Accord.NET (logo)

Joystick Constructor (Int32)

Initializes a new instance of the Joystick class.

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

Parameters

id
Type: SystemInt32
Joystick ID to initialize, [0, 15].
Remarks

This constructor initializes joystick with specified ID using Init(Int32) method, so the object becomes ready for querying joystick's status.

See Also