Class GameControllerDeviceExtensions
Provides easier ways to set vibration levels on a controller, rather than setting 4 motors
- Inheritance
-
Game
Controller Device Extensions
Methods
IsButtonDown(IGameControllerDevice, int)
Determines whether the specified button is being pressed down
Parameters
controller
IGameController Device The controller
button
intThe button
Returns
- bool
true
if the specified button is being pressed down; otherwise,false
.
IsButtonPressed(IGameControllerDevice, int)
Determines whether the specified button is pressed since the previous update.
Parameters
controller
IGameController Device The controller
button
intThe button
Returns
- bool
true
if the specified button is pressed; otherwise,false
.
IsButtonReleased(IGameControllerDevice, int)
Determines whether the specified button is released since the previous update.
Parameters
controller
IGameController Device The controller
button
intThe button
Returns
- bool
true
if the specified button is released; otherwise,false
.