| InputManagerIsGamePadHandled Method (PlayerIndex) |
Gets a value indicating whether the input of a given game controller has already been
handled. (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 bool IsGamePadHandled(
PlayerIndex controller
)
Public Function IsGamePadHandled (
controller As PlayerIndex
) As Boolean
public:
virtual bool IsGamePadHandled(
PlayerIndex controller
) sealed
abstract IsGamePadHandled :
controller : PlayerIndex -> bool
override IsGamePadHandled :
controller : PlayerIndex -> bool
Parameters
- controller
- Type: PlayerIndex
The PlayerIndex that identifies the game controller.
Return Value
Type:
Boolean if the input for the given
controller was already
handled.
Implements
IInputServiceIsGamePadHandled(PlayerIndex)Remarks
This flags are automatically reset (= set to
) by the input service
in each frame. Game components can set this flag to indicate that they have handled the
game controller input and other game components should not handle this input anymore.
To set these flags use
SetGamePadHandled(LogicalPlayerIndex, Boolean).
See Also