| IInputServiceIsReleased Method (Buttons, PlayerIndex) |
Determines whether the specified button has been released on 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 bool IsReleased(
Buttons button,
PlayerIndex controller
)
Function IsReleased (
button As Buttons,
controller As PlayerIndex
) As Boolean
bool IsReleased(
Buttons button,
PlayerIndex controller
)
abstract IsReleased :
button : Buttons *
controller : PlayerIndex -> bool
Parameters
- button
- Type: Buttons
The button. - controller
- Type: PlayerIndex
The PlayerIndex that identifies the game controller.
Return Value
Type:
Boolean if the specified button was previously down and has been released;
otherwise,
.
See Also