Click or drag to resize
DigitalRuneInputManagerGetGamePadState Method (PlayerIndex)
Gets the gamepad state of the given game controller. (Not available in Silverlight.)

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
public GamePadState GetGamePadState(
	PlayerIndex controller
)

Parameters

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

Return Value

Type: GamePadState
The gamepad state of the current frame.

Implements

IInputServiceGetGamePadState(PlayerIndex)
See Also