| IInputServiceIsGamePadHandled Method (LogicalPlayerIndex) |
Gets a value indicating whether gamepad input of a given player has already been handled.
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax bool IsGamePadHandled(
LogicalPlayerIndex player
)
Function IsGamePadHandled (
player As LogicalPlayerIndex
) As Boolean
bool IsGamePadHandled(
LogicalPlayerIndex player
)
abstract IsGamePadHandled :
player : LogicalPlayerIndex -> bool
Parameters
- player
- Type: DigitalRune.Game.InputLogicalPlayerIndex
The LogicalPlayerIndex that identifies the player.
(Any to check all of players.)
Return Value
Type:
Boolean if the input for the given
player was already
handled. If
player is
LogicalPlayerIndex.Any is returned if any game controller input 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