| InputManagerGetGamePadState Method (PlayerIndex) |
Gets the gamepad state of the given game controller. (Not available in Silverlight.)
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(
PlayerIndex controller
)
Public Function GetGamePadState (
controller As PlayerIndex
) As GamePadState
public:
virtual GamePadState GetGamePadState(
PlayerIndex controller
) sealed
abstract GetGamePadState :
controller : PlayerIndex -> GamePadState
override GetGamePadState :
controller : PlayerIndex -> GamePadState
Parameters
- controller
- Type: PlayerIndex
The PlayerIndex that identifies the game controller.
Return Value
Type:
GamePadStateThe gamepad state of the current frame.
Implements
IInputServiceGetGamePadState(PlayerIndex)See Also