Méthode | Description | |
---|---|---|
GetAvailableDevices ( ) : List |
Get list of available joysticks connected to the system.
|
|
GetCurrentStatus ( ) : Status |
Get joystick's status. |
|
Init ( int id ) : void |
Initialize joystick with the specified ID. |
|
Joystick ( ) : System |
Initializes a new instance of the Joystick class. This constructor does not make initialization of any joystick device, so Init method should be used before querying joystick status or properties. |
|
Joystick ( int id ) : System |
Initializes a new instance of the Joystick class. This constructor initializes joystick with specified ID using Init method, so the object becomes ready for querying joystick's status. |
public static GetAvailableDevices ( ) : List |
||
Résultat | List |
public Init ( int id ) : void | ||
id | int | Joystick's ID to initialize, [0, 15]. |
Résultat | void |
public Joystick ( int id ) : System | ||
id | int | Joystick ID to initialize, [0, 15]. |
Résultat | System |