2a91f682b5
Fixed bug 5012 - KaiOS keycodes support
Sam Lantinga
2020-03-03 17:56:33 -08:00
96836ec643
Add 500ms max wait time for hid_write to complete on Windows It appears that with some (presumably) flaky drivers or hardware that the WriteFile in hid_write never completes leading to GetOverlappedResult to block forever waiting for it.
Sam Lantinga
2020-03-03 09:22:43 -08:00
07000bfc33
Fixed bug 5010 - SDL_Init with SDL_INIT_JOYSTICK hangs for 10 seconds when playing audio from another application
Sam Lantinga
2020-03-02 17:31:58 -08:00
c7a739bef4
Fixed bug 4643 - Append EGL CFLAGS in CheckOpenGLESX11
Sam Lantinga
2020-03-02 15:24:10 -08:00
a8f91340c8
Updated configure with change from last commit
Sam Lantinga
2020-03-02 15:14:52 -08:00
11b63facd5
Prevent Mesa from including X11 headers if X11 is disabled This fixes compilation errors that occur when trying to compile SDL2 for a X11-less target. The errors were due to the fact that Mesa will include X11 headers unless a couple of macros are defined.
Paul Cercueil
2020-03-02 15:14:02 -08:00
3b3ae4d14d
Possible fix for bug 5010 - SDL_Init with SDL_INIT_JOYSTICK hangs for 10 seconds when playing audio from another application
Sam Lantinga
2020-03-02 15:06:47 -08:00
a19757ac8d
Fixed bug 5007 - Segfault in KMSDRM_VideoQuit() on Raspberry Pi Zero with no display attached
Sam Lantinga
2020-03-02 14:55:40 -08:00
f00ddd0a38
Updated WhatsNew.txt with SDL 2.0.12 release notes
Sam Lantinga
2020-03-02 11:39:44 -08:00
25061816bf
Fixed compile warning
Sam Lantinga
2020-03-02 10:58:08 -08:00
eb19631a1e
This controller firmware is supported on Windows, and is covered by the Bluetooth check on Mac OSX
Sam Lantinga
2020-03-02 10:57:57 -08:00
49564c8b8d
Added support for the PDP Victrix Pro FS with Touch Pad for PS4
Sam Lantinga
2020-03-02 10:47:48 -08:00
4572dd2ae6
Fixed bug 4854 - Add a way to extend the values in controller_type.h
Sam Lantinga
2020-03-02 10:37:28 -08:00
27f346a058
Fixed compile warning
Sam Lantinga
2020-03-02 09:46:37 -08:00
339612d5af
ControllerList: add support for Victrix Pro FS w/ Touchpad for PS4
Sam Lantinga
2020-03-02 09:35:12 -08:00
52be663380
Use SDL math functions in Steam Controller support
Sam Lantinga
2020-03-02 09:35:09 -08:00
756d2073fe
Updated the HIDAPI Xbox One driver with support for Bluetooth Xbox One controllers
Sam Lantinga
2020-03-02 09:26:12 -08:00
997f3e9e82
Fixed build warnings
Sam Lantinga
2020-03-02 09:03:55 -08:00
11a84e4fa8
Make sure hidapi is built for the release DMG
Sam Lantinga
2020-03-01 18:16:15 -08:00
bebc486774
We already have a hidapi implementation for Windows, we don't need libusb
Sam Lantinga
2020-03-01 17:53:30 -08:00
74ed215618
Updated version to 2.0.12 for release candidate build
Sam Lantinga
2020-03-01 14:58:16 -08:00
6590d078d7
Fixed bug 4996 - Mac: XBoxOne Bluetooth rumble isn't working
Sam Lantinga
2020-03-01 14:52:49 -08:00
51e9e98451
Fixed whitespace
Sam Lantinga
2020-03-01 13:00:50 -08:00
8a6f1aa5f5
Fixed bug 4369 - Going fullscreen with green knob in MacOS freezes app for 15 seconds.
Sam Lantinga
2020-03-01 12:58:50 -08:00
bd5da73afd
Fixed bug 4992 - UWP/WinRT does not set thread priority when using SDL_SetThreadPriority
Sam Lantinga
2020-03-01 12:50:42 -08:00
1af31a26d1
Fixed trying to handle the HORI Wireless Switch Pad when connected via USB
Sam Lantinga
2020-02-27 13:53:32 -08:00
20d67446e0
Xbox One controller rumble doesn't need synchronization if you use a packet counter of 0
Sam Lantinga
2020-02-27 09:33:32 -08:00
2cd88ddf99
Temporarily disabled NEON optimizations added for bug 4365 The ABGR to ARGB blit results in an empty surface, this needs to be looked at.
Sam Lantinga
2020-02-27 09:32:03 -08:00
9013c9169c
Fixed bug 5005 - warnings in kmsdrm
Sam Lantinga
2020-02-27 08:20:34 -08:00
7f26ff237d
Fixed bug 4987 - Can't build on MinGW a recent state (15'th February, 2020): conflicting types
Sam Lantinga
2020-02-27 08:18:20 -08:00
cbd1a2f7dc
cmake: Forgot to add this file to revision control.
Ryan C. Gordon
2020-02-25 14:52:03 -05:00
dd1d8ab62c
cmake: more proper sdl2-config.cmake work (thanks, Alexander!)
Ryan C. Gordon
2020-02-21 15:52:35 -05:00
be4d488e04
cmake: Backed out changeset 9009d85d3762
Ryan C. Gordon
2020-02-21 15:51:04 -05:00
4d9e6e5f70
cocoa: When exiting a fullscreen space, wait for window state to normalize.
Ryan C. Gordon
2020-02-21 14:50:09 -05:00
8d14636326
Fixed support for third party Xbox 360 wireless controller dongle
Sam Lantinga
2020-02-19 08:26:00 -08:00
44698c4970
dynapi: Fixed build on non-Android platforms.
Ryan C. Gordon
2020-02-18 01:44:07 -05:00
ad225047b6
Added Android SDK conditionals to game controller mappings The Nintendo Switch Pro controller has a different mapping on Android 10 and newer
Sam Lantinga
2020-02-17 14:15:47 -08:00
d7ece7ee6f
Made SDL_GetAndroidSDKVersion() available for applications
Sam Lantinga
2020-02-17 13:54:45 -08:00
93b26f172c
opengl: Backed out hg changeset 94f9f40a957f
Ryan C. Gordon
2020-02-17 16:15:04 -05:00
1b82606e1d
x11: Wait a bit in SDL_SetWindowSize() to see if window manager vetoed change.
Ryan C. Gordon
2020-02-17 16:11:18 -05:00
e731522578
x11: Don't delay an extra 10ms if we were just going to break out of the loop.
Ryan C. Gordon
2020-02-17 15:02:37 -05:00
367a8b9701
x11: Don't wait for the window to move if it's already in the place we want it.
Ryan C. Gordon
2020-02-17 15:00:02 -05:00
1d624aa573
Further improvements for bug 4128 - CMAKE: Generated target import file contains incorrect include path
Sam Lantinga
2020-02-16 00:08:36 -08:00
4a9dbfef6b
Fixed bug 4987 - Can't build on MinGW a recent state: conflicting types
Sam Lantinga
2020-02-15 16:39:38 -08:00
dc54add5e0
Added some extra permissions and features likely to be used by SDL applications
Sam Lantinga
2020-02-14 18:21:58 -08:00
80cf4f0724
test: Improved detection of OpenGL support
Cameron Cawley
2020-02-08 19:34:51 +00:00
582f570600
Improved CPU detection on ARM platforms
Cameron Cawley
2020-02-04 16:46:22 +00:00
8f1a916ac5
Add basic support for compiling on RISC OS
Cameron Cawley
2020-02-13 20:50:47 +00:00
033aa51d87
testfilesystem: Don't exit the application if SDL_GetBasePath isn't supported
Cameron Cawley
2020-02-13 22:58:04 +00:00
35704c983e
Fixed bug 4980 - Build fails for SDL_kmsdrm*.c
Sam Lantinga
2020-02-14 16:17:17 -08:00
715f8d42a2
Fixed bug 4986 - Memory leak in HIDAPI_JoystickConnected
Sam Lantinga
2020-02-14 16:15:46 -08:00
f4e23553d7
Fixed audio not coming out of the phone speakers while recording on iOS
Sam Lantinga
2020-02-14 15:19:34 -08:00
922b3dc3e7
Fixed re-setting the audio session category when closing an audio device
Sam Lantinga
2020-02-14 14:18:12 -08:00
229c2f8f5f
cmake: Add PACKAGE_VERSION and SDL2_VERSION to sdl2-config.cmake.in
Ryan C. Gordon
2020-02-14 13:37:32 -05:00
d1df34370e
x11: SDL_SetWindowPosition should try to wait for the window manager.
Ryan C. Gordon
2020-02-14 13:17:18 -05:00
a77a890d4a
wayland: Don't delay pending surface resize handling on Vulkan.
Ryan C. Gordon
2020-02-14 00:58:36 -05:00
7ad77bccb2
wayland: Don't force the window into OpenGL mode if we want Vulkan.
Ryan C. Gordon
2020-02-14 01:08:21 -05:00
14bf532df3
Fixed opening audio on Android from the Steam Link shell activity
Sam Lantinga
2020-02-13 16:10:52 -08:00
b431286471
Resolved conflict and added Android_JNI_RequestPermission()
Sam Lantinga
2020-02-13 10:19:05 -08:00
e261bd4205
Improved fix for bug 4748 - Calling WIN_UpdateClipCursor() / WIN_UpdateClipCursorForWindows() on WIN_PumpEvents() causes beeping and choppy mouse cursor movement, right-click doesn't work
Sam Lantinga
2020-02-12 12:26:27 -08:00
afb70f2681
test: Reimplemented SDLTest_CommonUsage() to restore binary compatibility.
Ryan C. Gordon
2020-02-12 13:09:38 -05:00
0a6d80abf7
mac: Wait a bit before activating app at startup.
Ryan C. Gordon
2020-02-12 13:08:29 -05:00
6fe6946a2f
Fixed relative mode mouse events stopping if you click on the title bar
Sam Lantinga
2020-02-11 21:19:05 -08:00
6ec14b7fda
Fixed iOS and Android build
Sam Lantinga
2020-02-11 16:23:43 -08:00
4bb95e8403
Implemented OpenSL-ES audio recording on Android
Sam Lantinga
2020-02-11 16:14:02 -08:00
fe8ce66b53
Attempt to make version detection safe for Mac OS X < 10.10
Sam Lantinga
2020-02-11 10:35:14 -08:00
52b410ab8e
Workaround for bug 4822 - Broken visual output in full screen mode with OS X 10.15
Sam Lantinga
2020-02-11 10:21:31 -08:00
c31727c7e7
Fixed bug 4748 - Calling WIN_UpdateClipCursor() / WIN_UpdateClipCursorForWindows() on WIN_PumpEvents() causes beeping and choppy mouse cursor movement, right-click doesn't work
Sam Lantinga
2020-02-11 10:08:22 -08:00
668276fe81
Don't add a frame to borderless windows. It was done to allow hotkey resizing of borderless windows, but Windows will sometimes draw it, regardless of our WM_* message handling. See bug 4466 for more details.
Sam Lantinga
2020-02-11 09:41:55 -08:00
f867cebbd4
Fixed bug 4709 - incorrect (not) handling of windows on-screen cursor keys
Sam Lantinga
2020-02-11 08:36:13 -08:00
232b7feef6
Make it possible for the application to use different C runtime begin/end thread functions
Sam Lantinga
2020-02-11 08:26:46 -08:00
9feabd351c
Make sure SDL_CreateThread has the same signature regardless of how the DLL was created.
Sam Lantinga
2020-02-11 08:01:44 -08:00
4378fcd9a7
wayland: Fix building with -fno-common (which is now the default in GCC 10).
Ryan C. Gordon
2020-02-10 23:48:06 -05:00
d55f47d564
Fixed compile warning
Sam Lantinga
2020-02-10 13:59:05 -08:00
cbc65ce80d
src/core/linux/SDL_threadprio.c: fix build without threads Add an include on SDL_error.h to avoid the following build failure without threads:
Fabrice Fontaine
2020-02-10 13:56:53 -08:00
ed10d9473f
opengl: Build out full GL_LINES and respect the diamond-exit rule.
Ryan C. Gordon
2020-02-10 12:53:54 -05:00
13155b35b4
The scissor rect needs to be updated when the viewport changes in the Metal renderer
Sam Lantinga
2020-02-10 09:42:53 -08:00
3e935aecb9
Fixed bug 4966 - KMSDRM: Add dynamic modeset support
Sam Lantinga
2020-02-09 11:44:22 -08:00
64c58b9f19
Fixed NullPointerException
Sam Lantinga
2020-02-07 20:20:37 -08:00
e5e5416975
Removed VID/PID 0x1532/0x0037, which was listed in the Linux kernel as a Razer Sabertooth, because at least one variant of the Razer DeathAdder mouse shows up with this VID/PID. Specifically the Razer DeathAdder 2013 has this VID/PID
Sam Lantinga
2020-02-07 20:19:32 -08:00
833f76ab7b
Fixed bug 4968 - NULL passed to memcpy in WriteProprietary in SDL_hidapi_switch.c
Sam Lantinga
2020-02-07 11:49:56 -08:00
dd0ebfdf8b
Use the triggers to test rumble for more fine grained vibration feedback
Sam Lantinga
2020-02-07 11:45:32 -08:00
8ba77b35a5
Use the asynchronous HIDAPI rumble code for Nintendo Switch Pro controllers
Sam Lantinga
2020-02-07 11:44:57 -08:00
81256207bd
Update for bug 4923 - Calling SDL_GameControllerRumble() often takes 8 ms
Sam Lantinga
2020-02-07 11:02:34 -08:00
d88f3f5226
macOS: fix crash if and when joystick-init-on-add fails
David Ludwig
2020-02-05 13:16:17 -05:00
a199cb89ad
Updated the Android Xbox One Wireless Controller mapping for the latest Xbox controller firmware update
Sam Lantinga
2020-02-05 09:29:46 -08:00
dc1d3c2974
Catch both PS3 and PS4 motion controls and don't treat them as a game controller
Sam Lantinga
2020-02-04 18:36:23 -08:00
1d1a35ef64
Fixed Visual Studio build
Sam Lantinga
2020-02-04 16:05:39 -08:00
1bd120266f
Added SDL_hidapi_rumble.c to the macOS, iOS and tvOS builds
Sam Lantinga
2020-02-04 15:42:49 -08:00