| IInputServiceGetGamePadState Method (LogicalPlayerIndex) |
Gets the gamepad state for the given player.
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax GamePadState GetGamePadState(
LogicalPlayerIndex player
)
Function GetGamePadState (
player As LogicalPlayerIndex
) As GamePadState
GamePadState GetGamePadState(
LogicalPlayerIndex player
)
abstract GetGamePadState :
player : LogicalPlayerIndex -> GamePadState
Parameters
- player
- Type: DigitalRune.Game.InputLogicalPlayerIndex
The LogicalPlayerIndex that identifies the player. (Note:
Any is not allowed.)
Return Value
Type:
GamePadStateThe gamepad state of the current frame.
See Also