circuitpython/shared-module/gamepad
Radomir Dopieralski 1c97b7f4df Gracefully reset the gamepad module
If a soft reset happens while the gamepad module is scanning for button
presses, there is a moment when the pins get de-initialized, but the
gamepad module is still trying to read them, which ends in a crash.
We can avoid it by disabling scanning on reset.

(cherry picked from commit 470a23d4c9)

Conflicts:
	atmel-samd/main.c
2017-10-22 20:54:10 -07:00
..
GamePad.c Add a `gamepad` module for handling buttons in the background. (#295) 2017-10-03 13:35:57 -07:00
GamePad.h Add a `gamepad` module for handling buttons in the background. (#295) 2017-10-03 13:35:57 -07:00
__init__.c Gracefully reset the gamepad module 2017-10-22 20:54:10 -07:00
__init__.h Gracefully reset the gamepad module 2017-10-22 20:54:10 -07:00