| IInputServiceGetPreviousGamePadState Method (PlayerIndex) |
Gets the gamepad state of the last frame of the given game controller.
(Only available in XNA Windows Phone builds.)
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax GamePadState GetPreviousGamePadState(
PlayerIndex controller
)
Function GetPreviousGamePadState (
controller As PlayerIndex
) As GamePadState
GamePadState GetPreviousGamePadState(
PlayerIndex controller
)
abstract GetPreviousGamePadState :
controller : PlayerIndex -> GamePadState
Parameters
- controller
- Type: PlayerIndex
The PlayerIndex that identifies the game controller.
Return Value
Type:
GamePadState
The gamepad state of the last frame.
See Also