Wouter Wijsman
3a2b595c4f
PSP: Add locale support
2024-11-22 08:37:14 -08:00
SDL Wiki Bot
e94ba6e700
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-22 03:38:20 +00:00
SDL Wiki Bot
631c30527b
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-22 03:22:50 +00:00
Ryan C. Gordon
2e70944c44
gpu: Added an initial FAQ to the category documentation.
...
Fixes #11478 .
2024-11-21 19:57:14 -05:00
Frank Praznik
df73cae2b0
cocoa: Clear the pending flags on non-spaces fullscreen transitions
...
Transitions to or from a non-spaces fullscreen state are synchronous, so clear both the enter and leave pending flags when changing the state.
2024-11-21 11:47:21 -05:00
Eduard Gushchin
a4006e654e
Fixed typo in the name of the SDL_GetAppMetadataProperty function in the description of the SDL_SetAppMetadataProperty function
2024-11-21 05:53:06 -08:00
Sam Lantinga
5ee4d176f1
Added support for the Razer Wolverine V3 Pro
2024-11-21 05:51:57 -08:00
Ryan C. Gordon
a0591ec4a3
README-documentation-rules.md: Mention not listing types in param/returns docs.
2024-11-20 23:59:24 -05:00
SDL Wiki Bot
fef001cb48
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-21 04:53:43 +00:00
Ryan C. Gordon
e770b4e266
dialog: Clean up filter param documentation.
...
The apostrophe was incorrect, but the type is auto linked in the wiki anyhow,
so don't write it out ourselves.
2024-11-20 23:52:49 -05:00
SDL Wiki Bot
795ceae520
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-21 04:50:57 +00:00
Ryan C. Gordon
ecae3789ab
SDL_dialog.h: Remove verbose docs on callback param from several functions.
...
In the wiki, one can click on SDL_DialogFileCallback for these details, or
grep for the symbol in the headers to find the information.
Fixes #11504 .
2024-11-20 23:46:26 -05:00
Marcin Serwin
587384756f
render: use nearest pixel scaling for debug text
...
The debug text font is less legible when scaled linearly.
2024-11-20 18:06:53 -08:00
Ryan C. Gordon
2b744c7df3
cocoa: Refuse to SDL_Init(SDL_INIT_VIDEO) from background thread.
...
Fixes #11437 .
Reference PR #11502 .
2024-11-20 20:22:36 -05:00
Sam Lantinga
932bb968d7
Fixed infinite recursion when the microphone is unavailable
2024-11-20 16:07:43 -08:00
Sam Lantinga
1413848f41
Fixed crash if a window ends up without a display
2024-11-20 13:27:43 -08:00
Sam Lantinga
35e6c92c3c
Added the ROG Ally X to the list of Xbox controllers
...
This prevents Steam from opening the DirectInput versions of this controller that are added by installing Zenless Zone Zero.
2024-11-20 12:09:30 -08:00
Anonymous Maarten
4fb955c80b
cmake: fix sdlcpu.cmake for C89 compilers
2024-11-20 05:35:50 +01:00
Frank Praznik
aa352837d5
cocoa: Don't sync on a pending fullscreen event if the window is miniaturized
...
The fullscreen event will be processed after deminiaturization is complete. Fixes a delay when restoring a miniaturized window that will return to fullscreen.
2024-11-19 16:53:31 -05:00
Frank Praznik
18b7a2315c
cocoa: Restore fullscreen state on the window regaining key status
...
Ensure that fullscreen state is restored if a non-minimized fullscreen window regains key status. This can happen if a fullscreen window was requested to minimize on loss of key status, but the minimization didn't actually occur.
2024-11-19 12:10:31 -05:00
Frank Praznik
014196d98d
cocoa: Fix minimizing fullscreen windows on Sequoia
...
Sequoia seems to require that the window briefly be made key when minimizing it after coming out of fullscreen.
2024-11-19 12:10:31 -05:00
Sam Lantinga
7a074f582e
Steam Controller handling improvements
...
* Only handle the controller interfaces on a Steam Controller and wireless dongle
* Wait until we get the connected status when initializing a wireless dongle
2024-11-18 21:36:23 -08:00
SDL Wiki Bot
d2dc0fa920
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-19 02:19:43 +00:00
Sam Lantinga
0c53d9a1ee
Implemented SendEffect for Steam Controllers
2024-11-18 18:26:07 -08:00
Sam Lantinga
d8f8cf3e99
Added SDL_HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED
2024-11-18 14:50:37 -08:00
Sam Lantinga
184da780f5
Fixed a crash when unplugging a Steam Controller dongle
2024-11-18 12:13:42 -08:00
Frank Praznik
70fe38bcb2
wayland: Rename some display related variables to better reflect their purpose
...
Use the 'logical' prefix for the logical width and height, and clarify that the physical dimensions reflect the width/height in millimeters.
2024-11-18 11:39:27 -05:00
Sam Lantinga
e027b85cc4
Validate that pixel formats have the correct attributes
...
Also added a test to save and load as BMP format to make sure pixel transformations are working correctly.
Fixes https://github.com/libsdl-org/SDL/issues/11483
2024-11-17 11:58:57 -08:00
Anonymous Maarten
bd57cfdb55
ci: pin MSVC ARM Windows SDK version to 10.0.22621.0
2024-11-17 19:39:28 +01:00
Ozkan Sezer
0f9e551d71
joystick/gdk/SDL_gameinputjoystick.c: fix build errors due to -Wformat
2024-11-17 00:45:02 +03:00
Sam Lantinga
af6ce629c4
Make sure pairing remains enabled for the entire time dongle pairing is active
2024-11-16 13:42:12 -08:00
Sam Lantinga
2b10a040ff
Fixed rare case of wireless Steam Controller not being detected at startup
2024-11-16 13:10:02 -08:00
SDL Wiki Bot
572cc7af63
Sync SDL3 wiki -> header
...
[ci skip]
2024-11-16 04:44:23 +00:00
ChillerDragon
7d7ee43ddb
stdinc: document SDL_strnlen and SDL_strlen
...
See https://github.com/libsdl-org/sdlwiki/issues/635
2024-11-15 23:43:51 -05:00
expikr
e9f7a1b359
fix relative system scale function on Windows
...
source: https://web.archive.org/web/20161202223814/https://ihme.org/~orbik/random_stuff/donewmouseaccel.png
Co-Authored-By: Sam Lantinga <slouken@libsdl.org>
2024-11-15 16:00:19 -08:00
expikr
25390d6c21
fix relative warp emulation broken by #11460
2024-11-15 15:58:09 -08:00
Cameron Gutman
e0166256ff
joystick: Fix connection type for Steam Controller and Xbox 360 dongles
2024-11-15 17:54:14 -06:00
Sam Lantinga
8657fa8b3b
Improved reliability of the Steam Controller driver
2024-11-15 15:55:13 -08:00
expikr
f8468d580d
add brace for contitional
...
Co-authored-by: Sam Lantinga <slouken@libsdl.org>
2024-11-15 10:20:17 -08:00
expikr
eaef956a9a
fix errenous delta when warping
...
The following changes do not alter any logic:
- rename x/ydelta fields to x/y_accu to better reflect what it actually is about
- coalesce the logic for modifying internal state to one spot, branch based on whether the input was a move or a warp
The following changes alter the logic:
- put the x/y_accu addition under the relative branch only, warps should not add to the accumulation buffer by any definition
- (MAIN FIX) when the destination window desires relative mode, warp events should be dropped if SDL_MOUSE_RELATIVE_WARP_MOTION is false, or have x/yrel set to zero if true
2024-11-15 10:20:17 -08:00
Sam Lantinga
b54f6044a5
Removed Linux Steam Controller support
...
The HIDAPI driver has all the functionality we need on Linux
2024-11-15 08:53:40 -08:00
Sam Lantinga
b43b333d25
Moved the GPU renderer to the bottom of the list
...
We've gotten the feedback we wanted from having it first, so we'll move the other renderers back up for the widest compatibility across devices and platforms.
Fixes https://github.com/libsdl-org/SDL/issues/11468
2024-11-15 08:32:49 -08:00
ChillerDragon
7f14eb33c6
snake: improve comment
2024-11-14 22:40:07 -08:00
Sam Lantinga
b71151a697
Added support for pairing controllers to the Steam Controller dongle
2024-11-14 20:04:31 -08:00
Ryan C. Gordon
e4778d53d3
testautomation_video: Another Emscripten test to be skipped.
2024-11-14 19:34:25 -05:00
Ryan C. Gordon
d48d4c8c48
testautomation_video: Don't test window position on Emscripten.
...
This _might_ fix GitHub Actions. We'll know once I push this! :)
2024-11-14 19:00:10 -05:00
Sam Lantinga
f0b61c69e7
Fixed duplicate controllers showing up on the Steam Controller wireless dongle
2024-11-14 14:19:16 -08:00
Sam Lantinga
fe3566ca46
Ignore Steam Controllers in the Linux driver if HIDAPI is handling them
2024-11-14 11:20:52 -08:00
Sam Lantinga
7959b08a4d
Fixed spacing
2024-11-14 09:25:57 -08:00
Ryan C. Gordon
6ca8269b96
docs/README-raspberrypi.md: Corrected NEON information (thanks, @cmitu!).
2024-11-14 12:11:29 -05:00