Click or drag to resize
DigitalRuneIInputServiceGetPreviousGamePadState 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.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
GamePadState GetPreviousGamePadState(
	PlayerIndex controller
)

Parameters

controller
Type: PlayerIndex
The PlayerIndex that identifies the game controller.

Return Value

Type: GamePadState
The gamepad state of the last frame.
See Also