firmware release 1.2
fixed MSboard, game class prep, power impr.
This commit is contained in:
@@ -48,6 +48,20 @@ bool anybutton(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool anyButtonChanged(void)
|
||||
{
|
||||
handleButtons();
|
||||
for (auto &&i : buttonlist)
|
||||
{
|
||||
if (i->isChanged())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool buttonIsPressed(e_ledcolor index)
|
||||
{
|
||||
c_button *thisbutton = getButton(index);
|
||||
|
||||
Reference in New Issue
Block a user