메소드 | 설명 | |
---|---|---|
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 Joystick ( int id ) : System | ||
id | int | Joystick ID to initialize, [0, 15]. |
리턴 | System |