Sam Lantinga
f444eac557
Fixed analog triggers on the DualSense controller
...
(cherry picked from commit a67d410501 )
2023-04-04 12:35:20 -07:00
Sam Lantinga
c2ee45f5ff
The Xinmotek Controller is used in multiple products with different mappings
...
The mapping included here is for the Ultimate Atari Fight Stick
(cherry picked from commit f1099f8e70 )
2023-03-28 15:16:07 -07:00
Sam Lantinga
0bf63175ab
Fixed gyro values for the Armor-X Pro controller
...
(cherry picked from commit 8df7b4d853 )
2023-03-28 14:44:59 -07:00
Sam Lantinga
d043c8535b
Fixed the accelerometer and gyro axes for the Armor-X Pro controller
...
(cherry picked from commit 37517557ae )
2023-03-28 12:29:33 -07:00
Sam Lantinga
8bfbda1eab
Fixed the accelerometer sensitivity for the Armor-X Pro controller
...
(cherry picked from commit 8029a767ee )
2023-03-27 14:33:59 -07:00
Sam Lantinga
93c289b475
Increased precision for PS4 sensor data conversion
...
(cherry picked from commit 3340864786 )
2023-03-27 14:33:56 -07:00
Sam Lantinga
b57a6a1adf
Added gamepad mapping for Flydigi Vader 2 with the latest firmware (6.0.4.9)
...
(cherry picked from commit ed0937598e )
2023-03-18 11:36:50 -07:00
Sam Lantinga
57ae9f466d
Ignore the PS4 packet CRC if it's not being set correctly
...
This fixes handling the 8BitDo SN30 Pro with the 2.00 firmware in PS4 mode
Fixes https://github.com/libsdl-org/SDL/issues/7270
(cherry picked from commit 3951cae4a5 )
2023-03-13 20:00:19 -07:00
Sam Lantinga
ab1670386f
Added support for the trigger buttons on the Victrix Pro FS for PS5
...
(cherry picked from commit 8d7e61ea42364c256b76e7f6f2b6d6f90742bcb7)
2023-03-10 15:46:22 -08:00
Sam Lantinga
76e9d64b36
Removed space between sizeof and parentheses
2023-03-10 08:13:51 -08:00
Sam Lantinga
e9f9cb29fc
Fixed build warning on Android
...
(cherry picked from commit 2af6f4a3e4 )
2023-03-10 08:12:28 -08:00
Sam Lantinga
71dc7169d9
Added header for SDL_Delay()
2023-03-09 17:18:40 -08:00
Sam Lantinga
1e6ffc6294
Removed a duplicate delay accidentally added during code refactor
...
(cherry picked from commit 926db1bd54 )
2023-03-09 16:13:19 -08:00
Sam Lantinga
3f00fa16c6
Wait for the GCController framework to see IOKit devices
...
It occasionally takes a few millseconds for the GCController framework to handle the device notification and set up the device
Fixes the duplicate controller issue in https://github.com/libsdl-org/SDL/issues/6686
(cherry picked from commit 645823fc90 )
2023-03-09 16:13:19 -08:00
Sam Lantinga
0d76380042
Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!)
...
(cherry picked from commit c6443d86c9 )
2023-03-09 15:23:59 -08:00
Sam Lantinga
46d143376a
If the client rect is empty, use the last known window size
...
This happens on Windows 11 with fullscreen desktop windows when the desktop is brought up with the Windows+D shortcut.
Fixes https://github.com/libsdl-org/SDL/issues/7419
(cherry picked from commit 2ca727aec6 )
2023-03-09 10:39:43 -08:00
Sam Lantinga
d9c07d9ef7
Fixed the documentation for SDL_SetRelativeMouseMode()
...
(cherry picked from commit fb0c3197e0 )
2023-03-08 22:33:23 -08:00
Sam Lantinga
35c13196f0
Fixed uninitialized variable
2023-03-08 08:40:38 -08:00
Sam Lantinga
f5c0760c6b
Disassociate the SDLOpenGLContext from the view before deleting it
...
If we don't do this, the view will be blanked even if another context is current and rendering from that context won't be visible.
Fixes https://github.com/libsdl-org/SDL/issues/4986
2023-03-08 01:15:21 -08:00
Sam Lantinga
63e6c19b7d
Use SDL_GL_DeleteContext instead of Cocoa_GL_DeleteContext for context cleanup
...
That will make the current context NULL before deleting the context.
2023-03-08 01:13:00 -08:00
Sam Lantinga
1bd9ebf533
If we're not the current fullscreen window and we don't want to be fullscreen, don't touch the current video mode
...
Fixes an assertion in qemu on macOS, which creates multiple hidden windows:
2023-03-07 09:56:55.304 qemu-system-i386[9931:2984587] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'NSWindowStyleMaskFullScreen cleared on a window outside of a full screen transition. Called from (
0 AppKit 0x00000001968f77ac __25-[NSWindow setStyleMask:]_block_invoke + 140
1 AppKit 0x00000001968f76cc NSPerformVisuallyAtomicChange + 108
2 AppKit 0x00000001968f7580 -[NSWindow setStyleMask:] + 188
3 libSDL2-2.0.0.dylib 0x0000000106531328 Cocoa_SetWindowFullscreen + 568
4 libSDL2-2.0.0.dylib 0x0000000106501700 SDL_UpdateFullscreenMode + 1316
5 libSDL2-2.0.0.dylib 0x0000000106504270 SDL_SetWindowFullscreen_REAL + 328
6 libSDL2-2.0.0.dylib 0x000000010650117c SDL_FinishWindowCreation + 100
7 libSDL2-2.0.0.dylib 0x0000000106500998 SDL_CreateWindow_REAL + 1812
8 libSDL2-2.0.0.dylib 0x00000001063efd54 SDL_CreateWindow + 76
9 qemu-system-i386 0x00000001050aa600 sdl2_window_create + 192
10 qemu-system-i386 0x00000001050a9fa0 sdl2_2d_switch + 196
11 qemu-system-i386 0x0000000104e9c784 displaychangelistener_display_console + 524
12 qemu-system-i386 0x0000000104e9e36c register_displaychangelistener + 264
13 qemu-system-i386 0x00000001050ab6d0 sdl2_display_init + 304
14 qemu-system-i386 0x000000010505c870 qemu_init + 13380
2023-03-07 10:10:43 -08:00
Sam Lantinga
e0e79419b6
Fixed which window we check flags for when updating fullscreen mode
2023-03-07 10:08:55 -08:00
Sam Lantinga
8fc10ac95c
Added mapping for the Xbox Elite Core controller connected via Bluetooth on Android
...
(cherry picked from commit d08338ddc5 )
2023-03-06 15:37:52 -08:00
Sam Lantinga
f47a08ab84
Fixed typo in previous cherry-pick
2023-03-01 16:47:48 -08:00
Sam Lantinga
660fc89967
Don't clobber an existing entry with a different version when adding a gamepad mapping
...
(cherry picked from commit 727c7d4e2f )
2023-03-01 16:41:44 -08:00
Sam Lantinga
6ff3e49b6f
Follow the same pattern for releasing the window data in the UIKit driver
...
Possible fix for https://github.com/libsdl-org/SDL/issues/7361
(cherry picked from commit ebdb320651 )
2023-02-28 16:15:01 -08:00
Sam Lantinga
031348d377
Fixed SDL windows getting the maximized state after leaving fullscreen on macOS
...
(cherry picked from commit 2df08fb1b27b721998a1380a2acdbe1494b5591e)
2023-02-28 09:03:10 -08:00
Sam Lantinga
c0fb092425
Fixed locking up the Logitech F310 with the PlayStation controller detection
...
(cherry picked from commit da134a3039 )
2023-02-28 08:37:18 -08:00
Sam Lantinga
715749f578
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 206fa4dafb )
2023-02-27 15:21:04 -08:00
Sam Lantinga
ad09976eca
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 daffe02b11 )
2023-02-24 09:23:23 -08:00
Sam Lantinga
3bf9c70a7c
Changed the VID/PID used for the Backbone One controller on iOS
...
(cherry picked from commit 516e48515e )
2023-02-23 12:24:49 -08:00
Sam Lantinga
ea7103088f
Added support for the Backbone One PlayStation Edition
...
(cherry picked from commit 59bf1c2853 )
2023-02-23 11:59:10 -08:00
Sam Lantinga
a3a45f6709
Fixed view frame from flipping back and forth between landscape and portrait on iOS
...
(cherry picked from commit b2d913883c )
2023-02-23 11:59:00 -08:00
Sam Lantinga
13969f8567
De-duplicate Google Stadia controllers on macOS
...
(cherry picked from commit 87a83787a3 )
2023-02-21 15:35:25 -08:00
Sam Lantinga
9be85b846b
Rumbling the Google Stadia Controller over Bluetooth works on Linux and macOS
...
(cherry picked from commit 4aeec9d8c2 )
2023-02-21 15:07:24 -08:00
Sam Lantinga
35c9b1042f
Fixed the packet size for Xbox One controllers
...
(cherry picked from commit 021a7cfa13 )
2023-02-21 12:48:10 -08:00
Sam Lantinga
31a57c05dc
Fixed the share button on the ThrustMaster eSwap PRO Controller Xbox
...
(cherry picked from commit e4face7c1d )
2023-02-21 12:43:20 -08:00
Sam Lantinga
3dff5d3cbe
Added support for the Turtle Beach REACT-R and Recon Xbox controllers
...
(cherry picked from commit 5fded632d6 )
2023-02-21 11:29:45 -08:00
Sam Lantinga
4c9a79dddb
Removed duplicated conditional
...
(cherry picked from commit 1a15d506a6 )
2023-02-20 18:26:07 -08:00
Sam Lantinga
7c4f5e1def
Fixed rumble caps for the Nintendo Joy-Con controllers
...
(cherry picked from commit 02cea5fca1 )
2023-02-20 18:25:57 -08:00
Sam Lantinga
abe8dbbf1c
Added support for the Razer Wolverine V2 controllers
...
(cherry picked from commit 4994654d4f )
2023-02-20 18:25:38 -08:00
Sam Lantinga
0efb31ef32
cocoa/gles: do not unload EGL when context is destroyed
...
(cherry picked from commit e8091b8983 )
2023-02-20 10:43:15 -08:00
Sam Lantinga
7b06007266
Fixed typo (thanks @Iniquitatis!)
...
(cherry picked from commit ced02319a6 )
2023-02-19 09:58:07 -08:00
Sam Lantinga
f741adc86c
Added other names for the DragonRise Inc. Wired Wheel (thanks @felimwhiteley!)
...
(cherry picked from commit eede2066fb )
2023-02-17 11:30:49 -08:00
Sam Lantinga
e86f494317
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 ece8a7bb8e )
2023-02-16 09:53:33 -08:00
Sam Lantinga
e7376b7b74
Fixed Steam Runtime sandbox detection
...
Fixes hotplug issues on Steam Deck for Proton and native games
(cherry picked from commit bcd97b36d2 )
2023-02-15 13:54:50 -08:00
Sam Lantinga
69b2baec5c
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 beb6a2afdc )
2023-02-14 18:04:30 -08:00
Sam Lantinga
2c6995778e
Fixed handling simple mode PS4 reports
...
Fixes https://github.com/libsdl-org/SDL/issues/7270
(cherry picked from commit 5925cd4ef3 )
2023-02-14 17:53:37 -08:00
Sam Lantinga
7285f0d441
Sorted controller list
...
(cherry picked from commit 68e2f23066 )
2023-02-10 17:18:32 -08:00
Sam Lantinga
f71178a16f
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 a9650d440a )
2023-02-09 12:07:42 -08:00
Sam Lantinga
d77eb8a8d5
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 b7c6fec10a )
2023-02-08 14:31:05 -08:00
Sam Lantinga
3fb9118cb6
Note the Google Stadia controller doesn't support rumble over Bluetooth
...
(cherry picked from commit 50575ed223 )
2023-02-08 14:31:05 -08:00
Sam Lantinga
71fb4e3d76
Fixed mis-detecting the share button on the Xbox controller over NDIS
...
(cherry picked from commit 00e02de77b )
2023-02-08 14:31:05 -08:00
Sam Lantinga
2518e32de8
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 d1c72bb0bc )
2023-02-08 14:31:01 -08:00
Sam Lantinga
e8938fc66a
Enable paddles on the Xbox Elite controller when connected over USB
...
(cherry picked from commit c4db0725e4 )
2023-02-08 14:27:05 -08:00
Sam Lantinga
7154605982
Added support for the Logitech ChillStream
...
(cherry picked from commit 6f7edaf8920c504ebd3e797bd04ec1d2e46c4aa9)
2023-02-06 13:28:44 -08:00
Sam Lantinga
3fa5a2f794
Fixed warning running a command queue without any vertex operations
...
(cherry picked from commit f8b41919da )
2023-02-06 11:25:35 -08:00
Sam Lantinga
5b5a72e33c
Sorted controller list
...
(cherry picked from commit 1c03ddefc3 )
2023-02-05 08:44:46 -08:00
Sam Lantinga
c4a493de97
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 673bc57649 )
2023-02-02 08:41:57 -08:00
Sam Lantinga
4a87abc966
Fixed sort_controllers.py and resorted game controller database
...
(cherry picked from commit 917607c335 )
2023-02-02 08:41:36 -08:00
Sam Lantinga
2290d71338
Added gamepad mappings for the Xin-Mo Dual Arcade Fightstick
...
(cherry picked from commit d29e1f3632 )
2023-02-01 23:07:47 -08:00
Sam Lantinga
0479df53ca
Updated copyright for 2023
2023-01-09 09:48:21 -08:00
Sam Lantinga
ebc2fb411f
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 ac99db9fc8 )
2023-01-08 09:35:55 -08:00
Sam Lantinga
a099172754
Added support for the ThrustMaster eSwap PRO Controller Xbox
...
(cherry picked from commit 0357390fc2 )
2023-01-03 15:24:32 -08:00
Sam Lantinga
988866ca4a
Fixed line wrapping for HID packet dump
...
(cherry picked from commit e85839cd56 )
2023-01-03 15:14:00 -08:00
Sam Lantinga
2cb7a0a0bb
Added support for the ThrustMaster eSwap PRO Controller Xbox
...
(cherry picked from commit dacdb1c310 )
2023-01-03 15:13:50 -08:00
Sam Lantinga
b8d5fa4aef
Improved handling of binding buttons and axes
...
(cherry picked from commit 71f3bf90ed )
2023-01-03 12:50:20 -08:00
Sam Lantinga
78d3a713de
Fixed documentation for SDL_JoystickGetDeviceInstanceID
...
Fixes https://github.com/libsdl-org/SDL/issues/6946
2022-12-29 15:00:32 -08:00
Sam Lantinga
74229d4a41
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 e1bd5bd071 )
2022-12-29 14:55:46 -08:00
Sam Lantinga
29a4c5ebc2
Fixed getting the VID/PID of a virtual joystick
...
(cherry picked from commit e40a96155f )
2022-12-28 12:52:17 -08:00
Sam Lantinga
903df79b2d
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 3db9112ef4 )
2022-12-27 12:21:13 -08:00
Sam Lantinga
920acb75c3
editorconfig: remove trailing whitespace in source code
...
(cherry picked from commit 7c67213cef )
2022-12-26 10:34:45 -08:00
Sam Lantinga
3dbc6a40ae
render: only enable clipping when the rectangle is valid
...
Fixes https://github.com/libsdl-org/SDL/issues/6896
(cherry picked from commit 00f05dcf49 )
2022-12-26 10:25:23 -08:00
Sam Lantinga
6969b3be3b
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 83b29f9ce1 )
2022-12-19 09:16:59 -08:00
Sam Lantinga
187708e542
Fixed compiler warning
...
```
./src/thread/pthread/SDL_syssem.c:140:12: warning: variable 'retval' is used uninitialized whenever 'while' loop exits because its condition is false [-Wsometimes-uninitialized]
while (sem_trywait(&sem->sem) != 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/thread/pthread/SDL_syssem.c:149:12: note: uninitialized use occurs here
return retval;
^~~~~~
./src/thread/pthread/SDL_syssem.c:140:12: note: remove the condition if it is always true
while (sem_trywait(&sem->sem) != 0) {
```
This was a legitimate bug, thank you clang!
Fixes https://github.com/libsdl-org/SDL/issues/6830
(cherry picked from commit b678a98024 )
2022-12-17 06:59:19 -08:00
Sam Lantinga
3b0cd44158
Fixed compiler warning
...
```
./src/joystick/SDL_joystick.c:105:12: warning: no previous extern declaration for non-static variable 'SDL_joystick_lock' [-Wmissing-variable-declarations]
SDL_mutex *SDL_joystick_lock = NULL; /* This needs to support recursive locks */
^
./src/joystick/SDL_joystick.c:105:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
SDL_mutex *SDL_joystick_lock = NULL; /* This needs to support recursive locks */
^
```
1 warning generated.
2022-12-17 06:51:02 -08:00
Sam Lantinga
a53382e460
Sorted PS4 controllers, note that the NACON Wireless Controller for PS4 actually reports as an XInput device
2022-12-15 18:00:51 -08:00
Sam Lantinga
e99b9ca9c0
Note that the NACON Daija Arcade Stick is an arcade stick
2022-12-15 17:58:29 -08:00
Sam Lantinga
7a9966af9d
Fixed crash in SDL_PrivateGameControllerRefreshMapping()
2022-12-14 14:24:58 -08:00
Sam Lantinga
d59caffe2c
Added support for clang thread-safety analysis
...
The annotations have been added to SDL_mutex.h and have been made public so applications can enable this for their own code.
Clang assumes that locking and unlocking can't fail, but SDL has the concept of a NULL mutex, so the mutex functions have been changed not to report errors if a mutex hasn't been initialized. We do have mutexes that might be accessed when they are NULL, notably in the event system, so this is an important change.
This commit cleans up a bunch of rare race conditions in the joystick and game controller code so now everything should be completely protected by the joystick lock.
To test this, change the compiler to "clang -Wthread-safety -Werror=thread-safety -DSDL_THREAD_SAFETY_ANALYSIS"
2022-12-14 09:29:19 -08:00
Sam Lantinga
c709741871
Detect display change when fullscreen desktop windows move displays
...
This happens when using Win+Alt+Left/Right on a resizable fullscreen desktop window on Windows
(cherry picked from commit 650e16a824 )
2022-12-12 20:28:07 -08:00
Sam Lantinga
817454cfe6
Don't try to open the Razer Huntsman Elite keyboard as a controller
2022-12-12 18:00:57 -08:00
Sam Lantinga
802b5ef7dc
Added support for the STRIKEPAD PS4 Grip Add-on to the HIDAPI driver
...
(cherry picked from commit 618340bf99 )
2022-12-12 10:56:08 -08:00
Sam Lantinga
f57776836f
Fixed build
2022-12-09 10:22:18 -08:00
Sam Lantinga
569fa3f57f
Added test event logging for SDL_WINDOWEVENT_ICCPROF_CHANGED and SDL_WINDOWEVENT_DISPLAY_CHANGED
2022-12-09 10:13:18 -08:00
Sam Lantinga
be3b1cff0b
Added logging for SDL_DISPLAYEVENT_MOVED
2022-12-08 17:03:29 -08:00
Sam Lantinga
ab479b4961
Make sure the display list is up to date for window placement
2022-12-08 17:01:18 -08:00
Sam Lantinga
264da8c127
Added SDL_DISPLAYEVENT_MOVED to detect when display positioning changes
2022-12-08 12:46:13 -08:00
Sam Lantinga
cfc7cac3c9
Fixed memory leak when removing existing displays
2022-12-08 12:43:23 -08:00
Sam Lantinga
fc689a6cb3
Fixed build
2022-12-07 16:06:17 -08:00
Sam Lantinga
b4d547905d
Use the correct name for the DualSense controllers
...
(cherry picked from commit 9a6bcca6b8 )
2022-12-07 14:54:00 -08:00
Sam Lantinga
4ee36a9474
Added support for the DualSense Edge paddles
...
(cherry picked from commit 9339085593 )
2022-12-07 14:48:36 -08:00
Sam Lantinga
c2b2f2a71e
Clarified where the paddle locations are
...
(cherry picked from commit ea714956b6 )
2022-12-07 14:47:07 -08:00
Sam Lantinga
d1b4810542
Fixed centering the D-pad on some joysticks
...
Fixes https://github.com/libsdl-org/SDL/issues/6767
2022-12-05 13:36:51 -08:00
Sam Lantinga
07d6d116ed
Commented out syntax that causes Visual Studio 2019 to complain on every edit
...
(cherry picked from commit 4713db1484 )
2022-12-02 00:43:46 -08:00
Sam Lantinga
3bdc62215e
Fixed Apple build after d0bbfdbfb8
2022-12-01 15:11:29 -08:00
Sam Lantinga
423c558e44
Detect the G923 (Xbox style) and PXN V900 (PS3 mode) as wheels
...
(cherry picked from commit 7237c56499 )
2022-12-01 14:44:52 -08:00
Sam Lantinga
42238f88ea
Fixed build after d0bbfdbfb8
2022-12-01 13:28:48 -08:00
Sam Lantinga
e29c0661cc
Removed check for _HAVE_STDINT_H, which nobody defines
...
Fixes https://github.com/libsdl-org/SDL/issues/6619
2022-12-01 12:54:02 -08:00
Sam Lantinga
6e40c7a9b8
Added support for the Logitech Cordless Precision PS3 controller
2022-11-30 17:03:29 -08:00