Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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 GetCapabilities ( ) : |
||
Résultat |
public static Retrieve ( int index ) : |
||
index | int | The Index. |
Résultat |
public Update ( GameTime gameTime ) : void | ||
gameTime | GameTime | The GameTime. |
Résultat | void |
public Vibrate ( float leftMotor, float rightMotor, float length ) : void | ||
leftMotor | float | The LeftMotor. |
rightMotor | float | The RightMotor. |
length | float | The Length. |
Résultat | void |