circuitpython/shared-bindings/gamepad
Radomir Dopieralski 5e265f4fbd
When clearing gamepad buffer, use the last button state, not 0
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-06-12 11:42:41 -07:00
..
GamePad.c When clearing gamepad buffer, use the last button state, not 0 2019-06-12 11:42:41 -07:00
GamePad.h Split GamePadShift from GamePad to save space on most boards. 2019-04-15 15:40:06 -07:00
__init__.c Fully split gamepadshift from gamepad 2019-04-16 10:11:54 -07:00
__init__.h Fully split gamepadshift from gamepad 2019-04-16 10:11:54 -07:00