Initialize joystick with the specified ID.

Namespace:  AForge.Controls
Assembly:  AForge.Controls (in AForge.Controls.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public void Init(
	int id
)

Parameters

id
Type: System..::.Int32
Joystick's ID to initialize, [0, 15].

Remarks

Exceptions

ExceptionCondition
System..::.ArgumentExceptionInvalid joystick ID was specified. It must be in [0, 15] range.
AForge..::.NotConnectedExceptionThe requested joystick is not connected to the system.

See Also