메소드 | 설명 | |
---|---|---|
GetCapabilities ( ) : |
Gets the Capabilities.
|
|
GetState ( ) : GamepadState |
Gets the State.
|
|
Initialize ( ) : void |
Initializes the Device.
|
|
Retrieve ( int index ) : |
Retrieves the XBoxController.
|
|
ToString ( ) : string |
Converts the object to string.
|
|
Update ( GameTime gameTime ) : void |
Updates the object.
|
|
Vibrate ( float leftMotor, float rightMotor, float length ) : void |
Vibrates the controller.
|
메소드 | 설명 | |
---|---|---|
Gamepad ( ) : System |
Initializes a new Gamepad class.
|
|
Gamepad ( int playerIndex ) : System |
Initializes a new Gamepad class.
|
|
UpdateBatteryState ( ) : void |
Updates the BatteryState.
|
|
Vibrate ( |
Vibrates the controller.
|
public static Retrieve ( int index ) : |
||
index | int | The Index. |
리턴 |
public Vibrate ( float leftMotor, float rightMotor, float length ) : void | ||
leftMotor | float | The LeftMotor. |
rightMotor | float | The RightMotor. |
length | float | The Length. |
리턴 | void |