Commit Graph

  • c8ee06911b Added SDL_misc.h to the Xcode built frameworks Sam Lantinga 2020-12-13 00:15:54 -08:00
  • ce7c751c2c Document that the joystick deadzone hint defaults off Sam Lantinga 2020-12-12 23:54:40 -08:00
  • db0a2025c3 Fixed bug 5241 - SDL on Linux needs a way to turn deadzones off Sam Lantinga 2020-12-12 23:48:02 -08:00
  • 0ccb3afd37 Fixed polling values after SYN_DROPPED event Sam Lantinga 2020-12-12 22:33:11 -08:00
  • 9ee0e8886c Whoops, make the hint actually default to false Sam Lantinga 2020-12-12 22:11:00 -08:00
  • 13a4caf1d7 Fixed bug 4286 - Joystick subsystem causes "not responding" when app is in the background Sam Lantinga 2020-12-12 22:08:02 -08:00
  • bca9decbda fix bug #5394 - define _DARWIN_C_SOURCE only if not already defined Ozkan Sezer 2020-12-12 23:28:10 +03:00
  • 5c212cb0c5 remove a few stale NULL message/title checks after commit e2b729b1756a Ozkan Sezer 2020-12-10 12:24:24 +03:00
  • f1cab8aea6 fix bug #5253: handle NULL title or message fields in SDL_MessageBoxData Ozkan Sezer 2020-12-10 11:20:56 +03:00
  • eec73dfd20 configure.ac (CheckJoystickMFI): changed AC_TRY_COMPILE to AC_TRY_LINK Sam Lantinga 2020-12-09 20:31:00 -08:00
  • 797a6910fd Fixed bug 5375 - WGI: Fix HSTRING memory leak. Sam Lantinga 2020-12-09 20:28:51 -08:00
  • d3d2aee7f4 Fixed the name of the PS5 hint Sam Lantinga 2020-12-09 10:39:36 -08:00
  • a77a07152a Disabled raw input debug output Sam Lantinga 2020-12-09 07:50:15 -08:00
  • d46dd103d9 Fixed typo in Vulkan load logic Sam Lantinga 2020-12-09 07:49:07 -08:00
  • 45e3521d0d Backed out changes for 5366 - cmake build doesn't detect Metal on macOS Sam Lantinga 2020-12-09 07:32:10 -08:00
  • bd032c1f72 Fixed bug 5221 - libusb isn't detected correctly in CMake Sam Lantinga 2020-12-09 07:26:59 -08:00
  • 7fa5e95b62 Fixed bug 5213 - Add support to metal in iOS/tvOS simulator Sam Lantinga 2020-12-09 07:23:47 -08:00
  • cb36189692 Fixed bug 5235 - All internal sources should include SDL_assert.h Sam Lantinga 2020-12-09 07:16:22 -08:00
  • 479db43058 Fixed bug 5250 - updaterev.sh failed using CMake Tools on VSCode Remote Sam Lantinga 2020-12-09 06:56:34 -08:00
  • a69c61fbfd Only assign context and mainloop once we have connected successfully Alistair Leslie-Hughes 2020-08-14 12:08:58 +10:00
  • 88cb4962cd Fixed bug 5291 - SDL_SetRenderTarget unnecessarily changes target when current target is the native texture of the passed in texture Sam Lantinga 2020-12-09 06:42:31 -08:00
  • f2fff21762 Fixed bug 5374 - WGI: Use fast-pass strings. Sam Lantinga 2020-12-09 06:24:40 -08:00
  • 42c5b4acde Fixed bug 5366 - cmake build doesn't detect Metal on macOS Sam Lantinga 2020-12-09 06:17:55 -08:00
  • 475405e036 CMakeLists.txt: sync DYLIB_CURRENT_VERSION to Xcode project Ozkan Sezer 2020-12-09 12:03:24 +03:00
  • 250a055727 fix bug #5384 -- define DLL_EXPORT in DLL builds and adjust begin_code.h Ozkan Sezer 2020-12-09 12:01:10 +03:00
  • 50203d58b3 Fixed bug 5329 - SDL_SetWindowGrab(SDL_FALSE) fails to unlock cursor if window is partially offscreen Sam Lantinga 2020-12-08 22:00:06 -08:00
  • 3835f2008d Fix Nyko Airflo Ex Windows mapping, add Linux/Mac mappings Alice Rowan 2019-03-03 12:38:23 -07:00
  • 43aad96681 Fixed bug 5222 - Crash when running with -DHIDAPI=ON Sam Lantinga 2020-12-08 19:03:50 -08:00
  • a2098a47b6 Updated SDL to 2.0.14 in preparation for release candidate Sam Lantinga 2020-12-08 18:56:06 -08:00
  • 2a9591a9ea Accepted patch https://github.com/microsoft/vcpkg/blob/master/ports/sdl2/fix-space-in-path.patch Sam Lantinga 2020-12-08 09:16:34 -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