4339113072
SDL_DBus_AppendDictWithKeyValue: allows several key/value for other PRs
Sylvain
2023-06-22 10:48:12 +02:00
8aee6908bb
Make sure we send update complete events for delayed guide buttons
Sam Lantinga
2023-06-21 18:42:25 -07:00
4c9fb3e169
Added the events SDL_EVENT_JOYSTICK_UPDATE_COMPLETE and SDL_EVENT_GAMEPAD_UPDATE_COMPLETE
Sam Lantinga
2023-06-21 13:59:53 -07:00
808d83dd67
Allow specifying APP_PLATFORM and APP_ABI on the command line
Sam Lantinga
2023-06-21 13:49:09 -07:00
214d5daa3c
Removed 100 ms hitch when querying third party Nintendo Switch controllers that don't respond to request for info
Sam Lantinga
2023-06-21 12:14:50 -07:00
3694dabe7c
Use default sensor calibration if we can't read it from the Nintendo Switch controller
Sam Lantinga
2023-06-21 10:28:45 -07:00
6306ee9f42
List the available haptic devices in testhaptic
Sam Lantinga
2023-06-20 09:33:59 -07:00
8cf5dc9963
Build on Android targeting the arm64-v8a architecture by default
Sam Lantinga
2023-06-20 09:18:19 -07:00
5f3213eb0e
Added support for gamepad sensor fusion with the Razer Kishi
Sam Lantinga
2023-06-20 08:40:30 -07:00
91198baed4
ibus: Handle error when getting the D-Bus machine ID
Simon McVittie
2023-06-20 13:22:55 +01:00
3ddbeab88f
Moved Android sensor event handling to a separate thread
Sam Lantinga
2023-06-20 01:17:44 -07:00
329e1b8b6a
Update the sensors before the joysticks so the gamepad code gets fresh sensor readings
Sam Lantinga
2023-06-19 19:42:01 -07:00
1a9c04e9f1
Don't try to update the gamepad fusion sensors manually, instead rely on the normal update flow
Sam Lantinga
2023-06-19 19:41:20 -07:00
20ea35138f
Use a separate sensor watching function for gamepad events to avoid reliance on system sensor events and prevent a potential deadlock
Sam Lantinga
2023-06-19 16:17:34 -07:00
70e43c150e
Added support for blitting SDL_PIXELFORMAT_INDEX1LSB
Sam Lantinga
2023-06-19 08:36:30 -07:00
c6ee9780df
Fixed DualSense controllers not being picked up by the HIDAPI driver
Sam Lantinga
2023-06-18 12:19:54 -07:00
4e81b4e8de
Added SDL_HINT_VIDEO_X11_SCALING_FACTOR to allow overriding the content scale on X11 (thanks Andres!)
Sam Lantinga
2023-06-18 12:19:43 -07:00
210c135f74
Implement SDL_HINT_WINDOW_ACTIVATE_WHEN_RAISED for X11
Sam Lantinga
2023-06-18 12:19:38 -07:00
9351bf6dd1
Add handling for SDL_HINT_WINDOW_ACTIVATE_WHEN_RAISED and SDL_HINT_WINDOW_ACTIVATE_WHEN_SHOWN on macOS
Sam Lantinga
2023-06-18 12:19:22 -07:00
f168f9c813
Added support for the GameSir G4 Pro
Sam Lantinga
2023-06-17 12:42:55 -07:00
b770644411
Fixed building on older kernel headers
Sam Lantinga
2023-06-17 09:46:46 -07:00
b98494a101
Fixed building on older kernel headers
Sam Lantinga
2023-06-17 09:39:50 -07:00
9fe384b696
Fixed display orientation function names for SDL 3.0 convention
Sam Lantinga
2023-06-17 09:28:27 -07:00
d91e96e7f5
Use SDL_HINT_GAMECONTROLLER_SENSOR_FUSION as a list of controllers to enable sensor fusion
Sam Lantinga
2023-06-17 08:59:52 -07:00
610c31c7b7
Generalized the sensor coordinate transform for wraparound gamepads
Sam Lantinga
2023-06-17 08:28:37 -07:00
9eb5eab0ad
Use the correct orientation transformation based on whether the device is naturally landscape or portrait
Sam Lantinga
2023-06-17 08:04:34 -07:00
e6d1ba2a17
Added the concept of display natural orientation
Sam Lantinga
2023-06-17 00:52:40 -07:00
8de6ce7e92
Rotate the sensor axes to match gamepad orientation when using the device sensors for game controllers
Sam Lantinga
2023-06-16 17:48:34 -07:00
a9c86e518a
Added the Razer Edge controller to the list of wraparound controllers
Sam Lantinga
2023-06-16 17:48:18 -07:00
c207cd3f56
Added the Razer Junglecat to the wraparound controller list
Sam Lantinga
2023-06-16 16:03:55 -07:00
e4f53e6b21
testevdev.c: comment out two unused data to fix build.
Ozkan Sezer
2023-06-17 01:01:10 +03:00
42e4639a5e
For gamepads that don't have their own sensors, try to use the system sensors.
Sam Lantinga
2023-06-14 22:03:44 -07:00
d584592822
linux: If the kernel specifically tells us the device type, trust it
Simon McVittie
2023-06-16 15:16:44 +01:00
0d5aa70e62
linux: Pass evdev properties when guessing device type
Simon McVittie
2023-06-16 15:14:33 +01:00
a4ce721d7a
testevdev: Allow device properties to be fully populated
Simon McVittie
2023-06-16 15:15:31 +01:00
fa0ca3d41e
linux: Distinguish between "device with keys" and a full keyboard
Simon McVittie
2023-06-16 14:53:29 +01:00
9b7a9ca666
testevdev: Add some more laptop built-in devices
Simon McVittie
2023-06-16 14:29:53 +01:00
00b6db68de
testevdev: Add some EVIOCGNAME and USB name strings to test data
Simon McVittie
2023-06-16 14:29:41 +01:00
3772d6cc99
testevdev: Add raw HID report descriptors where available
Simon McVittie
2023-06-15 19:46:35 +01:00
2b7556fea2
testevdev: Correct typo in bus type for Xbox Series S|X via Bluetooth
Simon McVittie
2023-06-16 14:35:16 +01:00
c13e511844
testevdev: Try to correct Wii devices guessed from kernel source
Simon McVittie
2023-06-13 17:48:50 +01:00
ffdafcd880
testevdev: Verify most Wii devices against real hardware
Simon McVittie
2023-06-13 17:26:51 +01:00
739f78302b
Sync SDL3 wiki -> header
SDL Wiki Bot
2023-06-16 12:22:18 +00:00
378e33bb2c
Android: potential ANR during onKeyDown/Up SDLActivity may call onNativeKeyDown, while application is quitting
Sylvain
2023-06-16 10:05:58 +02:00
e72935a445
Check for modff in addition to modf
Sam Lantinga
2023-06-15 16:43:35 -07:00
dab4f296b8
Cleanup spacing
Sam Lantinga
2023-06-15 16:43:22 -07:00
16b57d2ff1
testevdev: Add details of another driving simulator controller
Simon McVittie
2023-06-15 19:25:23 +01:00
2b00751206
testevdev: Expand test data for X-Box One Elite 2
Simon McVittie
2023-06-15 15:50:03 +01:00
62ed6f453f
Use SDL_strdup instead of strdup
Mathieu Eyraud
2023-06-15 09:59:07 +02:00
73927b0948
Removed unused function
Sam Lantinga
2023-06-14 15:16:21 -07:00
2e465ae31b
Revert "Added SDL_nextafter() and SDL_nextafterf()"
Sam Lantinga
2023-06-14 11:05:10 -07:00
0c16f4faf0
Fixed third-party Nintendo Switch Pro controllers shutting down when we try to set the home LED.
Sam Lantinga
2023-06-14 10:15:06 -07:00
23e007d3b7
Fixed third party Nintendo Switch Pro Controller resetting when being sent an unsupported command to set the Home LED
Sam Lantinga
2023-06-14 00:02:32 -07:00
8c95bd814b
Allow switching licensed Nintendo Switch Pro controllers into gyro input mode
Sam Lantinga
2023-06-13 22:40:51 -07:00
cdfc0c5a33
Added support for the PowerA Fusion Pro Wireless Controller in Bluetooth mode
Sam Lantinga
2023-06-13 22:20:58 -07:00
0f4b15e16b
Removed more Linux Xbox mappings in favor of the automatic mapping
Sam Lantinga
2023-06-13 16:53:10 -07:00
883b0f4071
Cleanup for previous change, fixing typos, etc.
Sam Lantinga
2023-06-13 16:49:33 -07:00
9567989eb3
Use the automatic mapping instead of a hardcoded one for Xbox controllers on Linux
Sam Lantinga
2023-06-13 16:41:52 -07:00
db1d4d3d76
Added automatic mapping support for Xbox controllers on the 6.x Linux kernels
Sam Lantinga
2023-06-13 16:40:30 -07:00
0f24956b0a
testautomation_hints.c: free hint memory
Sylvain
2023-06-13 23:10:29 +02:00
2c3717881f
testautomation_events.c: initialize "timestamp" to solve "conditional jump or move depends on uninitialised value"
Sylvain
2023-06-13 23:00:00 +02:00
56ba7f2ff0
testevdev: Add details of X-Box One Elite 2 via USB
Simon McVittie
2023-06-13 16:53:56 +01:00
74484511eb
testevdev: Provide a pointer to more information about adding test-cases
Simon McVittie
2023-06-13 16:47:56 +01:00
bc5d074818
Added SDL_nextafter() and SDL_nextafterf()
Sam Lantinga
2023-06-13 07:34:50 -07:00
b0677f476f
Added automatic mapping for Xbox Elite paddles using the xpadneo driver
Sam Lantinga
2023-06-13 10:06:36 -07:00
071d1e29dd
Fixed joystick vendor detection in Linux automatic gamepad mapping
Sam Lantinga
2023-06-13 10:05:19 -07:00
5a62a4596e
Fixed building with the 16.1.4479499 Android toolchain
Sam Lantinga
2023-06-03 23:55:56 -07:00
cf1dc66e2c
linux: Improve gamepad mapping heuristic to accept Android conventions
Simon McVittie
2023-06-09 13:24:21 +01:00
c4d49fadd4
linux: Reduce magic numbers when mapping gamepad axes
Simon McVittie
2023-06-09 13:06:30 +01:00
dec0dbff13
Fixed enumerating Steam Controllers on iOS
Sam Lantinga
2023-06-12 16:57:41 -07:00