Commit Graph

4611 Commits

Author SHA1 Message Date
Ryan C. Gordon
22e42e6e1e aaudio: Make input preset into a hint, don't set it by default.
Fixes #16130.
Reference Issue #13402.
2026-09-01 14:03:24 -04:00
SDL Wiki Bot
9e6f0180a0 Sync SDL3 wiki -> header
[ci skip]
2026-08-31 17:34:01 +00:00
Ryan C. Gordon
774a3a0ab1 joystick: Fixed \since version for new sensor APIs. 2026-08-27 11:06:05 -04:00
Ryan C. Gordon
4f3d7017b0 joystick: Expose sensor data at the SDL_Joystick level.
Previously this was only available through the gamepad API, but this state has
always actually lived on the lower-level joystick objects, so there's no sense
in not offering a public API for that level, as well.

Closes #16202.
2026-08-27 10:18:03 -04:00
Crispin
1f922d7c06 Add more 'see also's to header comments in SDL_gpu.h 2026-08-26 09:13:24 -07:00
SDL Wiki Bot
75ff9ae9a1 Sync SDL3 wiki -> header
[ci skip]
2026-08-24 07:00:49 +00:00
SDL Wiki Bot
75c35b8cce Sync SDL3 wiki -> header
[ci skip]
2026-08-24 04:52:59 +00:00
SDL Wiki Bot
b0827a48ab Sync SDL3 wiki -> header
[ci skip]
2026-08-24 04:38:07 +00:00
SDL Wiki Bot
bf889aaed5 Sync SDL3 wiki -> header
[ci skip]
2026-08-23 22:01:09 +00:00
SDL Wiki Bot
0dce67c74a Sync SDL3 wiki -> header
[ci skip]
2026-08-23 21:57:14 +00:00
Ryan C. Gordon
0932b559e8 wikisync: Testing wikiheaders bridge, disregard. 2026-08-23 16:29:53 -04:00
SDL Wiki Bot
36488c6257 Sync SDL3 wiki -> header
[ci skip]
2026-08-23 20:28:45 +00:00
SDL Wiki Bot
ae78aee61b Sync SDL3 wiki -> header
[ci skip]
2026-08-23 20:25:01 +00:00
SDL Wiki Bot
39333eb07b Sync SDL3 wiki -> header
[ci skip]
2026-08-23 20:00:06 +00:00
SDL Wiki Bot
a3d215933a Sync SDL3 wiki -> header
[ci skip]
2026-08-23 19:49:06 +00:00
Sam Lantinga
98ee449d6a Updated the link for lock free algorithms
Closes https://github.com/libsdl-org/sdlwiki/pull/982
2026-08-21 08:46:45 -07:00
SDL Wiki Bot
573862505d Sync SDL3 wiki -> header
[ci skip]
2026-08-21 14:27:01 +00:00
Sam Lantinga
0e6af9f4c6 Clarify that gamepad sensors are disabled by default 2026-08-21 07:24:41 -07:00
SDL Wiki Bot
f170b33f16 Sync SDL3 wiki -> header
[ci skip]
2026-08-20 22:42:09 +00:00
SDL Wiki Bot
8e8596b91a Sync SDL3 wiki -> header
[ci skip]
2026-08-20 22:25:10 +00:00
SDL Wiki Bot
f95af3d8e6 Sync SDL3 wiki -> header
[ci skip]
2026-08-20 19:47:08 +00:00
SDL Wiki Bot
80524ec40e Sync SDL3 wiki -> header
[ci skip]
2026-08-20 18:43:35 +00:00
SDL Wiki Bot
21e63449a4 Sync SDL3 wiki -> header
[ci skip]
2026-08-20 16:21:05 +00:00
SDL Wiki Bot
1a17b7aaf9 Sync SDL3 wiki -> header
[ci skip]
2026-08-20 15:13:33 +00:00
SDL Wiki Bot
233cc9ce6a Sync SDL3 wiki -> header
[ci skip]
2026-08-20 15:05:54 +00:00
Ryan C. Gordon
e4c41d393b events: Note that SDL_PenProximityEvent::pen_state was added for 3.4.16. 2026-08-18 21:01:53 -04:00
Ryan C. Gordon
3bdb7d00d5 pen: Report SDL_PenInputFlags in SDL_PenProximityEvent.
Fixes #16125.
2026-08-18 16:07:51 -04:00
Ryan C. Gordon
0fb1177405 Manually sync wiki -> headers.
Trying to coerce SDLWikiBot to stop eating changes.
2026-08-11 09:41:55 -04:00
SDL Wiki Bot
d5424685a9 Sync SDL3 wiki -> header
[ci skip]
2026-08-11 13:15:49 +00:00
SDL Wiki Bot
767459e4cd Sync SDL3 wiki -> header
[ci skip]
2026-08-11 05:04:02 +00:00
SDL Wiki Bot
56ef0efc20 Sync SDL3 wiki -> header
[ci skip]
2026-08-06 17:37:45 +00:00
Sam Lantinga
ad30741a5b Additional clarification on blend mode usage 2026-08-06 10:36:21 -07:00
Sam Lantinga
81afb82f2d Clarify how the draw blend mode is used in the 2D renderer
Fixes https://github.com/libsdl-org/SDL/issues/16109
2026-08-06 08:47:50 -07:00
Ozkan Sezer
f661f37ace update khronos headers from mainstream. 2026-08-04 03:28:10 +03:00
SDL Wiki Bot
494cb8447d Sync SDL3 wiki -> header
[ci skip]
2026-08-03 20:19:06 +00:00
Evan Hemsley
5538d52430 GPU: Allow combinations of read flags on buffers (#16111) 2026-08-03 13:16:20 -07:00
SDL Wiki Bot
fdc1143337 Sync SDL3 wiki -> header
[ci skip]
2026-08-03 06:23:36 +00:00
Sanjay Govind
7010faef34 Add support for GIP instruments via hidapi, and drums via gameinput (#16009) 2026-08-02 16:27:46 -07:00
SDL Wiki Bot
7add7ece3c Sync SDL3 wiki -> header
[ci skip]
2026-07-31 15:51:46 +00:00
eafton
7b7a74ebc7 Fix some DBus tray issues 2026-07-31 08:49:03 -07:00
SDL Wiki Bot
09552d5bee Sync SDL3 wiki -> header
[ci skip]
2026-07-31 02:31:40 +00:00
Sam Lantinga
fe85b4782d Support extended interop with the 2D Metal renderer
Also fixed an issue where an external surface couldn't be used with IYUV and YV12 textures.
2026-07-30 19:28:50 -07:00
Anonymous Maarten
b048e8e6f8 windows: vendor GameInput headers 2026-07-30 20:19:17 +02:00
Lucas Alves
3304ec648b Add "_FIRST/_LAST" fields to events subsections. 2026-07-25 12:01:55 -07:00
Sam Lantinga
23b641070c Added HDR10 display support for the direct3d11, direct3d12, and vulkan renderers 2026-07-22 11:36:32 -07:00
Esme Povirk
3fc8509b36 Fix build on arm64ec. 2026-07-21 07:44:17 -07:00
SDL Wiki Bot
377150b59e Sync SDL3 wiki -> header
[ci skip]
2026-07-19 16:47:13 +00:00
Ryan C. Gordon
daf519ae05 assert: make disabled asserts work with bitfield conditions.
We don't care _what_ the `sizeof` results are, we just want it to vaporize
the condition's code out of the build. So we check it with a `? 1 : 0`, so it
always boils down to a `sizeof (int)`, no matter what data type the condition
actually is.

This works with bitfields, pointers, anything that can be "truthy." If it
isn't truthy, it would fail when assertions are enabled anyhow.

Fixes #15990.
2026-07-13 18:17:33 -04:00
Ozkan Sezer
a6c294410e introduce new printf format macros SDL_PRISZu, SDL_PRISZx and SDL_PRISZX 2026-07-13 22:35:03 +03:00
Ryan C. Gordon
82141a2439 api: Added SDL_GetNumProperties().
Fixes #14761.
2026-07-11 15:11:30 -04:00