Commit Graph

4435 Commits

Author SHA1 Message Date
Sanjay Govind
fdc5efe1cb add vids and pids for a variety of xbox 360 devices (#15211)
Added vids for a variety of xbox 360 devices, mostly for linux use.
Corrected wheel vid and pid being flagged as unknown. Internally, when XUSB is building vid and pids for wireless devices, it assigns 0x02a1 for devices with subtype 1 and 0x02a2 for devices with subtype 2, which are wheels.

Some of these vids and pids do rely on the following patch being merged into the linux kernel, as I have overhauled how VID and PIDs are handled there for wireless devices.
https://patchwork.kernel.org/project/linux-input/patch/20260314075034.1488655-2-sanjay.govind9@gmail.com/

Also added some lists for guitar and drum devices, so we can set controller types correctly for those controllers.
2026-03-17 09:45:26 -07:00
Sam Lantinga
fbc49daab7 Clarified SDL_EVENT_WINDOW_ICCPROF_CHANGED documentation (thanks @JacksonAllan!) 2026-03-16 17:14:44 -07:00
SDL Wiki Bot
5f78ded319 Sync SDL3 wiki -> header
[ci skip]
2026-03-15 10:59:52 +00:00
SDL Wiki Bot
8bf3b7215a Sync SDL3 wiki -> header
[ci skip]
2026-03-14 18:58:22 +00:00
SDL Wiki Bot
d20c7e537d Sync SDL3 wiki -> header
[ci skip]
2026-03-10 12:43:12 +00:00
SDL Wiki Bot
6ccf3d097e Sync SDL3 wiki -> header
[ci skip]
2026-03-09 20:14:48 +00:00
SDL Wiki Bot
466ab45722 Sync SDL3 wiki -> header
[ci skip]
2026-03-08 23:13:12 +00:00
Mike Egger
ae3ae4ba44 windows: support flag RIDEV_INPUTSINK in raw input (#15182) 2026-03-08 16:11:33 -07:00
SDL Wiki Bot
b3f4ebad28 Sync SDL3 wiki -> header
[ci skip]
2026-03-08 14:38:51 +00:00
SDL Wiki Bot
d0a7290689 Sync SDL3 wiki -> header
[ci skip]
2026-03-07 16:20:37 +00:00
Caleb Cornett
12a435e11d gdk: Update Suspend/Resume best practices.
Updated testgdk to demonstrate correct handling of suspend/resume and the new Render APIs, and updated the docs to explain the correct usage of these GDK functions.
2026-03-07 11:19:09 -05:00
Ethan Lee
ee5c5cf755 render: Add Suspend/Resume calls for GDK support 2026-03-07 11:19:09 -05:00
Ozkan Sezer
6a87abb5b4 undo damage from wiki-commit 4e4493f579 2026-03-07 10:05:02 +03:00
SDL Wiki Bot
4e4493f579 Sync SDL3 wiki -> header
[ci skip]
2026-03-06 18:08:12 +00:00
Frank Praznik
e7199cad0b Deprecate SDL_INIT_EVERYTHING from SDL2
Adds SDL_INIT_EVERYTHING to the deprecated symbol list, and renames an internal usage to avoid a warning.
2026-03-03 14:00:40 -05:00
BurstRange
d3672b0c3a Fixed typo to "pseudo" 2026-03-03 13:31:13 -05:00
SDL Wiki Bot
75c9b082ef Sync SDL3 wiki -> header
[ci skip]
2026-03-03 13:55:57 +00:00
Void Star Caster
2e3300e872 Functions to bind GPURenderState storage textures, buffers and sampler bindings (#15150) 2026-03-02 12:50:58 -08:00
Antonio Lattanzio
4c52cfb495 oldnames: Add missing deprecated SDL2 symbol mappings (#15137) 2026-03-02 09:44:36 -08:00
SDL Wiki Bot
abeb392959 Sync SDL3 wiki -> header
[ci skip]
2026-03-01 02:36:59 +00:00
Sam Lantinga
5340d6a94c Fixed definition of builtin function '_m_prefetch'
Fixes https://github.com/libsdl-org/SDL/issues/15116
2026-02-25 14:29:07 -08:00
SDL Wiki Bot
0246598d62 Sync SDL3 wiki -> header
[ci skip]
2026-02-25 14:51:12 +00:00
SDL Wiki Bot
03fcc037d9 Sync SDL3 wiki -> header
[ci skip]
2026-02-25 14:33:40 +00:00
SDL Wiki Bot
bad072e693 Sync SDL3 wiki -> header
[ci skip]
2026-02-25 14:21:56 +00:00
Ethan Lee
5770e013c2 gdk: Render/GPU can call SuspendX, document when to call SuspendComplete 2026-02-25 09:20:25 -05:00
Brenton Bostick
a5889b0e44 make sure #endif comment matches the macro name 2026-02-24 09:48:57 -08:00
SDL Wiki Bot
2e18cf8d09 Sync SDL3 wiki -> header
[ci skip]
2026-02-22 00:07:28 +00:00
Sam Lantinga
21e10b2e76 Note that SDL_getenv() is case sensitive
Fixes https://github.com/libsdl-org/SDL/issues/15086
2026-02-21 10:49:57 -08:00
SDL Wiki Bot
e4d6383b52 Sync SDL3 wiki -> header
[ci skip]
2026-02-21 15:56:44 +00:00
SDL Wiki Bot
2aacf018f0 Sync SDL3 wiki -> header
[ci skip]
2026-02-20 19:31:49 +00:00
Ryan C. Gordon
69ddf1d6c7 docs: Clarify symlink info in SDL_GetPathInfo, etc.
Fixes #15078.
2026-02-20 14:30:26 -05:00
Ryan C. Gordon
1223767b2c include: More \threadsafety documentation.
Reference Issue #7140.
2026-02-20 10:45:39 -05:00
SDL Wiki Bot
72ed7d0f87 Sync SDL3 wiki -> header
[ci skip]
2026-02-19 00:52:16 +00:00
Ryan C. Gordon
28e4269915 include: Added \threadsafety notes to about 60 more functions.
Reference Issue #7140.
2026-02-18 19:49:59 -05:00
Ryan C. Gordon
10b524c7cc hints: Rename SDL_HINT_OPENGL_FORCE_SRGB_CAPABLE.
It's now SDL_HINT_OPENGL_FORCE_SRGB_FRAMEBUFFER, since it does more than mess
with the srgb-capable context attribute now.

Reference Issue #14898.
2026-02-14 16:33:21 -05:00
Ryan C. Gordon
ead67481c0 video: Only set GL_FRAMEBUFFER_SRGB state if the hint requests it.
Reference Issue #14898.
2026-02-14 16:33:21 -05: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