Method | Description | |
---|---|---|
IsKeyPressed ( GamepadButtons button ) : bool |
|
|
SetVibration ( float leftMotor, float rightMotor ) : void |
Sets vibration
|
Method | Description | |
---|---|---|
Gamepad ( int index ) : System |
|
|
UpdateState ( ) : void |
Updates controller state
|
Method | Description | |
---|---|---|
GetGamePad ( int playerIndex ) : Gamepad |
Gets gamepad state.
|
|
GetStickDirection ( short sX, short sY, short threshold ) : System.Vector2 |
|
|
Update ( ) : void |
|
public IsKeyPressed ( GamepadButtons button ) : bool | ||
button | GamepadButtons | |
return | bool |
public SetVibration ( float leftMotor, float rightMotor ) : void | ||
leftMotor | float | |
rightMotor | float | |
return | void |