Kuratius
a20530cf15
Fix Steam Controller 2 touchpad finger detection ( #15644 )
2026-05-18 07:03:56 -07:00
7aGiven
8e6fed2cbf
fix Korean caret position
2026-05-18 07:00:42 -07:00
Sam Lantinga
8b49bff353
Fixed Nintendo Switch Pro controller sensors on Android
2026-05-17 21:44:24 -07:00
Sam Lantinga
14c31ee12a
Fixed reading the controller accelerometer on Apple platforms
...
DualShock and DualSense controllers no longer have hasGravityAndUserAcceleration set, but we can still get the combined user + gravity acceleration values from those controllers, which is what we want.
2026-05-17 18:19:42 -07:00
Ozkan Sezer
cbd2917324
SDL_render_d3d11.c: fix another bad use of SDL_FUNCTION
2026-05-17 21:36:20 +03:00
Sam Lantinga
33e237eb67
visionos: persist all configurable window settings
...
Save the gaze indicator and dimmed mode setting as well as curvature
2026-05-17 11:35:30 -07:00
Cameron Gutman
6d3404e4bb
gamepad: Add SDL_GAMEPAD_TYPE_STEAM for Steam Controllers
2026-05-17 11:19:16 -07:00
Ozkan Sezer
f76b736e28
SDL_render_d3d12.c: revert an unintended change from commit d70578b9aa
2026-05-17 20:28:56 +03:00
Sam Lantinga
ae25abeb0d
Don't log game controller buttons in the keyboard handler on Android
2026-05-17 09:11:39 -07:00
Frank Praznik
9aae258aeb
wayland: Adjust DnD coordinates when dragging over a mask subsurface
2026-05-17 11:52:10 -04:00
Frank Praznik
336d07c2b7
wayland: Implement Wayland_AcceptDragAndDrop()
...
This simply toggles a flag that rejects DnD offers if false. Events were previously dropped silently, but rejecting the offer makes some desktops display a proper icon when the drop will not work.
2026-05-17 11:52:10 -04:00
Sam Lantinga
63d2635719
Added SDL_HINT_AUDIO_DUCK_OTHERS
...
Previously default audio on Apple platforms would duck other audio streams. This is unexpected, so by default we won't do that and you can use the hint SDL_HINT_AUDIO_DUCK_OTHERS to re-enable that behavior.
2026-05-17 08:47:36 -07:00
ceski
5b98c1cc2f
Add capacitive sense gamepad events ( #15627 )
2026-05-17 08:26:29 -07:00
Sam Lantinga
34c3fdd350
Added extended internal controller types
2026-05-17 06:52:47 -07:00
Ozkan Sezer
4aeac49311
update openxr headers from khronos.
2026-05-17 16:29:03 +03:00
Ozkan Sezer
322dfd3ada
update vulkan headers from khronos.
2026-05-17 16:29:03 +03:00
Ozkan Sezer
968b0c6910
update gl/egl headers from khronos.
2026-05-17 16:29:03 +03:00
Ozkan Sezer
75c94e9b31
SDL_opengl_glext.h, src/video/directx/d3d12.h: revert unintended changes from commit d70578b9aa
2026-05-17 16:28:29 +03:00
Tap
1f7a42a7b9
Correct steam triton haptic commands
...
The listed report IDs are incorrect - there is no skipped ID
2026-05-17 06:23:47 -07:00
Ozkan Sezer
b24feafaa2
cygwin: patch vulkan headers for VKAPI_CALL and enable vulkan in cmake
2026-05-17 09:55:31 +03:00
Ozkan Sezer
2cd5cd2a42
cygwin: patch egl/opengles headers for EGLAPIENTRY
2026-05-17 09:55:31 +03:00
Anonymous Maarten
2038005657
video: don't use NEON blitters when SDL_HasNEON returns false
2026-05-17 04:41:56 +02:00
Christian Semmler
db7ac820f9
emscripten: Fix crash on Safari when probing gamepad rumble support
...
Safari's older Gamepad API exposes `vibrationActuator` with `playEffect`
and `reset` but no `effects` enumeration array. The probe added in
651136ac7 dereferences `vibrationActuator['effects']['includes']`
unconditionally, throwing `TypeError: undefined is not an object` on
every Safari client that opens a connected gamepad. Add the missing
`['effects']` null check so the probe returns false on Safari instead
of aborting.
2026-05-16 15:47:41 -07:00
Cameron Gutman
060b74a664
mouse: Restrict GCMouse to macOS Sonoma and later
2026-05-16 15:43:33 -07:00
Ryan C. Gordon
5e483dc166
android: Build the APK asset tree in the same order its listed in the file.
...
This tends to get you enumerations in alphabetical order, instead of them
being reverse-alphabetical.
Reference Issue #15587 .
2026-05-16 15:29:46 -04:00
Ryan C. Gordon
497b2118ba
android: Don't forbid paths of "" in the APK assets tree.
...
This would make `SDL_EnumerateDirectory("assets://")` fail.
We check for empty strings at the higher level already, before we strip out
the "assets://" prefix to pass through the tree.
2026-05-16 15:26:47 -04:00
ceski
2ebf23014f
Add Steam Deck capacitive touch sticks, trackpad clicks, and mapping ( #15612 )
2026-05-16 09:04:20 -07:00
A1029384756
072b2b74c7
fix tooltips not showing on KDE
2026-05-16 07:49:55 -07:00
Ozkan Sezer
3ba4b6b28e
SDL_gpu_d3d12.c: fix cygwin -Wformat-warnings
2026-05-16 14:55:50 +03:00
Ozkan Sezer
880ddb9ca3
SDL_dinputhaptic.c, SDL_dinputjoystick.c: replace %lu usage with new cygwin-friendly macros.
2026-05-16 09:24:33 +03:00
Ozkan Sezer
e972e6a01b
core/android/SDL_android.c (AddAPKDirs): add missing opening brace
...
fixes build errors
2026-05-16 09:08:08 +03:00
Ryan C. Gordon
4910498820
android: EnumerateDirectory and GetPathInfo should fail for a path of "".
...
Otherwise, this will get appended to the internal storage path, etc, making a
real directory when it shouldn't.
Reference Issue #15587 .
2026-05-16 01:16:23 -04:00
Ryan C. Gordon
37af10db4d
android: Support "." and ".." in asset tree paths.
...
Reference Issue #15587 .
2026-05-16 01:16:22 -04:00
Ryan C. Gordon
e1d623505e
android: Remove call to mktime() in APK entry parsing.
2026-05-16 01:16:22 -04:00
ceski
c00d7b4bf5
Add Steam Controller mapping ( #15601 )
...
Also fixed Hori QAM button mapping
2026-05-15 19:18:38 -07:00
John Schoenick
0ffb0bdd87
unix: Fix infinite looping in SDL_FriBidi_Process if len > 127
...
start/end should be FriBidiStrIndex here -- using FriBidiLevel makes
them `signed char` and the loop here will become infinite if `end` is
> 127.
2026-05-15 15:40:29 -07:00
Rachel Blackman
d83e7bf79e
Add Gamesir Supernova in Xinput mode to controller list
2026-05-15 13:25:41 -07:00
Evan Hemsley
86296ac8f0
GPU: Set missing fields on Vulkan swapchain texture ( #15606 )
2026-05-15 11:43:57 -07:00
Sam Lantinga
aeacf42e06
gameinput: only add the share button for known Xbox Series X controllers
...
The HID descriptor for the latest firmware always includes the share button, and GameInput will report it as always available, so double check against our list of classic Xbox One controllers and don't include the button on controllers that don't have it.
2026-05-15 11:01:31 -07:00
Sam Lantinga
a95ce7e734
Detect the GameSir Super Nova in Xbox 360 mode
2026-05-15 10:13:15 -07:00
stahta01
6586bebfec
Fix Cygwin building and add CI ( #15566 )
...
Co-authored-by: TrueCat17 <truecat17@gmail.com >
Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com >
Co-authored-by: Ozkan Sezer <sezeroz@gmail.com >
2026-05-15 08:48:24 -07:00
Ryan C. Gordon
be97a18d82
android: Don't allow access to the asset tree with a path of "".
...
Reference Issue #15587 .
2026-05-15 10:34:30 -04:00
Ryan C. Gordon
e1fa336ac4
android: Don't ever enumerate absolute paths from the assets tree.
...
This could happen if opendir() failed for a reason other than the directory
missing (for example, `opendir("/")` fails with EACCES.
Reference Issue #15587 .
2026-05-15 10:29:42 -04:00
Anonymous Maarten
d5af35e3fb
surface: cannot set a palette to a non-indexed surface
...
This fixes a UBSAN warning later in this function where it calculates
(1 << SDL_BITSPERPIXEL(surface->format)). The bpp might be >= 32 and
out of range for a bit shift.
2026-05-14 20:53:45 -07:00
Rachel Blackman
eb340388fc
Fix HIDAPI support for Flydigi Vader 5 Pro ( #15594 )
2026-05-14 17:32:25 -07:00
Evan Hemsley
f286e420af
GPU: Refactor Vulkan barriers to fix defrag segfault ( #15593 )
2026-05-14 17:01:13 -07:00
Sam Lantinga
c9bb41bd9c
Fixed build when GameInput is enabled
2026-05-14 16:52:40 -07:00
ceski
f3faf67c64
Add Steam Controller touchpads, capacitive touch for sticks, and grip sense ( #15528 )
2026-05-14 16:26:26 -07:00
Ozkan Sezer
4d95a63fe3
fix build after commit 2c4e6ed358:
...
move SDL_UsingGameInputForXInputControllers() to core/windows/SDL_gameinput.cpp
because joystick/gdk/SDL_gameinputjoystick.cpp isn't always added to build.
2026-05-14 23:11:22 +03:00
Ryan C. Gordon
0e07b7c5e2
android: Comment out debug logging.
...
Reference Issue #15587 .
2026-05-14 15:58:15 -04:00