Ethan Lee
db972604a8
gpu: Xbox buildfix
2025-05-27 12:41:27 -04:00
Sam Lantinga
8a2e2e75d1
Simplified loop logic
2025-05-27 08:47:32 -07:00
8BitDo
b4f7948410
Ensure that report 06 command reads normally
...
Ensure that report 06 command reads normally
2025-05-27 08:45:09 -07:00
Frank Praznik
e3d44cdd51
wayland: Use raw timestamps to calculate the elapsed repeat time on a key up event
...
Using processed timestamps can result in anomalies that cause excessive repeat events, and hard caps can cause issues.
In the key event handler, use the raw elapsed time to calculate any remaining repeat events to avoid the artifacts that can result from using processed timestamps.
The Wayland key repeat rate ranges from 0 to 1000 per second, so millisecond resolution doesn't lose any precision.
2025-05-27 10:59:03 -04:00
SDL Wiki Bot
b51273512b
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-26 20:22:23 +00:00
SDL Wiki Bot
988c0be934
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-26 20:13:49 +00:00
Sander Ledegen
9b025e3cab
PSP fullscreen is the only mode ( #13125 )
2025-05-26 10:31:48 -07:00
SDL Wiki Bot
08b6f6175a
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-26 16:35:37 +00:00
Ryan C. Gordon
5e50d39b38
audio: Added SDL_PutAudioStreamDataNoCopy.
2025-05-26 12:34:37 -04:00
Ozkan Sezer
25db127450
SDL_video.c: remove two stray line continuation chars .
2025-05-26 01:41:47 +03:00
Christian Kündig
168d1a9253
emscripten: Proxy Emscripten_GetSystemTheme and EMSCRIPTENAUDIO_OpenDevice to the main thread.
2025-05-25 13:50:02 -07:00
mattbsage
f62572344f
Clean up INTERFACE_COMPILE_OPTIONS
...
The extra text causes Meson/Ninja builds to fail as headers are not found.
2025-05-24 19:13:25 -07:00
Frank Praznik
b70919ecd9
x11: Assume the window was mapped after showing
...
Not all window managers send a MapNotify or PropertyNotify event when the window is shown, so assume that it was mapped and set the flag accordingly.
2025-05-24 09:59:30 -04:00
Frank Praznik
0657ece55d
x11: Always send fullscreen dimensions except on XWayland
...
More non-compositing window managers than just openbox seem to need this, so always force sending the window position and dimensions when entering/leaving fullscreen. If they are wrong, they will be immediately overwritten by the correct dimensions from a subsequent ConfigureNotify event.
This is disabled on XWayland, as it seems to cause hitching on some compositors.
2025-05-24 09:59:30 -04:00
Sam Lantinga
1f6b5c681d
Set the initial axis values for HIDAPI and XInput controllers
...
Fixes https://github.com/libsdl-org/SDL/issues/13020
2025-05-23 12:09:39 -07:00
Frank Praznik
fdc4f8fa39
x11: Include the XTest header when needed
...
Fixes building when statically linking.
2025-05-23 13:05:52 -04:00
Ivan Epifanov
2b4d61e4a6
VITA: support only fullscreen windows. Fixes #13079
2025-05-23 08:45:15 -07:00
Vicki Pfau
4cd889cb13
joystick: Several minor GIP fixes
...
This mostly fixes stylistic issues, but also fixes an issue with some
controllers where an erroneous check would clear the DLI flag, offsetting the
share button index so it wouldn't work.
2025-05-22 21:45:00 -07:00
SDL Wiki Bot
0a7548230c
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-22 22:39:10 +00:00
Sam Lantinga
c9cf4c42e0
Improved HIDAPI support for Flydigi controllers
2025-05-22 15:36:38 -07:00
kyle-sylvestre
ead32c706d
fix error handling in WideCharToMultiByte
2025-05-22 15:25:06 -07:00
kyle-sylvestre
8ddb074889
bugfix advancing UTF-8 length in UTF-16 string
2025-05-22 15:25:06 -07:00
Ryan C. Gordon
dcdbc0bf9f
README-documentation-rules: Add a note about being UTF-8 only!
2025-05-22 15:41:05 -04:00
Ryan C. Gordon
56bb73a8d2
README-ngage.md: Really actually got all the non-UTF-8 characters this time!
2025-05-22 15:38:59 -04:00
Ryan C. Gordon
ecef0d3564
README-ngage.md: Found a few more non-UTF-8 things.
2025-05-22 15:34:04 -04:00
Ryan C. Gordon
fb7afabbd6
README-ngage.md: Removed non-UTF-8 character.
2025-05-22 15:30:21 -04:00
SDL Wiki Bot
73ca59b423
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-22 19:18:42 +00:00
SDL Wiki Bot
136a44b0bd
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-22 18:08:13 +00:00
Michael Fitzmayer
7ae64592c9
Restore support for the Nokia N-Gage ( #12148 )
2025-05-22 11:07:22 -07:00
SDL Wiki Bot
26f9940f82
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-22 17:50:19 +00:00
Sam Lantinga
6f994cc7a8
Fixed macOS build
2025-05-22 10:18:14 -07:00
bakatrouble
354895d975
Add Flydigi VADER 4 Pro HIDAPI support ( #12874 )
2025-05-22 09:56:17 -07:00
Ryan C. Gordon
8d9a4fe843
stdinc: Corrected documentation for SDL_atan2 and SDL_atan2f.
...
Fixes #13099 .
2025-05-22 09:52:15 -04:00
Frank Praznik
abcfa1b7de
wayland: Use SDL_memcpy instead of SDL_copyp to copy the repeated text string
...
SDL_copyp is not intended to copy arrays. Use SDL_memcpy with the explicit size instead.
2025-05-21 20:38:39 -04:00
Matteo Hausner
22828d5f2a
Fix #13083 segfault in SDL_RemoveTrayEntry()
for submenu entries
...
Use `g_object_ref_sink()` in `SDL_CreateTraySubmenu()` as introduced with
3be67ced64
for the top-level menu.
2025-05-21 13:32:28 -07:00
Sam Lantinga
264eb8d440
Fixed the Bluetooth flag for the combined Joy-Con controller
2025-05-21 13:30:00 -07:00
Frank Praznik
05f779f61e
wayland: Cap the max key repeat elapsed time
...
Cap the elapsed time to something sane in case the compositor sends a bad timestamp, which can result it in it looking like the key has been pressed for a *very* long time, bringing everything to a halt while it tries to enqueue all the repeat events.
2025-05-21 12:19:22 -04:00
Frank Praznik
20e8ac0075
wayland: Fix keymap changed event spam with non-latin keyboard layouts
...
The function SDL_GetCurrentKeymap() would return null instead of the actual bound keymap for non-latin layouts if certain mapping options were set. Add a parameter to ignore the keymap options and always return the actual bound keymap, which is needed in the Wayland backend to avoid spamming keymap changed events on every keystroke with certain layouts.
2025-05-21 11:54:56 -04:00
kyle-sylvestre
b8e055ce64
use SDL style - else on same line as closing brace
2025-05-20 17:12:01 -07:00
kyle-sylvestre
8e22194217
get preferred locales on android
2025-05-20 17:12:01 -07:00
Anthony Fisher
c08b1049d3
gpu/d3d12: Acknowledge that we've bound vertex buffers ( #13088 )
2025-05-20 16:34:04 -04:00
Francisco Javier Trujillo Mata
c89357bf60
Fix wrong callback type
2025-05-20 11:10:43 -07:00
Logan
f4942b3eae
GPU: Update D3D12 to create multisample textures with default MSAA alignment
2025-05-20 11:07:24 -07:00
Frank Praznik
c7549eb0b6
wayland: Set the text input cursor rect properly
...
The text input cursor should reflect the cursor position, not the entire text input rect. Set it correctly so that IME chooser dialogs appear in the correct location.
2025-05-20 13:40:00 -04:00
krizej
3be57ec774
docs: fix man page return value section generation
2025-05-20 13:04:45 -04:00
cosmonaut
2dad6534b8
GPU: Add missing compute-writeable texture formats
2025-05-19 18:08:35 -07:00
Sam Lantinga
992e4c59bd
Fixed rare crash trying to interrupt SDL_WaitEvent()
...
Fixes https://github.com/libsdl-org/SDL/issues/12797
2025-05-19 14:15:44 -07:00
SDL Wiki Bot
4db8fe2f9b
Sync SDL3 wiki -> header
...
[ci skip]
2025-05-19 20:23:53 +00:00
Frank Praznik
6c61a94a4b
wayland: Don't add the nanosecond timestamp offset to the pre-conversion millisecond value
2025-05-19 13:59:46 -04:00
Sam Lantinga
25f2376e79
Fixed touch not being delivered as mouse events by default on Vita
...
Closes https://github.com/libsdl-org/SDL/pull/13070
2025-05-19 08:32:23 -07:00