Commit graph

4402 commits

Author SHA1 Message Date
DominusExult
ac90fa0879 The padding is in windows coordinates not pixels, so you need to convert for Android.
Default is now 10 window coordinates (slightly more than 15 pixels).
2026-02-14 14:03:35 +01:00
DominusExult
d6ddc84e56 The default value of SDL_HINT_IME_PAN_PADDING is 15 to keep consistent with previous look.
Also seems that I was mistaken about the padding automatically applied by iOS.
2026-02-13 18:01:49 +01:00
DominusExult
a5134cdf3f Adding SDL_HINT_IME_PAN_PADDING "SDL_IME_PAN_PADDING".
Controls the padding between TextInputArea and IME and defaults to 0.
2026-02-13 16:09:22 +01:00
Sam Lantinga
e134d6fd7e Added a note about SDL_HINT_AUTO_UPDATE_JOYSTICKS to the SDL_UpdateJoysticks() docs 2026-02-11 09:03:30 -08:00
SDL Wiki Bot
73500019ea Sync SDL3 wiki -> header
[ci skip]
2026-02-11 14:33:15 +00:00
SDL Wiki Bot
d2ca570050 Sync SDL3 wiki -> header
[ci skip]
2026-02-11 02:41:57 +00:00
SDL Wiki Bot
6f45f97af0 Sync SDL3 wiki -> header
[ci skip]
2026-02-10 15:51:32 +00:00
Sam Lantinga
6feb0e1333 You can't combine SDL_STRINGIFY_ARG() and SDL_FUNCTION
Removed obsolete documentation that shows this usage and macros that attempt it.

Also allow SDL_FUNCTION to be redefined by the application.

Fixes https://github.com/libsdl-org/SDL/issues/15004
2026-02-08 11:51:34 -08:00
ROllerozxa
3919cc902e Fix SDL_TriggerBreakpoint being undefined on slimcc 2026-02-07 21:11:54 +03:00
Max Seidenstücker
8f8880a8eb Merge all occurances of __func__ and __FUNCTION__ to SDL_FUNCTION 2026-02-07 07:34:11 -08:00
Max Seidenstücker
d870911202 CodeSpell 2026-02-07 18:14:00 +03:00
Max Seidenstücker
bf58ff81d8 comma at end of enum
GCC: comma at end of enumerator list [-Wpedantic]
2026-02-07 15:54:13 +01:00
SDL Wiki Bot
df9f56f958 Sync SDL3 wiki -> header
[ci skip]
2026-02-06 18:59:48 +00:00
Sam Lantinga
88d5a5a2b9 Clarify that SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS can be set anytime
Fixes https://github.com/libsdl-org/sdlwiki/issues/914
2026-02-06 10:58:58 -08:00
SDL Wiki Bot
ae4fb50316 Sync SDL3 wiki -> header
[ci skip]
2026-02-05 20:15:42 +00:00
Ryan C. Gordon
632c83b722 opengl: added SDL_HINT_OPENGL_FORCE_SRGB_CAPABLE.
Reference Issue #14898.
2026-02-05 15:14:18 -05:00
Jesse Chounard
cb0c7b01e4 tray: removed double click handling 2026-02-05 11:08:05 -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
Ryan C. Gordon
7f94c7782a
hints: Reformatted some documentation that got mangled.
[ci skip]
2026-02-04 13:46:15 -05: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
2b5ebb1170
Revert "opengl: Fixes for sRGB framebuffer support."
This reverts commit d62f141b29.

