Click or drag to resize
DigitalRuneIInputServiceIsGamePadHandled 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.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
bool IsGamePadHandled(
	PlayerIndex controller
)

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.
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