change chainbutton to index instead of color

This commit is contained in:
2020-12-25 13:28:49 +01:00
parent 4c9ee88508
commit 009903ec17
3 changed files with 36 additions and 23 deletions

View File

@@ -29,6 +29,7 @@ c_button *getButton(e_ledcolor index);
std::vector<c_button *>* getButtonlist(void);
bool buttonIsPressed(e_ledcolor index);
bool buttonIsPressed(uint16_t index);
bool buttonWasPressed(e_ledcolor index);