| InputManagerGetGamePadState 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 public GamePadState GetGamePadState(
LogicalPlayerIndex player
)
Public Function GetGamePadState (
player As LogicalPlayerIndex
) As GamePadState
public:
virtual GamePadState GetGamePadState(
LogicalPlayerIndex player
) sealed
abstract GetGamePadState :
player : LogicalPlayerIndex -> GamePadState
override 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.
Implements
IInputServiceGetGamePadState(LogicalPlayerIndex)See Also