Simple DirectMedia Layer https://libsdl.org
Find a file
atirado.net c8ebb1456e Backport VIRPIL Controls device IDs to SDL2
Backport of SDL3 fix (libsdl-org/SDL#15418).

VIRPIL Controls (VID 0x3344) flight sticks are
misclassified as gamepads by SDL's axis-count
heuristic because they report exactly 6 axes,
matching SDL_GAMEPAD_AXIS_COUNT. Adding them to
the appropriate device lists ensures correct
classification.

Tested on Linux (Fedora 43, kernel 6.19) with:
- R-VPC Stick MT-50CM3 (PID 0x4391)
- L-VPC Stick MT-50CM3 (PID 0x8390)
- VPC VMAX Prime Throttle (PID 0x0196)
2026-04-21 05:24:27 -10:00
.github policy: Clarify that "AI" means specific things. 2026-04-15 15:42:38 -04:00
acinclude libtool.m4: remove old_archive_from_new_cmds on os2 2026-03-19 10:55:20 +03:00
android-project Use singleTop launchMode for SDLActivity on Android 2026-04-13 09:28:58 +02:00
android-project-ant Added the old ant Android build project structure 2017-10-28 12:11:25 -07:00
build-scripts Updated copyright for 2026 2026-01-01 09:51:07 -08:00
cmake cmake: Fix header detection with CheckUSBHID 2026-01-28 07:45:11 -08:00
docs Sync SDL2 wiki -> header 2025-12-14 07:48:57 +00:00
include apply issue/#13952 fix to SDL_cpuinfo.h, too. 2026-03-17 17:01:10 +03:00
mingw/pkg-support fix: in sdl2.pc libdir was changed to prefix 2025-02-05 07:49:11 -08:00
src Backport VIRPIL Controls device IDs to SDL2 2026-04-21 05:24:27 -10:00
test cmake: bump CMake policy compatibilty version 2026-03-25 19:06:10 +01:00
VisualC Backport 8BitDo HIDAPI Driver to SDL2 (#15207) 2026-03-14 15:20:29 -07:00
VisualC-GDK Backport 8BitDo HIDAPI Driver to SDL2 (#15207) 2026-03-14 15:20:29 -07:00
VisualC-WinRT SDL2: Update from Visual Studio 2019 to Visual Studio 2022 2025-04-22 20:59:26 -07:00
visualtest Remove unneeded semicolon 2022-11-17 10:43:45 +01:00
wayland-protocols wayland: Apply toplevel bounds to windows 2025-01-06 17:13:16 -05:00
Xcode add new SDL_hidapi_8bitdo.c source to Xcode project 2026-03-15 02:40:14 +03:00
Xcode-iOS/Demos Xcode-iOS/Demos/src/fireworks.c: Make rendering CPU efficient 2025-07-12 07:35:08 -07:00
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2022-12-02 00:43:46 -08:00
.editorconfig editorconfig: remove trailing whitespace in source code 2022-12-26 10:34:45 -08:00
.gitignore Port build-script from SDL3 2024-11-02 01:58:46 +01:00
.wikiheaders-options Move comment in .wikiheaders-options to own line 2025-06-02 07:21:42 -04:00
AGENTS.md AGENTS.md: Change "may not" to "must not". 2026-04-15 17:27:57 -04:00
Android.mk Revert "Support Google Play 16 KB Page Size Requirement (#13470)" 2025-08-07 11:38:24 -07:00
autogen.sh Simplified autogen.sh, thanks to @smcv for the tip 2022-05-05 11:54:24 -07:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
CLAUDE.md CLAUDE.md: Just copy the text from AGENTS.md in here for now. 2026-04-16 13:55:59 -04:00
cmake_uninstall.cmake.in
CMakeLists.txt atomic: Fix missing full memory barrier on GCC/Clang 2026-04-20 06:17:49 -04:00
configure libtool.m4: remove old_archive_from_new_cmds on os2 2026-03-19 10:55:20 +03:00
configure.ac autotools: Replace sys/types.h usage with stdint.h with CheckUSBHID 2026-01-18 18:33:01 -08:00
CREDITS.txt
INSTALL.txt INSTALL.txt: Say "macOS" instead of "Mac OS X" in modern times. 2022-03-15 13:07:55 -04:00
LICENSE.txt Updated copyright for 2026 2026-01-01 09:51:07 -08:00
Makefile.in Makefile.in: add VisualC-GDK to SRC_DIST 2024-05-28 14:10:24 +03:00
Makefile.minimal Split up CFLAGS construction so it can be overridden 2023-03-29 07:26:34 -07:00
Makefile.os2 Backport 8BitDo HIDAPI Driver to SDL2 (#15207) 2026-03-14 15:20:29 -07:00
Makefile.pandora more fixes to standalone makefiles. 2021-11-13 21:56:20 +03:00
Makefile.w32 Backport 8BitDo HIDAPI Driver to SDL2 (#15207) 2026-03-14 15:20:29 -07:00
README-SDL.txt
README.md Update and rename README.txt to README.md 2021-03-20 18:46:37 -04:00
sdl2-config-version.cmake.in Add documentation to autotoo'ls sdl2-config-version.cmake.in 2022-05-31 00:10:55 +02:00
sdl2-config.cmake.in cmake: use genexes for linking against apple frameworks 2024-07-27 17:13:52 +02:00
sdl2-config.in sdl2-config.in: use backtics instead of $() for older shells 2024-07-14 19:36:46 +02:00
sdl2.m4 Typo fix 2024-09-14 21:13:56 -07:00
sdl2.pc.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
SDL2.spec.in license: Fixed references to COPYING.txt that are now LICENSE.txt. 2021-02-18 11:07:26 -05:00
SDL2Config.cmake.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
TODO.txt Fixed up legacy MoinMoin URLs at wiki.libsdl.org 2021-04-01 12:20:33 -04:00
WhatsNew.txt Added the environment variable SDL_LOGGING to control default log output 2024-01-27 19:46:25 -08:00

Simple DirectMedia Layer (SDL) Version 2.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)