| InputManagerIsUp Method (Buttons, LogicalPlayerIndex) |
Determines whether the specified button is up for the given player.
(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 IsUp(
Buttons button,
LogicalPlayerIndex player
)
Public Function IsUp (
button As Buttons,
player As LogicalPlayerIndex
) As Boolean
public:
virtual bool IsUp(
Buttons button,
LogicalPlayerIndex player
) sealed
abstract IsUp :
button : Buttons *
player : LogicalPlayerIndex -> bool
override IsUp :
button : Buttons *
player : LogicalPlayerIndex -> bool
Parameters
- button
- Type: Buttons
The button. - player
- Type: DigitalRune.Game.InputLogicalPlayerIndex
The LogicalPlayerIndex that identifies the player.
(Any to check the game controllers of all available
players.)
Return Value
Type:
Boolean if the specified button is up; otherwise,
.
Implements
IInputServiceIsUp(Buttons, LogicalPlayerIndex)See Also