summaryrefslogtreecommitdiffstats
path: root/buttons.hpp
Commit message (Collapse)AuthorAge
* Implement an app_manager that supports BaseAppConfuSomu2021-07-25
| | | | | | | | | and create classes for home_menu and main_clock apps. This commit has a lot of changes as multiple parts of the project had to be changed to support running apps that are based on the BaseApp class. It could not have been done in multiple commits as the progam would not be able to build and thus I would not be able to test the changes.
* Add time format settingConfuSomu2021-05-27
| | | | Set between 24 hour and 12 hour format.
* Add user_settings global structConfuSomu2021-05-06
|
* Decrease button sensitivityConfuSomu2021-05-01
| | | | | The buttons were very sensitive when moving around in the menus. This change seems to remedy this problem.
* Move check for button time since press to functionConfuSomu2021-04-25
| | | | | This allows later updating the code to have the check work correctly when start time > current time.
* Fix race condition on HOME press while renderingConfuSomu2021-04-22
| | | | | | | | | This existed because waiting for the app to finish rendering was done in a blocking manner, meaning that the rendering state would never end. This would block the microcontroller in a loop. This was fixed by rewriting the part related to app switching to correctly do the switching while the app is not rendering.
* Move global variables to structConfuSomu2021-04-22
|
* Implement API method to ask user for yes/no choiceConfuSomu2021-03-16
|
* Enter shallow sleep when there are no interactionsConfuSomu2021-03-02
| | | | Current app stops getting refreshed and display is turned off.
* Adopt C++ConfuSomu2021-02-20
A large number of changes had to be made to use C++. "extern C" had to be added for a few headers not adapted to C++. See https://github.com/raspberrypi/pico-sdk/pull/106 for fix in affected files. They will be removed when the pull request is merged in pico-sdk's master branch.