Commit Graph

  • 7901b5df5e Fixed bug 4987 - Can't build on MinGW a recent state: conflicting types Sam Lantinga 2020-02-15 16:39:38 -08:00
  • 689bb8ec7c Added some extra permissions and features likely to be used by SDL applications Sam Lantinga 2020-02-14 18:21:58 -08:00
  • 931c1b605b test: Improved detection of OpenGL support Cameron Cawley 2020-02-08 19:34:51 +00:00
  • a041f67995 Improved CPU detection on ARM platforms Cameron Cawley 2020-02-04 16:46:22 +00:00
  • a2824c26a7 Add basic support for compiling on RISC OS Cameron Cawley 2020-02-13 20:50:47 +00:00
  • d0d4db1378 testfilesystem: Don't exit the application if SDL_GetBasePath isn't supported Cameron Cawley 2020-02-13 22:58:04 +00:00
  • 24d3f55957 Fixed bug 4980 - Build fails for SDL_kmsdrm*.c Sam Lantinga 2020-02-14 16:17:17 -08:00
  • d43b9a95de Fixed bug 4986 - Memory leak in HIDAPI_JoystickConnected Sam Lantinga 2020-02-14 16:15:46 -08:00
  • b6eb8ccf0a Fixed audio not coming out of the phone speakers while recording on iOS Sam Lantinga 2020-02-14 15:19:34 -08:00
  • c8904fd599 Fixed re-setting the audio session category when closing an audio device Sam Lantinga 2020-02-14 14:18:12 -08:00
  • c2e6fc29ac cmake: Add PACKAGE_VERSION and SDL2_VERSION to sdl2-config.cmake.in Ryan C. Gordon 2020-02-14 13:37:32 -05:00
  • ab02f711b5 x11: SDL_SetWindowPosition should try to wait for the window manager. Ryan C. Gordon 2020-02-14 13:17:18 -05:00
  • 4279a2d83e wayland: Don't delay pending surface resize handling on Vulkan. Ryan C. Gordon 2020-02-14 00:58:36 -05:00
  • e0f5d842d6 wayland: Don't force the window into OpenGL mode if we want Vulkan. Ryan C. Gordon 2020-02-14 01:08:21 -05:00
  • 5dbcf476a5 Fixed opening audio on Android from the Steam Link shell activity Sam Lantinga 2020-02-13 16:10:52 -08:00
  • 861b3c39a7 Resolved conflict and added Android_JNI_RequestPermission() Sam Lantinga 2020-02-13 10:19:05 -08:00
  • b0755b75f5 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
  • c3291aa7f9 test: Reimplemented SDLTest_CommonUsage() to restore binary compatibility. Ryan C. Gordon 2020-02-12 13:09:38 -05:00
  • 1179ddf3b9 mac: Wait a bit before activating app at startup. Ryan C. Gordon 2020-02-12 13:08:29 -05:00
  • 3750f5a840 Fixed relative mode mouse events stopping if you click on the title bar Sam Lantinga 2020-02-11 21:19:05 -08:00
  • f0439d401e Fixed iOS and Android build Sam Lantinga 2020-02-11 16:23:43 -08:00
  • 9250ab55cb Implemented OpenSL-ES audio recording on Android Sam Lantinga 2020-02-11 16:14:02 -08:00
  • 9fb7eea35e Attempt to make version detection safe for Mac OS X < 10.10 Sam Lantinga 2020-02-11 10:35:14 -08:00
  • add5e05643 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
  • 9563b2c1cb 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
  • 52622fab60 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
  • 3a3a314840 Fixed bug 4709 - incorrect (not) handling of windows on-screen cursor keys Sam Lantinga 2020-02-11 08:36:13 -08:00
  • 1313bc4fb1 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
  • a5628f3364 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
  • 8258a7bc54 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
  • 653a369eaf Fixed compile warning Sam Lantinga 2020-02-10 13:59:05 -08:00
  • 1dded18477 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
  • 5d850766a5 opengl: Build out full GL_LINES and respect the diamond-exit rule. Ryan C. Gordon 2020-02-10 12:53:54 -05:00
  • 4947946285 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
  • b0c2331758 Fixed bug 4966 - KMSDRM: Add dynamic modeset support Sam Lantinga 2020-02-09 11:44:22 -08:00
  • 3894d25b78 Fixed NullPointerException Sam Lantinga 2020-02-07 20:20:37 -08:00
  • ccde140eac 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
  • b8a6255397 Fixed bug 4968 - NULL passed to memcpy in WriteProprietary in SDL_hidapi_switch.c Sam Lantinga 2020-02-07 11:49:56 -08:00
  • 0a3e41f83b Use the triggers to test rumble for more fine grained vibration feedback Sam Lantinga 2020-02-07 11:45:32 -08:00
  • 97af2244ef Use the asynchronous HIDAPI rumble code for Nintendo Switch Pro controllers Sam Lantinga 2020-02-07 11:44:57 -08:00
  • e61bec5f29 Update for bug 4923 - Calling SDL_GameControllerRumble() often takes 8 ms Sam Lantinga 2020-02-07 11:02:34 -08:00
  • 1d7e289282 macOS: fix crash if and when joystick-init-on-add fails David Ludwig 2020-02-05 13:16:17 -05:00
  • 947c3c017a 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
  • 7c55637cf6 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
  • 639e7a8597 Fixed Visual Studio build Sam Lantinga 2020-02-04 16:05:39 -08:00
  • e7ee103646 Added SDL_hidapi_rumble.c to the macOS, iOS and tvOS builds Sam Lantinga 2020-02-04 15:42:49 -08:00
  • aa683df865 Added SDL_hidapi_rumble.c to the Visual Studio project Sam Lantinga 2020-02-04 15:35:01 -08:00
  • b3e4238fc1 FIX for SDL-4927: CFRetain+CFRelease a game controller's IOKit object David Ludwig 2020-01-30 18:03:34 -05:00
  • 9b1473c1a7 Added missing files from previous commit Sam Lantinga 2020-02-04 15:27:25 -08:00
  • b2cb683292 Fixed long delay on main thread caused by blocking rumble writes in HIDAPI drivers There is now a thread that handles all HIDAPI rumble requests and a lock that guarantees that we're not reading and writing the device at the same time. Sam Lantinga 2020-02-04 15:26:56 -08:00
  • dc16de3fd4 Moved rumble expiration to the main joystick handling level, and prevent sending the driver layer duplicate rumble requests. Sam Lantinga 2020-02-04 12:48:53 -08:00
  • 6bc81bee03 Correct joystick hat indexes on linux The index and indices were swapped; Which is fine as long as there are no gaps in the ABS_HAT* event availability but otherwise things do get confused. Sjoerd Simons 2020-02-04 07:23:44 -08:00
  • 8968393dbe Fixed bug 4965 - Update the .hgignore file Sam Lantinga 2020-02-03 16:38:07 -08:00
  • f149674214 Fixed bug 4758 - hgignore clion build artifacts Sam Lantinga 2020-02-03 16:34:33 -08:00
  • 965fd0bd46 Fixed bug 4833 - Use EGL for X11? Sam Lantinga 2020-02-03 08:06:52 -08:00
  • 26dbac177b Fixed bug 4917 - Wayland: handle discrete pointer axis events Sam Lantinga 2020-02-03 00:57:12 -08:00
  • 1910ab71cf Fixed the hidapi Info.plist for submission to the Apple App Store Sam Lantinga 2020-02-03 00:51:35 -08:00
  • e12ce6595d Fixed build warnings on Android Sam Lantinga 2020-02-01 09:23:04 -08:00
  • 7e29ce8a83 Map the right pad on the Steam Controller to the right stick in the game controller API Sam Lantinga 2020-01-31 14:09:23 -08:00
  • 4032a536a4 Build the hidapi framework and weak link it on Mac OS X Sam Lantinga 2020-01-31 13:09:20 -08:00
  • d117d8d0d2 Weak link the hidapi framework on iOS and tvOS Sam Lantinga 2020-01-31 10:45:04 -08:00
  • 2cf2cfd5b0 Build hidapi as a framework on iOS, so it can be linked by the application as well. Sam Lantinga 2020-01-30 16:02:56 -08:00
  • 92a995cd60 Fixed build Sam Lantinga 2020-01-30 14:58:41 -08:00
  • 2fb9f8c6d0 More Xcode project improvements Sam Lantinga 2020-01-30 14:53:18 -08:00
  • 01bb0ffd96 Export SDL functions for iOS application delegates Sam Lantinga 2020-01-30 14:51:33 -08:00
  • d138359494 test: Common framework now accepts --usable-bounds command line argument. Ryan C. Gordon 2020-01-30 13:47:48 -05:00
  • 603bc60ce2 test: change path in a comment from '\\' to '/' char. Nothing serious here. Ryan C. Gordon 2020-01-30 13:47:19 -05:00
  • 0114409a5a Added missing file from previous commit Sam Lantinga 2020-01-29 20:09:59 -08:00
  • 3878b30d51 Added a unified Xcode project for macOS, iOS and tvOS Sam Lantinga 2020-01-29 20:09:18 -08:00
  • 0b19bdcd31 Fixed compiler warning Sam Lantinga 2020-01-29 20:09:16 -08:00
  • 7bcfb1bcfb Added SDL_hidapi_steam.c to the iOS and tvOS dylib build targets Sam Lantinga 2020-01-29 20:09:14 -08:00
  • 6e060358b8 There are lots of unused macros in the Steam controller code Sam Lantinga 2020-01-29 20:09:12 -08:00
  • 5c64f44a9f Added support for the Steam Controller on mobile devices Sam Lantinga 2020-01-29 20:09:11 -08:00
  • 4946ec1ef4 Miscellaneous pending fixes Sam Lantinga 2020-01-29 20:09:08 -08:00
  • 706579f0c6 Fixed member order to make more sense Sam Lantinga 2020-01-28 21:41:13 -08:00
  • e24a78ff3d Fixed wired PS4 controller support on Android Sam Lantinga 2020-01-28 17:11:17 -08:00
  • 2e0e4c66d3 x11: Use XSync when changing window position instead of XFlush. Ryan C. Gordon 2020-01-28 13:51:24 -05:00
  • a928dfb170 cocoa: Fix command line apps' menu bar not working on macOS Catalina. Ryan C. Gordon 2020-01-27 17:15:12 -05:00
  • 895dbc38e2 darwin: Don't pass NULL device refs to IOHIDDeviceGetValue(). Ryan C. Gordon 2020-01-27 15:44:48 -05:00
  • c85a100cd1 video: Added a hint to override the display's usable bounds. Ryan C. Gordon 2020-01-27 10:58:30 -05:00
  • e332b6d728 Fixed bug 4898 - No rumble because of integer overflow in SDL_JoystickRumble Sam Lantinga 2020-01-26 12:48:35 -08:00
  • 653bb0c793 Don't enumerate devices we can't open Sam Lantinga 2020-01-26 12:40:32 -08:00
  • ee44fcea94 Fixed disabling the Xbox 360 wireless HIDAPI driver Sam Lantinga 2020-01-26 10:32:39 -08:00
  • 80279fb512 Always release devices in onPause in case we're going to be force stopped, and for consistency with interacting with other activities that might use the controller Sam Lantinga 2020-01-26 00:37:48 -08:00
  • 4addbff471 Fixed compiler warnings Sam Lantinga 2020-01-23 22:24:24 -08:00
  • 3e419c8c9f Fixed mapping for both versions of the Xbox One Elite Series 2 controller firmware connecting over Bluetooth Sam Lantinga 2020-01-23 12:53:43 -08:00
  • c972e7c75e Added mapping for the Xbox One controller connected via the wireless dongle using xow Sam Lantinga 2020-01-23 12:53:41 -08:00
  • 3d12f83be5 Turn off rumble on drivers which don't respect the replay.length value Sam Lantinga 2020-01-23 12:53:39 -08:00
  • dbd5926a65 SDL_LEAN_AND_MEAN defaults off Sam Lantinga 2020-01-23 01:03:23 -08:00
  • 698cde1a8b Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds Protected more code with #ifdefs to reduce the size of minimal shared library builds Sam Lantinga 2020-01-23 01:00:52 -08:00
  • 7389baad7b Fixed compile warning Sam Lantinga 2020-01-23 00:32:34 -08:00
  • a58e34f4f6 Added support for the paddles on the Xbox One Elite Series 1 controller Sam Lantinga 2020-01-22 11:28:35 -08:00
  • 0f4b8e30b8 Documentation of the footprint #defines Sylvain Becker 2020-01-22 15:23:44 +01:00
  • 52fbd467f2 audio: Fixed a '//' style comment. Ryan C. Gordon 2020-01-21 17:40:16 -05:00
  • c8b33b868e audio: Calculate a legitimate SDL_AudioSpec::silence in SDL_LoadWAV_RW(). Ryan C. Gordon 2020-01-21 15:49:37 -05:00
  • 4d9985406a Add #define SDL_HAVE_BLIT_N_RGB565 to compile out RGB565 LUT Sylvain Becker 2020-01-21 22:06:09 +01:00
  • a992fe0007 A few #defines to reduce SDL2 footprint. Only applied when library is statically linked Sylvain Becker 2020-01-21 21:33:40 +01:00
  • 2c2b61b9b3 The Xbox One 0x01 initialization packet is an ack packet Sam Lantinga 2020-01-20 13:53:40 -08:00
  • 9ad48f2b2d Refactored code so SDL_GetJoystickGameControllerType() is called less during controller detection Sam Lantinga 2020-01-19 11:43:36 -08:00
  • da8e6b1cb5 Added missing file from previous commit Sam Lantinga 2020-01-18 11:21:42 -08:00