aboutsummaryrefslogtreecommitdiffstats
path: root/src/buttons.c
Commit message (Collapse)AuthorAgeFilesLines
* buttons: initialize mcu buttons based on inverted stateArksine2019-07-051-2/+3
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* buttons: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buttons: Clear pressed/last_pressed state on new buttons_query commandKevin O'Connor2018-10-011-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buttons: Add initial support for detecting button pressesKevin O'Connor2018-06-301-0/+160
Add mcu support for periodically polling for a button press. Add host code support for registering buttons and invoking callbacks for them. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>