src


Log

Author Commit Date CI Message
Sam Lantinga c0fb0924 2023-02-28T08:36:31 Fixed locking up the Logitech F310 with the PlayStation controller detection (cherry picked from commit da134a30396e12786c14fe8d1190ab05c67d9dba)
Sam Lantinga 715749f5 2023-02-27T15:19:34 Added mapping for DualSense Edge Wireless Controller on Linux This is a mapping when using evdev, not the more advanced HIDAPI support. (cherry picked from commit 206fa4dafb633ed074b930cbb3440a9925c532f2)
David Carlier 0c7346ec 2023-02-26T09:42:04 USE_DEV_RANDOM close the file descriptor even in the rare case it can't read it
Torge Matthies 711a458b 2023-02-16T19:11:43 x11: Fix duplicate Xinput2 event reception Passing True for owner_events in the XGrabPointer call makes all XI_RawMotion events appear in the queue twice, with the only difference between them being the value of XGenericEventCookie::cookie. These have always been filtered out by a check in the XI_RawMotion handler, however with a mouse that polls at more than 1 kHz frequency, there also exist legitimate events that appear indistinguishable from these duplicated events. These must not be filtered out, otherwise the pointer may move at an inconsistent speed, appearing like a bad pointer acceleration implementation. Change owner_events to False in the XGrabPointer and remove the duplicate event detection code to fix this. Signed-off-by: Torge Matthies <openglfreak@googlemail.com> (cherry picked from commit f18b5656f6f859e4d4e096d290afd9fae884a5b8)
Sam Lantinga ad09976e 2023-02-24T09:20:38 Fixed relative mouse motion over remote desktop Setting the cursor clip area to a single pixel prevents the relative mouse motion remote desktop warping from working, so the mouse is never recentered. (cherry picked from commit daffe02b117ccd484763eadc716e4d4453c89868)
Sam Lantinga 3bf9c70a 2023-02-23T12:24:15 Changed the VID/PID used for the Backbone One controller on iOS (cherry picked from commit 516e48515e32f74aa98a3df4cbdb23b9c477f2f0)
Sam Lantinga ea710308 2023-02-23T11:57:48 Added support for the Backbone One PlayStation Edition (cherry picked from commit 59bf1c2853d5b06295c939099f6cf5f1611f70b5)
Sam Lantinga a3a45f67 2023-02-23T09:14:53 Fixed view frame from flipping back and forth between landscape and portrait on iOS (cherry picked from commit b2d913883c39e0a53e55eb9286d7e442d565554e)
Ozkan Sezer 5a7ea76e 2023-02-22T10:30:56 fix MSVC build failures in CI after commit 1e5e8e2f (cherry picked from commit a2f8cf8fc0c6f4fe8a904284060f61f19f129efa)
Ryan C. Gordon 9403c9e9 2023-02-21T12:56:02 resampler: Work at double precision on x86-64 machines. We get audio artifacts if we don't work at the higher precision, but this is painful on CPUs that have to use a software fallback for this, so for now (that is, until we have a better solution), get better output on amd64 chips, where the cost is less painful. (cherry picked from commit 1e5e8e2fda3796e76e6f7b1c39683925a3e9fed9)
Sam Lantinga 13969f85 2023-02-21T15:31:32 De-duplicate Google Stadia controllers on macOS (cherry picked from commit 87a83787a3a0a9922b02b35ba809d9da86930fc8)
Sam Lantinga 9be85b84 2023-02-21T15:05:57 Rumbling the Google Stadia Controller over Bluetooth works on Linux and macOS (cherry picked from commit 4aeec9d8c2ad2fa0465999ecb4fd5c20734f1b27)
Sam Lantinga 35c9b104 2023-02-21T12:47:33 Fixed the packet size for Xbox One controllers (cherry picked from commit 021a7cfa13c20d518ebfb6e96c3305150256983b)
Sam Lantinga 31a57c05 2023-02-10T16:46:21 Fixed the share button on the ThrustMaster eSwap PRO Controller Xbox (cherry picked from commit e4face7c1d41698067b9afdd8c7f0a8f76774da2)
Sam Lantinga 3dff5d3c 2023-02-06T20:14:12 Added support for the Turtle Beach REACT-R and Recon Xbox controllers (cherry picked from commit 5fded632d6fa532ac25e76ad9a676c9ea726dd02)
Sam Lantinga 4c9a79dd 2023-02-20T18:24:52 Removed duplicated conditional (cherry picked from commit 1a15d506a69d5d73a53728c569ef84a69db51833)
Sam Lantinga 7c4f5e1d 2023-02-20T17:14:18 Fixed rumble caps for the Nintendo Joy-Con controllers (cherry picked from commit 02cea5fca107991774792c431efc96319ef2d060)
Sam Lantinga abe8dbbf 2023-02-20T15:14:20 Added support for the Razer Wolverine V2 controllers (cherry picked from commit 4994654d4f2d5c96a0faa972ebbb6c653f939d56)
Sam Lantinga 0efb31ef 2023-02-20T10:40:54 cocoa/gles: do not unload EGL when context is destroyed (cherry picked from commit e8091b89830c3b9bb19eff76463a6e2525f05fa5)
Marc-André Lureau eb22fbc8 2023-02-16T18:47:36 windows/gles: do not unload EGL when context is destroyed It's legitimate to have multiple contexts. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> (cherry picked from commit 93861e1de00a76080fa6ed756a6bd9c764b3ec07)
Marc-André Lureau 479bc2d5 2023-02-16T18:47:16 windows/gles: correct indentation Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> (cherry picked from commit 654965a6286ccb3ef861310d0cff578788641091)
Sam Lantinga 7b060072 2023-02-19T09:57:35 Fixed typo (thanks @Iniquitatis!) (cherry picked from commit ced02319a6bd001c1c2ce85a48887efe3a7b79d8)
Lauri Kasanen 7d55ccb8 2023-02-19T16:04:47 Fix GetGlobalMouseState when xi2 is not available at runtime (cherry picked from commit 0123d6311d5c0059d617324426ef7eef8d577d9b)
Le Philousophe 74e8a645 2023-02-18T18:21:09 Fix window size in X11 when window manager refuses to resize (cherry picked from commit a67ae8eed57f4545c739e6eb3a4b8c1169d3afbc)
Sam Lantinga f741adc8 2023-02-17T11:29:27 Added other names for the DragonRise Inc. Wired Wheel (thanks @felimwhiteley!) (cherry picked from commit eede2066fbcc342e96592fbbbfe94b2420feb524)
Sam Lantinga e86f4943 2023-02-16T09:50:04 Hold the joystick lock while opening the HID device on non-Android platforms On Windows the main thread can be enumerating DirectInput devices while the Windows.Gaming.Input thread is calling back with a new controller available, and in this case HIDAPI_IsDevicePresent() returned false since the controller initialization hadn't completed yet, creating a duplicate controller. Fixes https://github.com/libsdl-org/SDL/issues/7304 (cherry picked from commit ece8a7bb8e2dae9cb53115980cea9ef1213a0160)
Sylvain d948e6c3 2023-02-15T22:38:57 Fix potential de-referencing null pointer in SDL_EVDEV_kbd_keycode()
Sam Lantinga e7376b7b 2023-02-15T13:53:57 Fixed Steam Runtime sandbox detection Fixes hotplug issues on Steam Deck for Proton and native games (cherry picked from commit bcd97b36d23d08226e98a995eafd3d6aa35401b4)
Sam Lantinga 69b2baec 2023-02-14T18:02:12 Map the Android MENU button back to the SDL MENU key Thanks to @AntTheAlchemist for the investigation! Fixes https://github.com/libsdl-org/SDL/issues/7318 (cherry picked from commit beb6a2afdc74a00f07ec230297c2675920a7bf79)
Sam Lantinga 2c699577 2023-02-14T17:51:16 Fixed handling simple mode PS4 reports Fixes https://github.com/libsdl-org/SDL/issues/7270 (cherry picked from commit 5925cd4ef377a2211fd057ef6fa9f41141999cb7)
Sylvain 45e5f0f1 2023-02-13T09:40:44 Fixed bug #7302 - Memory 'leak' in SDL_SetMouseSystemScale()
Francisco Javier Trujillo Mata 2b66ef0d 2023-02-11T21:10:26 Fixed audio
Ozkan Sezer da6bce4f 2023-02-11T23:51:28 SDL_x11dyn.h: include XInput2.h also for Xfixes Fixes https://github.com/libsdl-org/SDL/issues/7343
Sam Lantinga 7285f0d4 2023-02-10T17:18:02 Sorted controller list (cherry picked from commit 68e2f230662a0b3f2ce7c0085f781f1652901af3)
Alfredo Escobar ca3468cb 2023-01-30T16:08:52 Add Hori Pokken Tournament DX Pro Pad (cherry picked from commit 76552e4780a57f24ec1cd77fb942b7cabe1219d8)
Bruce Mitchener 7d2012af 2023-02-10T13:51:16 emscripten: Update deprecated calls to EM_ASM*. `EM_ASM_` and `EM_ASM_INT_V` are calls that have been deprecated for a long time. Since the return value isn't used for the call to `EM_ASM_`, it can be replaced with `EM_ASM`. `EM_ASM_INT_V` is now (for the last few years) `EM_ASM_INT`. (cherry picked from commit a8e89f2567b9069c919f9b21996e0a46cd4bb679)
Sylvain 17515f4a 2023-02-04T15:51:37 Backport simplify flags PR #7220
Sam Lantinga f71178a1 2023-02-09T12:05:46 Fixed MFI controller being opened while HIDAPI controller was being opened This was the callstack: frame #3: 0x00000001004e1930 libSDL3.1.0.0.dylib`IOS_AddJoystickDevice(controller=0x0000600003b0c000, accelerometer=SDL_FALSE) at SDL_mfijoystick.m:528:14 frame #4: 0x00000001004e1a54 libSDL3.1.0.0.dylib`__IOS_JoystickInit_block_invoke(.block_descriptor=0x0000000100547760, note=@"GCControllerDidConnectNotification") at SDL_mfijoystick.m:673:45 frame #5: 0x000000018601e578 CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 128 frame #6: 0x00000001860bc074 CoreFoundation`___CFXRegistrationPost_block_invoke + 88 frame #7: 0x00000001860bbfbc CoreFoundation`_CFXRegistrationPost + 440 frame #8: 0x0000000185fefbac CoreFoundation`_CFXNotificationPost + 708 frame #9: 0x0000000186edc72c Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88 frame #10: 0x000000019b054a18 GameController`__60-[_GCControllerManagerAppClient _onqueue_publishController:]_block_invoke + 156 frame #11: 0x0000000185dc19dc libdispatch.dylib`_dispatch_call_block_and_release + 32 frame #12: 0x0000000185dc3504 libdispatch.dylib`_dispatch_client_callout + 20 frame #13: 0x0000000185dd1d1c libdispatch.dylib`_dispatch_main_queue_drain + 928 frame #14: 0x0000000185dd196c libdispatch.dylib`_dispatch_main_queue_callback_4CF + 44 frame #15: 0x000000018606ad6c CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 frame #16: 0x00000001860287ec CoreFoundation`__CFRunLoopRun + 2036 frame #17: 0x00000001860278a4 CoreFoundation`CFRunLoopRunSpecific + 612 frame #18: 0x00000001003b1194 libSDL3.1.0.0.dylib`process_pending_events at hid.c:509:9 frame #19: 0x00000001003aebe8 libSDL3.1.0.0.dylib`PLATFORM_hid_open_path(path="USB_054c_05c4_0x11a104290", bExclusive=0) at hid.c:823:2 frame #20: 0x00000001003b051c libSDL3.1.0.0.dylib`SDL_hid_open_path_REAL(path="USB_054c_05c4_0x11a104290", bExclusive=0) at SDL_hidapi.c:1419:19 frame #21: 0x00000001004dabdc libSDL3.1.0.0.dylib`HIDAPI_SetupDeviceDriver(device=0x0000600003518000, removed=0x000000016fdfee3c) at SDL_hidapijoystick.c:399:19 frame #22: 0x00000001004da890 libSDL3.1.0.0.dylib`HIDAPI_AddDevice(info=0x000060000212c2d0, num_children=0, children=0x0000000000000000) at SDL_hidapijoystick.c:843:5 frame #23: 0x00000001004d9148 libSDL3.1.0.0.dylib`HIDAPI_UpdateDeviceList at SDL_hidapijoystick.c:1000:21 frame #24: 0x00000001004d9940 libSDL3.1.0.0.dylib`HIDAPI_JoystickDetect at SDL_hidapijoystick.c:1205:13 frame #25: 0x00000001003bc6d8 libSDL3.1.0.0.dylib`SDL_UpdateJoysticks_REAL at SDL_joystick.c:1703:9 frame #26: 0x00000001003a13a8 libSDL3.1.0.0.dylib`SDL_PumpEventsInternal(push_sentinel=SDL_FALSE) at SDL_events.c:855:9 frame #27: 0x00000001003a1340 libSDL3.1.0.0.dylib`SDL_PumpEvents_REAL at SDL_events.c:879:5 frame #28: 0x000000010038b380 libSDL3.1.0.0.dylib`SDL_PumpEvents at SDL_dynapi_procs.h:572:1 frame #29: 0x0000000100004524 testgamepad`loop + 40 frame #30: 0x00000001000063d8 testgamepad`main + 2140 (cherry picked from commit a9650d440a862b86dc5722a402b06bf2bbbec527)
Sam Lantinga d77eb8a8 2023-02-08T14:22:39 Make sure we synchronously re-enable USB reporting mode for Switch controllers (thanks @SortaCore!) Fixes https://github.com/libsdl-org/SDL/issues/3450 (cherry picked from commit b7c6fec10a152e47f8fa18350134188b75e9df0b)
Sam Lantinga 3fb9118c 2023-02-08T14:16:24 Note the Google Stadia controller doesn't support rumble over Bluetooth (cherry picked from commit 50575ed2233b9924198e10c9a261c10323d9089e)
Sam Lantinga 71fb4e3d 2023-02-08T14:16:21 Fixed mis-detecting the share button on the Xbox controller over NDIS (cherry picked from commit 00e02de77b615d5faf94af709760fd0f2e749a39)
Sam Lantinga 2518e32d 2023-02-08T14:16:17 Dynamically update the serial number if it isn't available at first This happens for Xbox One controllers using newer firmware connected over NDIS (cherry picked from commit d1c72bb0bc54fba41ba89930a3ed98f8767be724)
Sam Lantinga e8938fc6 2023-01-20T09:31:22 Enable paddles on the Xbox Elite controller when connected over USB (cherry picked from commit c4db0725e4cf5eb6ec5239e6f03346958e88b9cf)
Ozkan Sezer fde63236 2023-02-07T01:11:02 fix build after the Logitech ChillStream patch.
Sam Lantinga 71546059 2023-02-06T13:28:00 Added support for the Logitech ChillStream (cherry picked from commit 6f7edaf8920c504ebd3e797bd04ec1d2e46c4aa9)
Ozkan Sezer 7bf3e28d 2023-02-07T00:21:40 windows/SDL_systhread.c: remove some dead code.
Sam Lantinga 3fa5a2f7 2023-02-06T11:22:00 Fixed warning running a command queue without any vertex operations (cherry picked from commit f8b41919dac0fb95553f910d02faafc6d7205692)
Sean Ridenour af5efadd 2023-02-04T10:29:59 Setting the same mouse cursor twice is a no-op This fixes extremely poor event polling performance on MacOS when using Dear ImGui, which sets the mouse cursor every frame.
Sam Lantinga 5b5a72e3 2023-02-05T08:43:26 Sorted controller list (cherry picked from commit 1c03ddefc320ec9969d5f81c2c3cb988d94a8b4c)
Antonis Geralis 58fa43e7 2023-02-05T10:35:53 Added Elecom 8button gamepad (cherry picked from commit 52cd9fcbb074771804f443e7a9b2e9436485fe83)
Leonardo Brondani Schenkel 4266cf85 2023-01-04T13:46:01 Add Linux mapping for 8BitDo Pro 2 Wired Controller for Xbox Without these mappings, this controller "kinda" works out of the box: - `SDL_GameControllerMapping()` works because it will notice "Xbox" in the name and use the default XInput mappings - `SDL_GameControllerMappingForGUID()` will not find any mapping lsusb: ``` ID 2dc8:2000 8BitDo 8BitDo Pro 2 Wired Controller for Xbox ``` In Linux this controller is supported by two drivers: - `xpad` (built-in to the kernel), exposes the controller name from the USB descriptor and the GUID starts with 03 (0x03 = BUS_USB) - `xone` (https://github.com/medusalix/xone), exposes a virtual controller which is always named "Microsoft X-Box One pad" and the GUID starts with 06 (0x06 = BUS_VIRTUAL) This commit adds the 2 GUIDs from both drivers so mappings will always be found and the real controller name will always be reported.
Alynne 92779a5b 2023-01-30T01:46:03 Adds Stadia BT mapping (cherry picked from commit 4dea13e02fbfd2ac9eeb0a5cbb35cf5d1d53f549)
Ozkan Sezer 06b305d2 2023-02-03T17:40:40 dynapi: cast GetProcAddress() result to void*
Sam Lantinga c4a493de 2023-02-02T08:39:54 Don't accept official mappings for controllers that aren't unique For example, the DragonRise Inc. Generic USB Joystick See https://github.com/gabomdq/SDL_GameControllerDB/issues/202 for details (cherry picked from commit 673bc5764942e3f645f1ff7d64f3d6a2059e3cdb)
Sam Lantinga 4a87abc9 2023-02-02T08:38:22 Fixed sort_controllers.py and resorted game controller database (cherry picked from commit 917607c335a87edcb3870b8504247609bea3c04d)
Sam Lantinga 2290d713 2023-02-01T23:09:53 Added gamepad mappings for the Xin-Mo Dual Arcade Fightstick (cherry picked from commit d29e1f363239b45aedf5f81683fbb6cf52029bc2)
Sasha Szpakowski 17ecb11e 2023-02-01T18:56:33 macOS: fix initial Metal drawable size in certain multi-display setups (cherry picked from commit baca26d72701655157c2a1ab678c2d5af0830d53)
Ryan C. Gordon 7ac43cfb 2023-01-29T11:43:59 Note that version.rc is public domain. This avoids potential concerns that customizing would qualify a build of SDL as an "altered source version" under the zlib license.
Matt Durgavich dfc56cfc 2023-01-05T11:54:27 Fix For issue #6948 (#6991) MessageBoxes attached to a window in macOS should use modal APIs and not use a poll/sleep pattern on the main thread. Sleeping the main thread makes the NSWindow message loop sluggish and interferes with external applications that need to send messages to that window, such as VoiceOver.
Anonymous Maarten 33ec2a5e 2023-01-23T20:41:23 vita: fix reformatting error in SDL_vtagl_pvr.c
ds-sloth 038ccd76 2023-01-22T17:16:13 Support MIN/MAX blend on opengles2
ds-sloth 9670f233 2023-01-22T12:27:52 Support MIN/MAX blend on OpenGL + ES
Frank Praznik ea179abd 2023-01-16T13:39:26 wayland: Enforce or override libdecor minimum window size libdecor plugins can change the min/max window size values internally to enforce a minimum window size, and errors and crashes can result if the window size is below the internal limit. On versions of libdecor >= 0.1.1, the minimum width and height can be queried and the minimum required window size will be enforced. The application requested window size is still respected, however, the actual window may be slightly larger than the drawable area to accommodate the required libdecor minimum size. On version 0.1.0 of libdecor, which lacks the function to retrieve the minimum size, the internal limits are overridden before committing a frame, so that the internal limits always match the window size as a workaround, even if the window is technically smaller than the plugin would normally allow. (cherry picked from commit 423a82cd4b65cf72668551093bfdf58d49bce9ce)
raphasamp eabd88ed 2023-01-22T08:09:24 Update SDL_vitagles_pvr.c This was broken unintentionally during #6545.(cherry picked from commit 9211c0b639ad32865efa4980d07fc24f3f4a1577)
PARTY MAN X a44b6461 2023-01-21T19:37:22 Blacklist Konami Amusement Controllers From HIDAPI. Fixes issue #7118 by adding all Konami Amusement controllers to the blacklist. Additionally, the blacklist is changed to exclude a whole vendor when the PID 0x0000 is used.
Guldoman 7b8f0ba8 2023-01-19T21:12:51 wayland: Set `APPLICATION` scancode name to `Menu` This mimics the behavior of the other platforms. (cherry picked from commit 6c06f5ce93c55fe0f5779d5aeb68bec1bd935455)
Fabian Greffrath 8efa1f8f 2023-01-16T15:17:26 add support for libsamplerate's "linear" resampling mode Fixes #6998
Sylvain 5d1e6b28 2023-01-16T10:28:16 SDL_test_harness: fix memory leak when generated seed
Sylvain c638b4a6 2023-01-16T09:21:24 SDL_CreateAudioStream: check for invalid parameters
Francisco Javier Trujillo Mata 381312a0 2023-01-13T16:37:54 Use filesystem drivers
Frank Praznik f836b465 2023-01-12T20:44:16 Revert "wayland: Don't try to restore non-resizable windows" This reverts commit e35c3872dc6a8f7741baba8b786b202cef7503ac. (cherry picked from commit 180afcdf3998e5175b744d3f2d87147802809450)
Frank Praznik a47a0451 2023-01-12T16:32:04 wayland: Don't try to restore non-resizable windows Libdecor can crash if attempting to un-maximize a window that was not set as resizable. (cherry picked from commit e35c3872dc6a8f7741baba8b786b202cef7503ac)
Frank Praznik e8ae1555 2023-01-12T15:36:35 wayland: Perform a round trip when maximizing and restoring windows Perform a round trip when maximizing and restoring windows so the changes have already taken effect when the associated functions return. (cherry picked from commit 50f2eb7d41fbba7c82630e55ead4ecf9c32f4c69)
happyharryh 2cb42236 2023-01-10T20:36:13 Fixed the hat_map to avoid segmentation fault (cherry picked from commit 57e78f4cf53b0fc84900a047120263c3c71e721c)
Narr the Reg fa934dd4 2023-01-09T17:42:17 hidapi: switch: Add user calibration support (cherry picked from commit 9fa55d9cabc93532cd5cf44105ec589a4db1d097)
Ozkan Sezer 6a520177 2023-01-12T14:01:02 SDL_dynapi.c: add extern "C" guards, just in case..
Francisco Javier Trujillo Mata 32fd45cf 2023-01-11T23:26:22 Using UV instead of STQ
Francisco Javier Trujillo Mata c5a09ca7 2023-01-10T23:12:25 Remove dummy flag
Sam Lantinga 0479df53 2023-01-09T09:48:21 Updated copyright for 2023
Sam Lantinga ebc2fb41 2023-01-08T09:32:31 Fixed infinite loop shutting down WGI controllers We are guaranteed that the lock will be held during shutdown, so if we are in InvokeRemoved(), it's because we're shutting down controllers and need to remove them from our internal list. Fixes https://github.com/libsdl-org/SDL/issues/7016 (cherry picked from commit ac99db9fc8d528a79abb98a5641e0fd94aa20a9e)
Guldoman ad0d1e2a 2023-01-04T18:47:16 wayland: Fallback to default cursor if chosen one wasn't found (cherry picked from commit 5a4283134542d4bdb3d968a836387a750ce80517)
Sylvain 7bf4319e 2023-01-06T21:24:24 fix computation of alpha in BlitRGBtoRGBPixelAlphaMMX3DNOW (see #6990) ( same as BlitRGBtoRGBPixelAlphaMMX )
Sylvain 0ebda874 2023-01-06T13:27:53 Fixed bug #6990: fix computation of alpha in BlitRGBtoRGBPixelAlphaMMX
Sam Lantinga 988866ca 2023-01-03T15:12:47 Fixed line wrapping for HID packet dump (cherry picked from commit e85839cd5694a79f69ac16f48a5d845cdc62f809)
Sam Lantinga 2cb7a0a0 2023-01-03T15:12:18 Added support for the ThrustMaster eSwap PRO Controller Xbox (cherry picked from commit dacdb1c310d97ca3c3e6492cae0611f86b281b34)
Sylvain 0a9f61fb 2023-01-03T16:35:51 Wayland / Drag and Drop: find the current window
Ozkan Sezer c7f22f03 2023-01-02T20:51:56 render/SDL_yuv_sw.c: fix build after commit d234f7a
Sylvain Becker d234f7a4 2023-01-02T18:09:57 SDL2: backport SDL_CalculateYUVSize() that checks for YUV size overflow (#6972)
Ozkan Sezer 5b904a10 2022-12-31T08:00:00 windows: more HANDLE -> HMODULE changes.
Ozkan Sezer 0a8f9777 2022-12-30T11:11:10 SDL_dynapi.c: LoadLibraryA() returns HMODULE.
Sam Lantinga 74229d4a 2022-12-29T14:52:28 Fixed keyboard scancode mapping for parenthesis (thanks to @meyraud705 for tracking down the root cause!) Fixes https://github.com/libsdl-org/SDL/issues/6787 Closes https://github.com/libsdl-org/SDL/pull/6937 (cherry picked from commit e1bd5bd071d066e7009261f96c896423f6fd8fd0)
Sam Lantinga 29a4c5eb 2022-12-28T12:51:36 Fixed getting the VID/PID of a virtual joystick (cherry picked from commit e40a96155fc488feaeeeb79f947eb43399faa481)
Sam Lantinga 903df79b 2022-12-27T12:14:43 Make sure we match the same way when adding a mapping and looking up a mapping Fixes https://github.com/libsdl-org/SDL/issues/6898 (cherry picked from commit 3db9112ef4cbb936b11f941f8a98c1704e37e140)
Sam Lantinga 3dbc6a40 2022-12-26T10:24:25 render: only enable clipping when the rectangle is valid Fixes https://github.com/libsdl-org/SDL/issues/6896 (cherry picked from commit 00f05dcf49602889733262fc810386592ff51736)
João Henrique af54c821 2022-12-23T09:52:45 kmsdrm: Fix wrong check on KMSDRM_CreateWindow. A previous cleanup commit inverted a statement that checked the return value of a KMSDRM_CreateSurfaces call during KMSDRM_CreateWindow, which causes the video backend to always fail despite success. This commit restores the intended behavior. Fixes: 3c501b963dd8 ("Clang-Tidy fixes (#6725)"). (cherry picked from commit 0187209f461b84d22fc49a03369506e06448f47f)
Rudolf-Walter Kiss-Szakacs 232ed540 2022-12-02T07:22:31 Add SDL_HINT_WINDOWS_ENABLE_MENU_MNEMONICS.
Caleb Cornett c542aef6 2022-12-20T23:22:55 Fix GDK OpenGL build error
Caleb Cornett abffa119 2022-12-20T23:05:31 Fix dynapi signature for SDL_GDKSuspendComplete
Caleb Cornett 3b3c141f 2022-12-19T17:38:44 gdk: Add support for building with OpenGL on Xbox
Sam Lantinga 6969b3be 2022-12-19T09:14:04 Don't send Razer devices the Sony third-party query feature report Some of them lock up or reset, and the vast majority of devices are not actually game controllers. Fixes https://github.com/libsdl-org/SDL/issues/6733 (cherry picked from commit 83b29f9ce1fe6caa06769544c3b5f6c10ea97a0f)