Commit Graph

  • d67f5a4058 Fixed compiler warning Sam Lantinga 2017-12-09 13:05:56 -08:00
  • dc37345324 Fixed pixel positioning and size for the Metal renderer Sam Lantinga 2017-12-09 12:58:41 -08:00
  • 349275e421 metal: fixed render target support. Ryan C. Gordon 2017-12-09 03:28:23 -05:00
  • 27f83a891f metal: Added some comments and FIXMEs. Ryan C. Gordon 2017-12-09 03:27:52 -05:00
  • 3e35871488 audio: fixed typo in Doxygen comment. Ryan C. Gordon 2017-12-09 03:24:01 -05:00
  • e24aae80ee Removed duplicate entry for SDL_wasapi.h Sam Lantinga 2017-12-08 16:12:53 -08:00
  • 377fac1c42 metal: Cleaned up some reference count politics. Ryan C. Gordon 2017-12-08 18:26:26 -05:00
  • 0a555d01b5 hints: Add "metal" to the list of SDL_RENDER_DRIVER hints. Ryan C. Gordon 2017-12-08 17:43:57 -05:00
  • 4365b10afb Added SDL_RenderGetMetalLayer() and SDL_RenderGetMetalCommandEncoder() Sam Lantinga 2017-12-08 14:30:10 -08:00
  • c72e8810fd Fixed Metal renderer memory leak Sam Lantinga 2017-12-08 13:20:20 -08:00
  • b3da02bb3b metal: Don't check if Metal is available if targeting modern macOS versions. Ryan C. Gordon 2017-12-08 14:03:36 -05:00
  • 4d5ce19660 Minor cleanup Sam Lantinga 2017-12-08 12:02:23 -08:00
  • 2696845abf Fixed minor memory leak in the Metal renderer Sam Lantinga 2017-12-08 11:35:19 -08:00
  • 37062fbdc5 Added check for failure of D3D_ActivateRenderer() Sam Lantinga 2017-12-08 11:34:32 -08:00
  • ef2b2d41c1 Fixed compiler warning Sam Lantinga 2017-12-08 11:33:27 -08:00
  • 2705bc1deb Fixed bug 1878 - Scaled texture draws with filtering produce wrapping artifacts. Sam Lantinga 2017-12-08 11:09:05 -08:00
  • c385422919 configure: List Metal in video drivers. Ryan C. Gordon 2017-12-08 00:49:35 -05:00
  • c2df1f3b0a Defer getting the next drawable until we actually start rendering This works better for games where there may be a bunch of simulation logic that needs to be run before the next rendering pass, and prevents blocking if the next drawable is busy. Sam Lantinga 2017-12-08 08:58:02 -08:00
  • 386b0ff6cd Fixed runtime errors on iOS Sam Lantinga 2017-12-07 18:08:51 -08:00
  • 31404706b5 Fixed building for simulators or older iOS SDKs Sam Lantinga 2017-12-07 17:47:01 -08:00
  • c6972eecc2 Fixed compiling Metal renderer on iOS Sam Lantinga 2017-12-07 17:12:03 -08:00
  • ed87981384 Added iOS and OSX versions of the Metal shaders Sam Lantinga 2017-12-07 16:08:47 -08:00
  • 09763d0c06 Enable building the Metal renderer by default, and weak link the Metal framework so the SDL library is safe to use on older Macs Also generate iOS versions of the Metal shaders Sam Lantinga 2017-12-07 16:08:09 -08:00
  • 146d9b8201 win32: fix symbols leakage for static libraries Mikhail Paulyshka 2017-09-24 14:32:30 +03:00
  • 7f1c6e82b9 Accepted patch https://github.com/microsoft/vcpkg/blob/master/ports/sdl2/enable-winrt-cmake.patch Sam Lantinga 2020-12-08 09:13:08 -08:00
  • 7665f8870a Accepted patch https://github.com/microsoft/vcpkg/blob/master/ports/sdl2/disable-wcslcpy-and-wcslcat-for-windows.patch Sam Lantinga 2020-12-08 09:07:21 -08:00
  • 695499ae6c Accepted patch https://github.com/microsoft/vcpkg/blob/master/ports/sdl2/disable-hidapi-for-uwp.patch Sam Lantinga 2020-12-08 09:04:28 -08:00
  • 5610e5ae48 Makefile.os2: disable W303 (add -wcd=303 to CFLAGS) Ozkan Sezer 2020-12-08 00:11:10 +03:00
  • c9723c407f Fixed potential hang in joystick close if the rumble thread is blocked for some reason Sam Lantinga 2020-12-07 09:38:21 -08:00
  • 3c68051eaf Allow background input when testing game controllers Sam Lantinga 2020-12-04 15:47:28 -08:00
  • 09909d029d Fixed handling of BACK button on newer Xbox One S controllers Sam Lantinga 2020-12-03 19:44:47 -08:00
  • 54e5136b50 Refactored Xbox One Bluetooth protocol and verified Xbox One S, Xbox Series X, and Xbox One Elite Series 2 controllers Sam Lantinga 2020-12-03 18:17:04 -08:00
  • 1031231b29 Fixed duplicating a device between XInput and HIDAPI Sam Lantinga 2020-12-03 18:17:03 -08:00
  • 59f28b7f4b Fixed whitespace Sam Lantinga 2020-12-03 18:17:01 -08:00
  • f487d63a6b Fixed crash when printing NULL wide character string Sam Lantinga 2020-12-03 18:16:56 -08:00
  • 754286c61c SDL Renderer: specify the correct flag when recreating the window Sylvain Becker 2020-12-02 13:45:24 +01:00
  • 035f8f2391 SDL_RecreateWindow: allow clearing VULKAN when recreating the window Sylvain Becker 2020-12-02 13:37:59 +01:00
  • 93fbab0fac SDL_ReCreateWindow: allow to unload METAL window and switch back to OpenGL. Sylvain Becker 2020-12-02 11:04:53 +01:00
  • 9d40a0f317 Fix joystick device add events containing invalid device indexes Cameron Gutman 2020-08-29 16:50:26 -07:00
  • 7854f43b6d Disable SDL_JOYSTICK_HIDAPI on iOS and tvOS by default Sam Lantinga 2020-12-01 14:43:15 -08:00
  • ebf315e0f2 Fixed bug 5369 - iOS static library build copies public headers files into xcode archive Sam Lantinga 2020-12-01 14:01:12 -08:00
  • 4b35a18d8b Fixed bug 5366 - cmake build doesn't detect Metal on macOS Sam Lantinga 2020-12-01 13:50:42 -08:00
  • 798b228806 Fixed bug 5367 - SDL_OpenUrl disabled on iOS due to unified Xcode project file Sam Lantinga 2020-12-01 13:46:34 -08:00
  • c78ca2d170 Fixed bug 5371 - Rawinput: Fix truncating cast of string length. Sam Lantinga 2020-12-01 13:38:42 -08:00
  • a3ccf9adca Fixed bug 5373 - [PATCH] Rawinput: Get correlated XInput battery info Sam Lantinga 2020-12-01 13:36:41 -08:00
  • e3966e25ca Use the correct internal API for updating the battery level for PS5 controllers Sam Lantinga 2020-11-30 13:04:30 -08:00
  • f4ed07de06 We don't know whether the PS5 controller is Bluetooth or not when we open it Sam Lantinga 2020-11-30 13:02:34 -08:00
  • 04f0fd13b5 Remember to close the game controller when we're done with it Sam Lantinga 2020-11-27 18:57:42 -08:00
  • 1f2f536bd2 Fixed XInput correlation for raw input controllers after hotplug events Sam Lantinga 2020-11-27 18:57:40 -08:00
  • 012471e959 Open and test all connected controllers Sam Lantinga 2020-11-27 18:57:38 -08:00
  • 1c865c460b Load the raw input device list at init time so it's available when DirectInput is doing device detection Sam Lantinga 2020-11-27 18:57:36 -08:00
  • a0c5bfa3bd Moved raw input event processing from the main thread to the joystick thread Sam Lantinga 2020-11-27 13:08:40 -08:00
  • 4fbefbe20d Sort the raw input axes by usage, so X comes before Y, etc. Sam Lantinga 2020-11-27 11:33:53 -08:00
  • 4ddac485db Backed out minor optimization that prevented correlation_id from being set Sam Lantinga 2020-11-27 11:33:51 -08:00
  • 8973a25849 Enable dispatching of WM_INPUT_DEVICE_CHANGE events directly, in case the application hasn't created a window with the normal message loop Sam Lantinga 2020-11-27 10:44:56 -08:00
  • e8adc64810 Enable dispatching of WM_INPUT events directly, in case the application hasn't created a window with the normal message loop Sam Lantinga 2020-11-27 10:44:55 -08:00
  • 0252235e82 Recheck devices if another API queries raw input for a new device Sam Lantinga 2020-11-27 10:44:53 -08:00
  • a7dede7e36 Re-enable axis correlation for raw input controllers, for twin stick shooters that don't need face buttons Sam Lantinga 2020-11-27 10:44:51 -08:00
  • ce77966da8 Fixed RAWINPUT_IsDevicePresent() not returning TRUE for Xbox One controllers Sam Lantinga 2020-11-27 10:44:49 -08:00
  • 8a449de20d Fixed Xbox 360 wireless controller being picked up by WGI when it's being managed by RAWINPUT Sam Lantinga 2020-11-27 10:44:47 -08:00
  • 37c9e4afa3 Fixed processing WM_INPUT_DEVICE_CHANGE at startup Sam Lantinga 2020-11-27 06:03:15 -08:00
  • 248fc75bd2 Correlate just based on buttons, joystick axes are not as precise and could potentially cause incorrect uncorrelation. Sam Lantinga 2020-11-27 05:53:56 -08:00
  • e7e615de26 Removed extraneous windows message pumping Sam Lantinga 2020-11-27 05:53:54 -08:00
  • 2931eccd84 Fixed detecting Bluetooth raw input devices, which have device names longer than 128 characters Sam Lantinga 2020-11-27 05:53:52 -08:00
  • 849ce80376 Renamed SDL_JOYSTICK_RAWINPUT_GAMING_INPUT to SDL_JOYSTICK_RAWINPUT_WGI Sam Lantinga 2020-11-27 05:53:50 -08:00
  • 219a28dd8a Fixed D-pad uncorrelating raw input controllers (thanks Jimbly!) Sam Lantinga 2020-11-27 03:45:05 -08:00
  • 2c079a2f6c SDL_FillRects: prevent empty SDL_surface from raising an error message Sylvain Becker 2020-11-27 09:42:14 +01:00
  • 3fbff2a45b SDL_rawinputjoystick.c: fix ambiguous 'else' warning Ozkan Sezer 2020-11-26 10:47:33 +03:00
  • 845b903324 Implemented trigger rumble for raw input controllers Sam Lantinga 2020-11-25 16:46:42 -08:00
  • 517be80822 Implemented battery status for Bluetooth Xbox One controllers Sam Lantinga 2020-11-25 16:05:19 -08:00
  • 24cc0012f0 Some controllers don't always reset their triggers to zero when they are released (e.g. Xbox One S in Bluetooth mode), so only trigger rumble if the trigger is pulled halfway or more. Sam Lantinga 2020-11-25 16:05:15 -08:00
  • 6a7f29cdbb Fixed compiling on tvOS Sam Lantinga 2020-11-25 11:31:17 -08:00
  • 9ec2cf5629 Fixed building with Windows.Gaming.Input enabled Sam Lantinga 2020-11-25 10:31:59 -08:00
  • 3c07dd12f0 Strip an extra '.' off of the HORI manufacturer name Sam Lantinga 2020-11-25 10:28:48 -08:00
  • e5783e1179 cmake: add missing checks for wcscasecmp, _wcsicmp, wcsncasecmp, _wcsnicmp Ozkan Sezer 2020-11-25 14:51:56 +03:00
  • 7c18088f00 SDL_config_os2.h: define HAVE__WCSICMP and HAVE__WCSNICMP Ozkan Sezer 2020-11-25 14:51:56 +03:00
  • 159d1b3df5 Don't set the serial number after the controller is opened Sam Lantinga 2020-11-25 01:35:45 -08:00
  • 7d92b14f46 Simplified Xbox One controller initialization state, and don't query for the serial number. Sam Lantinga 2020-11-25 01:18:18 -08:00
  • 9fc4a4c92c Revamped Xbox One HIDAPI init sequence Sam Lantinga 2020-11-24 22:25:26 -08:00
  • e16afa792f Automatically switch to testing a new controller when it's plugged in Sam Lantinga 2020-11-24 16:38:49 -08:00
  • 46a844786b Added SDL_wcscasecmp() and SDL_wcsncasecmp() Sam Lantinga 2020-11-24 12:43:01 -08:00
  • e4b7d9a221 Removed usage of TARGET_OS_OSX for building with older SDKs Sam Lantinga 2020-11-24 07:56:59 -08:00
  • a7d91ebaa5 winrt: Add EffectiveLocation support for newer Win10 releases Ethan Lee 2020-11-09 17:05:21 -05:00
  • 16d789fba9 Disable compiler warning when using -fobjc-weak building C code Sam Lantinga 2020-11-24 07:30:39 -08:00
  • a5cde4cb0c Fixed trying to use @available() on older SDK Sam Lantinga 2020-11-24 07:29:55 -08:00
  • b4338dda47 Enable -fobjc-weak when building MFI controller code Sam Lantinga 2020-11-24 07:22:29 -08:00
  • 97782e6c64 Don't try to call IOS_SupportedHIDDevice() if it's not defined Sam Lantinga 2020-11-24 07:11:49 -08:00
  • a063b9fbfb Fixed compiler warning Sam Lantinga 2020-11-24 07:06:31 -08:00
  • c63bbb06e9 Including SDL_config_iphoneos.h enables MFI controller code Sam Lantinga 2020-11-24 06:55:33 -08:00
  • eba069eaf0 It looks like the Objective C support needed to build MFI controller code is in 10.8 Sam Lantinga 2020-11-24 06:53:48 -08:00
  • 23ad4f4b8c configure.ac: check GameController framework support when targeting Darwin Ozkan Sezer 2020-11-24 14:10:30 +03:00
  • 711d409032 CMakeLists.txt: add src/joystick/iphoneos/*.m to Darwin joystick sources Ozkan Sezer 2020-11-24 14:10:30 +03:00
  • 7a05dbf4b9 Fixed building on FreeBSD Sam Lantinga 2020-11-24 06:42:53 -08:00
  • feab9d42c1 5363 - Memory leak of joystick->sensors in SDL_JoystickClose Sam Lantinga 2020-11-24 06:40:13 -08:00
  • 34bea84a54 Fixed bug 5335 - Patch: enable joystick/haptic/evdev support by default on FreeBSD Sam Lantinga 2020-11-23 23:03:55 -08:00
  • 1e943e2ad2 Fixed building with an older SDK and macOS target Sam Lantinga 2020-11-23 22:59:22 -08:00
  • 1fc5ca6484 Fixed building with an older SDK and macOS target Sam Lantinga 2020-11-23 22:24:54 -08:00
  • 4121ab6200 Fixed bug 5354 - DirectFB: Add Vulkan support Sam Lantinga 2020-11-23 21:25:07 -08:00
  • e44bf8a080 Fixed bug 5359 - Incorrect sensor data from DualShock4 Sam Lantinga 2020-11-23 21:18:37 -08:00
  • c8c818d7a4 Fixed bug 5360 - non-libudev joystick detection doesn't see controllers that were already connected Sam Lantinga 2020-11-23 21:14:37 -08:00