| IInputServiceGetGamePadState 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 GamePadState GetGamePadState(
PlayerIndex controller
)
Function GetGamePadState (
controller As PlayerIndex
) As GamePadState
GamePadState GetGamePadState(
PlayerIndex controller
)
abstract 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.
See Also