Closed animehunter closed 10 years ago
I can switch to polling, but please file the SDL bug as well.
@TheOnlyJoey can you test the 'testgamecontroller' test app that comes with SDL, it will read gamecontrollerdb mappings from ./gamecontrollerdb.txt.
You just need to pass it the indexes of the controller to use, probably 0 if it is the first controller.
This is interesting.
I tried this on 3 systems with 2 different controllers. On my 32 bit Debian machine, only the axes register. On my 32 bit Ubuntu (from a live stick) same result (with mercurial checkout from SDL2).
On my 64bit Ubuntu machine, everything works as expected
I think we found ourselves a bug!. Can someone else also setup a 32 bit test? (32bit live usb stick would do)
On Wed, May 7, 2014 at 6:32 AM, Andrew Thompson notifications@github.comwrote:
@TheOnlyJoey https://github.com/TheOnlyJoey can you test the 'testgamecontroller' test app that comes with SDL, it will read gamecontrollerdb mappings from ./gamecontrollerdb.txt.
You just need to pass it the indexes of the controller to use, probably 0 if it is the first controller.
— Reply to this email directly or view it on GitHubhttps://github.com/omf2097/openomf/issues/217#issuecomment-42388652 .
Is this still an issue ? :/
No news on this one, assuming fixed. Reopen or create a new ticket if not.
On Debian Sid 32bit (Joey's arcade machine), the SDL_CONTROLLERBUTTONDOWN event does not get fired when using a gamepad. This problem breaks the menu. This is highly likely to be an SDL or Debian 32bit bug.
Test code: https://github.com/omf2097/openomf/commit/0c8aeb7bc1aa2b5562ed1a4dbb27f76880238188
We could fix it by either:
Any ideas?