RB.ButtonReleased
Method - Static
public static bool ButtonReleased(int button, int player = RB.PLAYER_ONE)
|
Parameters
button
|
int
|
A bitmask of one or multiple buttons
|
player
|
int
|
A bitmask of players to check, or RB.PLAYER_ANY to check any player. Defaults to RB.PLAYER_ONE |
Returns
bool
True if button(s) released
DescriptionReturn true if any of the given button(s) went from a down to up state since IRetroBlitGame.Update was last called. Supported buttons are:
Multiple buttons can be checked at once by ORing them. A few useful combinations are provided:
If player parameter is not provided then by default only RB.PLAYER_ONE buttons will be checked. Optionally any player can be specified:
Players can also be ORed to check for more than one player, or RB.PLAYER_ANY can be used to check for any player. ExampleSee AlsoRB.ButtonPressed RB.ButtonDown RB.InputOverrideSee DocsFeatures - Gamepads Features - Gamepad Input Override |