Метод | Описание | |
---|---|---|
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 |
||
Результат | List |
public Init ( int id ) : void | ||
id | int | Joystick's ID to initialize, [0, 15]. |
Результат | void |
public Joystick ( int id ) : System | ||
id | int | Joystick ID to initialize, [0, 15]. |
Результат | System |