Difference between revisions of "Gb.buttons.released"
From Gamebuino Wiki
(creation) |
m |
||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
__NOTOC__ | __NOTOC__ | ||
== Description == | == Description == |
Latest revision as of 2014-05-20T21:05:20
Description
Function used to know when a given button is released.
Syntax
gb.buttons.released(button);
Parameters
- button (byte): the identifier of the button, to choose from
BTN_A, BTN_B, BTN_C, BTN_UP, BTN_RIGHT, BTN_DOWN, BTN_LEFT
Returns
- boolean: true if the selected button is released
Example