Mon, 09 Dec 2019 16:52:11 -0800Fixed rumble after Xbox controller initialization
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Dec 2019 16:52:11 -0800] rev 13324
Fixed rumble after Xbox controller initialization
When we initialize the controller it has an internal rumble sequence number, and if our rumble sequence number doesn't match that, rumble won't happen. To fix that we cycle through the range of sequence numbers, and at some point we'll match up with the controller's sequence number and it'll roll forward until it matches our next rumble sequence number.

Mon, 09 Dec 2019 13:54:05 -0800The PowerA Mini controller blocks while writing feature reports, so don't try to use the HIDAPI driver for it on Linux
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Dec 2019 13:54:05 -0800] rev 13323
The PowerA Mini controller blocks while writing feature reports, so don't try to use the HIDAPI driver for it on Linux

Mon, 09 Dec 2019 13:54:03 -0800Added some missing Xbox controller names
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Dec 2019 13:54:03 -0800] rev 13322
Added some missing Xbox controller names

Sun, 08 Dec 2019 11:36:40 -0800Fixed bug 4883 - Add approximation for display DPI on iOS
Sam Lantinga <slouken@libsdl.org> [Sun, 08 Dec 2019 11:36:40 -0800] rev 13321
Fixed bug 4883 - Add approximation for display DPI on iOS

Aaron Barany

There appears to be no way to directly access the display DPI on iOS, so as an approximation the DPI for the iPhone 1 is used as a base value and is multiplied by the screen's scale. This should at least give a ballpark number for the various screen scales. (based on https://stackoverflow.com/questions/25756087/detecting-iphone-6-6-screen-sizes-in-point-values it appears that both 2x and 3x are used)

I have updated the patch to use a table of current devices and use a computation as a fallback. I have also updated the fallback computation to be more accurate.

Sun, 08 Dec 2019 11:33:06 -0800Fixed bug 4890 - Add hint for SDL that the graphics context is externally managed
Sam Lantinga <slouken@libsdl.org> [Sun, 08 Dec 2019 11:33:06 -0800] rev 13320
Fixed bug 4890 - Add hint for SDL that the graphics context is externally managed

Aaron Barany

Add SDL_HINT_VIDEO_EXTERNAL_CONTEXT hint to notify SDL that the graphics context is external. This disables the automatic context save/restore behavior on Android and avoids using OpenGL by default when SDL_WINDOW_VUKLAN isn't set.

When the application wishes to manage the OpenGL contexts on Android, this avoids cases where SDL unbinds the context and creates new contexts, which can interfere with the application's operation.

When using Vulkan and Metal renderer implementations, this avoids SDL forcing OpenGL to be enabled on certain platforms. While using the SDL_WINDOW_VULKAN flag can be used to achieve the same thing, it also causes Vulkan to be loaded. If the application uses Vulkan directly, this is not necessary, and fails window creation when using Metal due to Vulkan not being present. (assuming MoltenVK isn't installed)

Fri, 06 Dec 2019 13:48:13 -0800Fixed the Apple TV remote menu button on tvOS 13.2 (thanks Romain Tisserand)
Sam Lantinga <slouken@libsdl.org> [Fri, 06 Dec 2019 13:48:13 -0800] rev 13319
Fixed the Apple TV remote menu button on tvOS 13.2 (thanks Romain Tisserand)

Fri, 06 Dec 2019 13:48:10 -0800Fixed the game controller menu button on tvOS 13.2 (thanks Romain Tisserand)
Sam Lantinga <slouken@libsdl.org> [Fri, 06 Dec 2019 13:48:10 -0800] rev 13318
Fixed the game controller menu button on tvOS 13.2 (thanks Romain Tisserand)

Thu, 05 Dec 2019 17:27:06 -0500cocoa: Patched to compile on older compilers.
Ryan C. Gordon <icculus@icculus.org> [Thu, 05 Dec 2019 17:27:06 -0500] rev 13317
cocoa: Patched to compile on older compilers.

Thu, 05 Dec 2019 13:48:08 -0800Fixed controller mapping issues caused by PS3 gyro jitter
Sam Lantinga <slouken@libsdl.org> [Thu, 05 Dec 2019 13:48:08 -0800] rev 13316
Fixed controller mapping issues caused by PS3 gyro jitter

Thu, 05 Dec 2019 13:18:56 -0800Ignore axis jitter when mapping controllers
Sam Lantinga <slouken@libsdl.org> [Thu, 05 Dec 2019 13:18:56 -0800] rev 13315
Ignore axis jitter when mapping controllers