Bug 2358 - [Android] Joystick Button Mappings are strange (fix by David Brady)
Bug 2358 - [Android] Sort joystick axes - Fix by David Brady
autoconf script tweaks

- fix up chmodding sdl2-config
- remove duplicate enable_atomic section
- add pretty summary of what was found/enabled
correct grammar on UNIX missing dependency status notice.
quick fix for CMAKE SOVERSION number so it matches what is output by the configure script
Fixed typo in documentation.
Removed unused variable from Java class for Android.

The audio thread was moved to native side and "protected" prevented a warning.
[Android] Fixes Bug 2370, don't send accelerometer changes when
Android_JNI_GetAccelerometerValues return SDL_FALSE (thanks to Jairo Luiz)
Patched to compile on Windows when not supporting Direct3D.
Patched to compile...uh, everywhere.  :)
X11: Don't redraw dialog box when mouse moves.

This fixes bug #2343. (https://bugzilla.libsdl.org/show_bug.cgi?id=2343)

Thanks to Melker Narikka for the patch.
CMake: Enable missing timer subsystem on Mac OS X and Haiku.
Preserve binary compatibility in SDL_SYSWM_TYPE (thanks Gerry JJ!)

Also moved Wayland structures to the bottom of the union for OCD related issues.
[Wayland] Fixes segfault when mouse enters window
Some CMake fixes for static linking on Windows from the OpenFL project.
Move to no-argument version of "endif()" in CMakeLists.txt.
Fixed comments in joystick implementation files claiming to be headers.

It seems comments were originally copied from SDL_sysjoystick.h.
Fixed spaces in source file license comment.
fixed hat code validation.
Mac: [NSApp keyWindow] is not valid in windowDidBecomeKey:

This fixes weird behavior on Mac where our first responder reverts to the window
itself, rather than the SDLTranslatorResponder, after the window has lost focus
once. This causes Escape to call cancelOperation: on the NSWindow, which by
default removes our fullscreen-ness.

When someone has turned off SDL_TEXTINPUT we should probably set another initial
responder that handles the Escape behavior, so that SDL_TEXTINPUT doesn't change
fullscreen behavior (and possibly other behavior) like it does now.