Sam Lantinga [Fri, 20 Dec 2019 21:00:16 -0800] rev 13370
Fixed duplicate controller entries on Mac OS X when using libusb, due to the HID interface number not being available in the Mac OS X HID code.
Sam Lantinga [Fri, 20 Dec 2019 20:12:03 -0800] rev 13369
Automatically assign player indexes to game controllers, and allow changing the player index for game controllers and joysticks.
Added the functions SDL_JoystickFromPlayerIndex(), SDL_JoystickSetPlayerIndex(), SDL_GameControllerFromPlayerIndex(), and SDL_GameControllerSetPlayerIndex()
Sylvain Becker [Fri, 20 Dec 2019 15:58:59 +0100] rev 13368
Android: fix IllegalStateException in onBackPressed()
Rare exception, not catch-able, which appears when the activity gets in a broken
state.
java.lang.IllegalStateException:
at android.app.FragmentManagerImpl.checkStateLoss (FragmentManagerImpl.java:1323)
at android.app.FragmentManagerImpl.popBackStackImmediate (FragmentManagerImpl.java:493)
at android.app.Activity.onBackPressed (Activity.java:2215)
at org.libsdl.app.SDLActivity.onBackPressed (SDLActivity.java)
at android.app.Activity.onKeyUp (Activity.java:2193)
at android.view.KeyEvent.dispatch (KeyEvent.java:2685)
at android.app.Activity.dispatchKeyEvent (Activity.java:2423)
at org.libsdl.app.SDLActivity.dispatchKeyEvent (SDLActivity.java)
Ozkan Sezer [Fri, 20 Dec 2019 14:33:37 +0300] rev 13367
fix xcode project file permissions
Paul Cercueil [Thu, 19 Dec 2019 21:47:43 -0800] rev 13366
kmsdrm: Fix busy-loop within libc's dlopen()
For some obscure reason, the order in which the libdrm/libgbm libraries
are loaded matters.
Without this fix, the first call to check_modesetting() will work and
load then unload all symbols properly, but the second call to this
function will lock up as soon as dlopen() is called on libdrm.
Swapping the order in which the libdrm and libgbm libraries are loaded
is enough to fix (or work around?) this issue.
Fixes #4891:
https://bugzilla.libsdl.org/show_bug.cgi?id=4891
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Sam Lantinga [Thu, 19 Dec 2019 21:45:44 -0800] rev 13365
Make sure the Xbox 360 driver doesn't try to talk to the wireless controllers
Sam Lantinga [Thu, 19 Dec 2019 18:03:28 -0800] rev 13364
Fixed rare infinite rumble in HIDAPI controller driver
Sam Lantinga [Thu, 19 Dec 2019 18:00:08 -0800] rev 13363
Fixed GameCube rumble
Sam Lantinga [Thu, 19 Dec 2019 16:14:22 -0800] rev 13362
Added support for the Nintendo GameCube Controller, using the Mayflash GameCube adapter.
Sam Lantinga [Thu, 19 Dec 2019 15:58:16 -0800] rev 13361
Fixed compiler warning