Reference Issue #14898.
2026-02-03 13:27:56 -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
de73a4745f Revert "Clarified SDL_GetClipboardText() documentation"
This reverts commit db573de24a.
2026-02-01 10:27:20 -08:00
Sam Lantinga
35b35bf58a Revert "Sync SDL3 wiki -> header"
This reverts commit 104bee68f9.
2026-02-01 10:27:12 -08:00
SDL Wiki Bot
104bee68f9 Sync SDL3 wiki -> header
[ci skip]
2026-02-01 17:22:43 +00:00
Sam Lantinga
db573de24a Clarified SDL_GetClipboardText() documentation
Fixes https://github.com/libsdl-org/SDL/issues/14941
2026-02-01 09:20:52 -08:00
SDL Wiki Bot
e2bc4be482 Sync SDL3 wiki -> header
[ci skip]
2026-01-31 21:24:29 +00:00
Caleb Cornett
742a6fd092 GPU: Query UnrestrictedBufferTextureCopyPitchSupported to avoid D3D12 realignment copies 2026-01-31 16:22:32 -05:00
SDL Wiki Bot
c9b7ca0c42 Sync SDL3 wiki -> header
[ci skip]
2026-01-31 00:25:58 +00:00
Sam Lantinga
63a95a4a4d Updated SDL_PollEvent() documentation
Fixes https://github.com/libsdl-org/sdlwiki/issues/911
2026-01-30 16:23:46 -08:00
SDL Wiki Bot
32cb19e905 Sync SDL3 wiki -> header
[ci skip]
2026-01-30 23:34:34 +00:00
eleir9268
f4a541682a
Up-to-date QNX support (#14806)
Co-authored-by: Roberto Speranza <rsperanza@qnx.com>
Co-authored-by: Darcy Phipps <dphipps@qnx.com>
Co-authored-by: Pierce McKinnon <pimckinnon@qnx.com>
2026-01-30 15:32:43 -08:00
SDL Wiki Bot
dc597e0e20 Sync SDL3 wiki -> header
[ci skip]
2026-01-30 22:20:20 +00:00
Aaron Benjamin
9a91d7236a
GPU: OpenXR integration (#14837)
Based on Beyley's initial draft in #11601.

Co-authored-by: Beyley Cardellio <ep1cm1n10n123@gmail.com>
Co-authored-by: Ethan Lee <flibitijibibo@gmail.com>
2026-01-30 17:18:51 -05:00
SDL Wiki Bot
fb794acff7 Sync SDL3 wiki -> header
[ci skip]
2026-01-30 00:17:17 +00:00
Sam Lantinga
e3e8adcb76 Added SDL_TryLockJoysticks() 2026-01-29 16:15:51 -08:00
SDL Wiki Bot
5642fc963e Sync SDL3 wiki -> header
[ci skip]
2026-01-25 17:13:43 +00:00
Sam Lantinga
17c375738f Add the type to SDL_PROP_GPU_DEVICE_CREATE_METAL_ALLOW_MACFAMILY1 2026-01-25 09:12:15 -08:00
SDL Wiki Bot
d311b5c779 Sync SDL3 wiki -> header
[ci skip]
2026-01-25 17:10:35 +00:00
Ethan Lee
16f2037efd gpu: Add SDL_PROP_GPU_DEVICE_CREATE_METAL_ALLOW_MACFAMILY1 property 2026-01-25 09:09:08 -08:00
SDL Wiki Bot
c71c53c406 Sync SDL3 wiki -> header
[ci skip]
2026-01-25 08:28:23 +00:00
SDL Wiki Bot
6fc31b7f0b Sync SDL3 wiki -> header
[ci skip]
2026-01-25 02:16:47 +00:00
SDL Wiki Bot
7d27ca282e Sync SDL3 wiki -> header
[ci skip]
2026-01-21 22:25:12 +00:00
Sam Lantinga
3f0e0975d8 SDL_CreateGPURenderState() doesn't modify the createinfo parameter 2026-01-17 20:48:30 -08:00
Sergei Petunin
460b8a0db1 Fix MAC_PRESS_AND_HOLD hint documentation 2026-01-13 09:00:35 -08:00
SDL Wiki Bot
90aaa23977 Sync SDL3 wiki -> header
[ci skip]
2026-01-10 16:47:13 +00:00
SDL Wiki Bot
6a449ae1f3 Sync SDL3 wiki -> header
[ci skip]
2026-01-04 22:26:46 +00:00