change chainbutton to index instead of color
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user