summaryrefslogtreecommitdiff
path: root/shared-module/gamepad/GamePad.h
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2019-04-16Include cleanup and style tweaksScott Shawcroft
2019-04-15Split GamePadShift from GamePad to save space on most boards.Scott Shawcroft
2019-04-12Reorganize the gamepad codeRadomir Dopieralski
2019-04-12More refactoringRadomir Dopieralski
2019-04-12Read one bit per system clock tick in GamePadShiftRadomir Dopieralski
2019-04-12Add GamePadShift for handling shift-register-based buttonsRadomir Dopieralski
2018-05-30Add gamepad_singleton to root pointersRadomir Dopieralski
2018-05-23Remove volatile from the gamepad structRadomir Dopieralski
2018-05-23Cache pullup state in gamepadRadomir Dopieralski
Don't check the pin's pull direction on every tick, instead cache it at the beginning. Also avoid a "can't get pull of output pin" error when one of the pins passed is in output mode.
2017-10-03Add a `gamepad` module for handling buttons in the background. (#295)Radomir Dopieralski
The `GamePad` singleton monitors buttons in the background to make sure a button press is never missed and debouncing happens consistently.