Click or drag to resize
DigitalRuneIInputServiceGetGamePadState Method (LogicalPlayerIndex)
Gets the gamepad state for the given player.

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
GamePadState GetGamePadState(
	LogicalPlayerIndex player
)

Parameters

player
Type: DigitalRune.Game.InputLogicalPlayerIndex
The LogicalPlayerIndex that identifies the player. (Note: Any is not allowed.)

Return Value

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