Jesse Chounard
cb0c7b01e4
tray: removed double click handling
2026-02-05 11:08:05 -08:00
Jesse Chounard
bc16157c9d
testtray: created VS project and added new click callbacks
2026-02-05 11:08:05 -08:00
Sam Lantinga
bddf6d3e2a
Guarantee that pens are in proximity before motion and button events
...
This also delays pen proximity out events to make sure that the pen is really gone before delivering them. On Android, you get a HOVER_EXIT event when the pen contacts the surface, which we don't want to treat as the pen leaving proximity.
2026-02-05 10:24:04 -08:00
Sam Lantinga
cd7fc90c87
Added support for the third stylus button on Android
2026-02-05 10:24:04 -08:00
Sam Lantinga
273a093032
Temporarily disable GameSir driver
...
There are some issues that need response from GameSir before this can be enabled by default.
2026-02-04 15:53:01 -08:00
Sam Lantinga
ca7788cd9f
Fixed spacing
2026-02-04 15:53:01 -08:00
Sam Lantinga
d43d29269d
Added support for GameSir simple report mode
2026-02-04 15:53:01 -08:00
Sam Lantinga
8a9722e9f4
Removed GameSir trigger rumble
...
This doesn't appear to actually be supported by the hardware, and used the same report as normal rumble.
2026-02-04 15:53:01 -08:00
Sam Lantinga
883066228b
Minor code cleanup
...
- the connection type is already set correctly based on bluetooth connection state
- removed some verbose controller type logging
- device and ctx are guaranteed not to be NULL at the driver level
2026-02-04 15:53:01 -08:00
Sam Lantinga
1a99861510
Fixed warnings building on Android
2026-02-04 14:55:29 -08:00
Sam Lantinga
cd14bf3d00
Fixed warning: no previous prototype for function 'SDL_PrivateIsGamepadPlatformMatch'
2026-02-04 14:40:42 -08:00
SDL Wiki Bot
3b43b55e2a
Sync SDL3 wiki -> header
...
[ci skip]
2026-02-04 20:51:27 +00:00
Jesse Chounard
70e16a8d13
tray: Add icon click callbacks for Windows and macOS ( #14964 )
2026-02-04 12:50:00 -08:00
Frank Praznik
bd472b43f5
wayland: Only use owned surface data when processing touches
...
Otherwise, user data set externally may be treated as SDL window data.
2026-02-04 14:28:30 -05:00
Ryan C. Gordon
f60e79feaf
test_common: Changed a bunch of strcmp ifs to else ifs.
2026-02-04 14:27:41 -05:00
Ryan C. Gordon
10cc3dbe53
test_common: add a --fill-document command line option.
...
Probably rarely used, but one _can_ specify command line options to an
Emscripten program in its index.html wrapper, I think.
2026-02-04 14:14:15 -05:00
Ryan C. Gordon
7f94c7782a
hints: Reformatted some documentation that got mangled.
...
[ci skip]
2026-02-04 13:46:15 -05:00
Ozkan Sezer
59e3ad0079
SDL_gpu_d3d12.c: Silence -Wuninitialized warning from old gcc versions:
...
SDL_gpu_d3d12.c: In function 'D3D12_GetXRSwapchainFormats':
SDL_gpu_d3d12.c:9107:26: warning: 'sdlFormat' may be used uninitialized in this function
2026-02-04 07:47:02 +03:00
Ozkan Sezer
427941012e
SDL_gpu_vulkan.c: Silence -Wuninitialized warning from old gcc versions:
...
SDL_gpu_vulkan.c: In function 'VULKAN_GetXRSwapchainFormats':
SDL_gpu_vulkan.c:12927: warning: 'sdlFormat' may be used uninitialized in this function
2026-02-04 07:39:20 +03:00
chenzw
1fd7cd693a
pass payload to state handler
2026-02-03 20:09:04 -08:00
chenzw
8272699901
refactor(joystick): unify GameSir packet parsing with packet/payload offsets, fix field byte indexing and standardize length checks
2026-02-03 20:09:04 -08:00
chenzw
e087de5741
refactor for style (no functional changes)
2026-02-03 20:09:04 -08:00
walle
f5efba34da
Fix multi-platform compilation issues
2026-02-03 20:09:04 -08:00
chenzw
bb8eee8fac
Added support for the GameSir-G7 Pro 8K controller
2026-02-03 20:09:04 -08:00
Ryan C. Gordon
1a9e6c368f
pen: Fixed a comment typo.
...
[ci skip]
2026-02-03 20:02:42 -05:00
Ryan C. Gordon
dd18d7ff52
pen: Fixed incorrect comment.
2026-02-03 19:44:29 -05:00
Anonymous Maarten
5f151f4532
cmake: cannot detect deprecated apple-clang link options (they are not fatal)
...
So skip these
2026-02-03 20:54:02 +01:00
Anonymous Maarten
e338287e64
cmake: treat linker warnings as errors when configuring with SDL_WERROR=ON
2026-02-03 20:54:02 +01:00
Nintorch
997a168e00
Add share button mapping to Xbox Series X controller on Android
2026-02-03 11:18:18 -08:00
Sam Lantinga
230286447e
Fixed Raspberry Pi build
2026-02-03 11:13:33 -08:00
Sam Lantinga
f60231759d
Fixed detecting Nintendo Switch Pro 2 controller on Steam Link hardware
...
In this case, it's available via both libusb and hidraw, but the hidraw device isn't usable. If a device needs to be opened via libusb, don't expose it via hidraw enumeration.
2026-02-03 10:44:16 -08:00
Ryan C. Gordon
a6c0052f39
srgb: Readd WGL/GLX extension checks when asking for sRGB-capable framebuffers.
...
Reference Issue #14898 .
2026-02-03 13:27:57 -05:00
Ryan C. Gordon
2b5ebb1170
Revert "opengl: Fixes for sRGB framebuffer support."
...
This reverts commit d62f141b29 .
Reference Issue #14898 .
2026-02-03 13:27:56 -05:00
Ryan C. Gordon
7bc93da555
Revert "wgl: Added debug code for sRGB issues."
...
This reverts commit 8c0ac97b0d .
Reference Issue #14898 .
2026-02-03 13:27:56 -05:00
Cameron Cawley
f8331d50ff
Simplify SDL_GL_EGL_PLATFORM handling
2026-02-03 09:45:19 -08:00
Cameron Cawley
eceb35c96c
Add VIDEO_DEVICE_CAPS_SLOW_FRAMEBUFFER and move detection to video drivers ( #14817 )
2026-02-03 09:38:02 -08:00
Anonymous Maarten
28ea4a8e31
surface: verify surface palette in SDL_Save(BMP|PNG) before hitting the FS
2026-02-03 09:31:57 -08:00
Ryan C. Gordon
bb6ced6fc0
emscripten: Cleanup some wasm32/wasm64 ifdefs.
...
Fixes #14066 .
2026-02-02 19:21:42 -05:00
Ryan C. Gordon
7d093940a7
emscripten: Unify creation of Module['SDL3'] in at SDL_Init time.
2026-02-02 19:21:42 -05:00
Sam Lantinga
de605a3b7e
Reverted unintended testsprite changes
2026-02-02 16:00:49 -08:00
Sam Lantinga
b5206909a7
Fixed the GameCube Controller Adapter showing up twice on macOS
2026-02-02 15:53:23 -08:00
Sam Lantinga
cdffbdfeaf
Fixed handling GameCube adapters in PC mode on Linux and macOS
...
On Windows there is a separate HIDAPI device for each slot. On Linux and macOS, there is a single HIDAPI device and the slot is included in the report.
2026-02-02 15:44:44 -08:00
Cameron Cawley
12f97dbc97
egl: Make GLESv1 and v2 shared objects optional
2026-02-02 14:09:17 -08:00
Ryan C. Gordon
8c0ac97b0d
wgl: Added debug code for sRGB issues.
2026-02-02 17:03:22 -05:00
SDL Wiki Bot
eb181c8d1a
Sync SDL3 wiki -> header
...
[ci skip]
2026-02-02 19:11:31 +00:00
Evan Hemsley
e25e0f3c5b
GPU: Allow D3D12 backend to load vendored D3D12Core.dll ( #14946 )
...
---------
Co-authored-by: Ethan Lee <flibitijibibo@gmail.com >
2026-02-02 11:10:03 -08:00
Sam Lantinga
4970067c9a
Use SDL_PixelFormat appropriately
2026-02-02 09:46:13 -08:00
eleir9268
a029709f68
QNX: support Wayland backend. ( #14950 )
...
Co-authored-by: Aaron Bassett <abassett@qnx.com >
Co-authored-by: Felix Xing <fxing@qnx.com >
2026-02-02 09:02:31 -08:00
Aaron Benjamin
1f7db1ebcf
Improve OpenXR loader error messages
...
When the OpenXR loader library fails to load, provide a detailed error
message explaining:
- On Windows: need openxr_loader.dll in app directory or PATH
- On Linux: install libopenxr-loader package or set LD_LIBRARY_PATH
- Can use SDL_HINT_OPENXR_LIBRARY hint to specify path
Also update D3D12 backend to include the error in its warning log,
and remove redundant SDL_SetError in Vulkan backend that was
overwriting the detailed message.
2026-02-02 10:31:59 -05:00
Ethan Lee
5640647e14
render: D3D12 Xbox buildfixes
2026-02-02 10:10:08 -05:00