Tue, 12 Jun 2018 00:18:10 -0700Added common controllers used with Steam Big Picture
Sam Lantinga <slouken@libsdl.org> [Tue, 12 Jun 2018 00:18:10 -0700] rev 12014
Added common controllers used with Steam Big Picture

These are entirely untested
Several USB ids refer to multiple packaged products. In those cases I tried to use the most common name, or a general name (e.g. PS3 Controller), or a completely generic name (e.g. USB gamepad) if it wasn't clear what type of controller it was.
Patches welcome!

Thu, 07 Jun 2018 17:07:05 -0700Don't crash on exit from SDLActivity if we don't have a singleton for some reason. (Thanks Rachel!)
Sam Lantinga <slouken@libsdl.org> [Thu, 07 Jun 2018 17:07:05 -0700] rev 12013
Don't crash on exit from SDLActivity if we don't have a singleton for some reason. (Thanks Rachel!)

Thu, 07 Jun 2018 17:07:03 -0700Track android device panel width & height as well as window surface & height.
Sam Lantinga <slouken@libsdl.org> [Thu, 07 Jun 2018 17:07:03 -0700] rev 12012
Track android device panel width & height as well as window surface & height.

Expand SDLActivity::SDLSurface::surfaceChanged() callback to grab the panel width and height at the same time and pass that along to the native code. Only works on API 17+. Duplicates surface dimensions whenever it fails.

Add Android_DeviceWidth/Android_DeviceHeight globals to native code.
Disambiguate Android_ScreenWidth/Android_ScreenHeight -> Android_SurfaceWidth/Android_SurfaceHeight
Use device width/height for all display mode settings.

Thu, 07 Jun 2018 10:54:54 -0700Added support for the PS3 controller driver in PlayStation Now
Sam Lantinga <slouken@libsdl.org> [Thu, 07 Jun 2018 10:54:54 -0700] rev 12011
Added support for the PS3 controller driver in PlayStation Now

Wed, 06 Jun 2018 09:42:12 -0700Added Android hardware feature support to the default manifest
Sam Lantinga <slouken@libsdl.org> [Wed, 06 Jun 2018 09:42:12 -0700] rev 12010
Added Android hardware feature support to the default manifest

Tue, 05 Jun 2018 14:08:39 -0700Added improved mouse pointer capture under API 26. (Thanks Rachel!)
Sam Lantinga <slouken@libsdl.org> [Tue, 05 Jun 2018 14:08:39 -0700] rev 12009
Added improved mouse pointer capture under API 26. (Thanks Rachel!)

Tue, 05 Jun 2018 12:46:13 -0700Added SDL_IsChromebook() to determine if we're running on a Chromebook.
Sam Lantinga <slouken@libsdl.org> [Tue, 05 Jun 2018 12:46:13 -0700] rev 12008
Added SDL_IsChromebook() to determine if we're running on a Chromebook.

Tue, 05 Jun 2018 12:46:11 -0700Add Android support for relative mouse mode to SDL.
Sam Lantinga <slouken@libsdl.org> [Tue, 05 Jun 2018 12:46:11 -0700] rev 12007
Add Android support for relative mouse mode to SDL.

Tue, 05 Jun 2018 12:46:09 -0700Fix creating a minimized window in SDL to not cause focus to be stolen (because ShowWindow( hwnd, SW_MINIMIZE ) would be called after creation, thus changing focus to the prior window based on some per-app list in windows, rather than the window being created with WS_MINIMIZED to start with).
Sam Lantinga <slouken@libsdl.org> [Tue, 05 Jun 2018 12:46:09 -0700] rev 12006
Fix creating a minimized window in SDL to not cause focus to be stolen (because ShowWindow( hwnd, SW_MINIMIZE ) would be called after creation, thus changing focus to the prior window based on some per-app list in windows, rather than the window being created with WS_MINIMIZED to start with).

This means we have to consider SDL_WINDOW_MINIMIZED a window creation flag, but on non-windows platforms we just remove it and let the normal FinishWindowCreation re-apply and do the minimize as I have no idea what is right on them or if anything should change.

CR: Phil

Fri, 01 Jun 2018 19:43:53 -0700Fixed bug 4184 - jack audio driver fails in presence of midi ports
Sam Lantinga <slouken@libsdl.org> [Fri, 01 Jun 2018 19:43:53 -0700] rev 12005
Fixed bug 4184 - jack audio driver fails in presence of midi ports

Martin Širokov

Launching an SDL application with SDL_AUDIODRIVER=jack, and then calling SDL_OpenAudioDevice() with whatever parameters fails with an error like this one:

SDL_OpenAudioDevice: Couldn't connect JACK ports: SDL:sdl_jack_output_0 => system:midi_playback_1

This happens because JACK_OpenDevice in src/audio/jack/SDL_jackaudio.c blindly tries to connect to all input ports without checking whether they are for audio or midi.

The fix is to check port types and ignore all non audio ports. Also I removed devports field from struct SDL_PrivateAudioData, because it's never really used and removing unused ports from it would be PITA.