summaryrefslogtreecommitdiff
path: root/shared-bindings/gamepadshift
AgeCommit message (Collapse)Author
2020-07-03Made every init return Nonedherrada
2020-07-03Added type hints to gamepadshiftdherrada
2020-07-02Removed all 'self, )'dherrada
2020-05-15Merge pull request #2810 from dherrada/masterScott Shawcroft
Pyi integration
2020-05-13Gamepad & GamepadShift: Initially allocate as long-livedJeff Epler
This makes less heap churn and decreases code size a tiny bit
2020-05-13Gamepad & GamepadShift: Enable ticks while object existsJeff Epler
Otherwise, button presses might not be noticed.
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-07Added gamepad, gamepadshift, and i2cslavedherrada
2019-06-12When clearing gamepad buffer, use the last button state, not 0Radomir Dopieralski
When reading the accumulated button presses in gamepad and gamepadshift, don't clear the buffer to "no buttons pressed", but instead set it to the current (last checked) state. This clears the accumulated presses, but retains any ongoing ones. This fixes #1935
2019-04-16Include cleanup and style tweaksScott Shawcroft
2019-04-16Fully split gamepadshift from gamepadScott Shawcroft
2019-04-15Split GamePadShift from GamePad to save space on most boards.Scott Shawcroft