Simple DirectMedia Layer https://libsdl.org
Find a file
Max Maisel c084e647ed Drain HIDAPI buffer in SDL_hidapi_steamdeck.c.
Add a loop around SDL_hid_read() in the Steam Deck HIDAPI driver as it
is done in other HIDAPI drivers. This loop reads data from the device and
processes it until the input buffer is empty which ensures that clients
always get the latest data.

This fixes an input latency issue if the application polls the events
slower than the hardware generates them.

(cherry picked from commit 22770e6496)
2024-07-05 08:29:01 -07:00
.github CI, macOS: install autoconf. 2024-04-24 00:39:00 +03:00
acinclude
android-project Updated to version 2.30.5 for release 2024-07-03 14:21:42 -07:00
android-project-ant
build-scripts
cmake
docs
include Updated to version 2.30.5 for release 2024-07-03 14:21:42 -07:00
mingw/pkg-support/cmake
src Drain HIDAPI buffer in SDL_hidapi_steamdeck.c. 2024-07-05 08:29:01 -07:00
test Fixed build 2024-06-29 11:22:48 -07:00
VisualC
VisualC-GDK Fixed building with GDK (thanks @Romans-I-XVI!) 2024-04-30 10:21:38 -07:00
VisualC-WinRT
visualtest
wayland-protocols
Xcode Updated to version 2.30.5 for release 2024-07-03 14:21:42 -07:00
Xcode-iOS/Demos
.clang-format
.editorconfig
.gitignore
.wikiheaders-options
Android.mk
autogen.sh
BUGS.txt
cmake_uninstall.cmake.in
CMakeLists.txt Updated to version 2.30.5 for release 2024-07-03 14:21:42 -07:00
configure Updated to version 2.30.5 for release 2024-07-03 14:21:42 -07:00
configure.ac Updated to version 2.30.5 for release 2024-07-03 14:21:42 -07:00
CREDITS.txt
INSTALL.txt
LICENSE.txt
Makefile.in Makefile.in: add VisualC-GDK to SRC_DIST 2024-05-28 14:10:28 +03:00
Makefile.minimal
Makefile.os2 Updated to version 2.30.5 for release 2024-07-03 14:21:42 -07:00
Makefile.pandora
Makefile.w32 Updated to version 2.30.5 for release 2024-07-03 14:21:42 -07:00
README-SDL.txt
README.md
sdl2-config-version.cmake.in
sdl2-config.cmake.in
sdl2-config.in
sdl2.m4
sdl2.pc.in
SDL2.spec.in
SDL2Config.cmake.in
TODO.txt
WhatsNew.txt

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)