gb.buttons.released

From Gamebuino Wiki
Revision as of 2014-05-20T20:05:20 by Rodot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

See also