Commit Graph

2 Commits

Author SHA1 Message Date
jakobkg
6d5cbf9af5 Simplified the controller functions
The three functions related to updating the arrays of buttons tates are now a single function, updateButtons.

The three functions isPressed(), isHeld(), and isReleased() have been merged into a single function, checkButton() which takes parameters for which button to check and what state or event (PRESS, HOLD, RELEASE) to check for.
2018-03-02 20:09:33 +01:00
jakobkg
087c4cddd8 Restored lib_easy and moved controller things to own files
Maybe bloating lib_easy isn't a great idea, I've restored it and commented out all the controller bits, and moved my controller things to new files.
2018-03-02 10:48:38 +01:00