Simple DirectMedia Layer https://libsdl.org
Find a file
Torge Matthies 711a458be5 x11: Fix duplicate Xinput2 event reception
Passing True for owner_events in the XGrabPointer call makes all
XI_RawMotion events appear in the queue twice, with the only difference
between them being the value of XGenericEventCookie::cookie. These have
always been filtered out by a check in the XI_RawMotion handler,
however with a mouse that polls at more than 1 kHz frequency, there
also exist legitimate events that appear indistinguishable from these
duplicated events. These must not be filtered out, otherwise the
pointer may move at an inconsistent speed, appearing like a bad pointer
acceleration implementation.

Change owner_events to False in the XGrabPointer and remove the
duplicate event detection code to fix this.

Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
(cherry picked from commit f18b5656f6)
2023-02-25 10:05:43 -08:00
.github ci: install pkg-config on Macos runner 2023-02-17 01:05:00 +03:00
acinclude
android-project Added support for the Turtle Beach REACT-R and Recon Xbox controllers 2023-02-21 11:29:45 -08:00
android-project-ant
build-scripts wikiheaders: Fix wikilinks inside code sections a little. Not perfect yet. 2023-02-24 14:30:34 -05:00
cmake cmake: really fix detection of pthread_setname_np() on Apple platforms. 2023-02-13 11:56:10 +03:00
docs N3DS: Backport semaphore fixes from #6776. 2022-12-11 17:09:28 -08:00
include Sync wiki -> headers. 2023-02-24 11:47:13 -05:00
mingw/pkg-support/cmake
src x11: Fix duplicate Xinput2 event reception 2023-02-25 10:05:43 -08:00
test Backport simplify flags PR #7220 2023-02-09 17:19:46 -08:00
VisualC
VisualC-GDK Updated copyright for 2023 2023-01-09 09:48:21 -08:00
VisualC-WinRT
visualtest
wayland-protocols Support wayland fractional scale protocol 2022-11-29 16:37:02 -05:00
Xcode Updated copyright for 2023 2023-01-09 09:48:21 -08:00
Xcode-iOS/Demos Cleanup add brace (#6545) 2022-11-28 12:33:03 -08: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 cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
.wikiheaders-options wikiheaders: Link to the SDL3 wiki in the preamble. 2023-01-26 14:45:12 -05:00
Android.mk android.mk: LOCAL_EXPORT_C_INCLUDES does not need to add include subfolder 2022-11-22 09:41:23 -08:00
autogen.sh
BUGS.txt
cmake_uninstall.cmake.in
CMakeLists.txt look for clock_gettime() in libc first, then in librt if not found. 2023-02-13 22:28:02 +03:00
configure look for clock_gettime() in libc first, then in librt if not found. 2023-02-13 22:28:02 +03:00
configure.ac look for clock_gettime() in libc first, then in librt if not found. 2023-02-13 22:28:02 +03:00
CREDITS.txt
INSTALL.txt
LICENSE.txt Updated copyright for 2023 2023-01-09 09:48:21 -08:00
Makefile.in added missing FGREP to Makefile.in. fixed syntax. regenerated configure. 2022-11-24 17:00:20 +03:00
Makefile.minimal
Makefile.os2 Updated to version 2.27.0 for development 2022-11-21 16:36:10 -08:00
Makefile.pandora
Makefile.w32 Updated to version 2.27.0 for development 2022-11-21 16:36:10 -08:00
README-SDL.txt
README.md
sdl2-config-version.cmake.in
sdl2-config.cmake.in cmake: assume autotools static libraries with lib prefix and .a suffix 2023-02-01 19:05:44 +01:00
sdl2-config.in Revert "sdl2-config.in: Deprecate sdl2-config" 2022-11-18 06:53:13 -08:00
sdl2.m4 Revert "sdl2.m4: Deprecate AM_PATH_SDL2 in favour of PKG_CHECK_MODULES" 2022-11-18 06:52:12 -08:00
sdl2.pc.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
SDL2.spec.in
SDL2Config.cmake.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
TODO.txt
WhatsNew.txt Added SDL_DISPLAYEVENT_MOVED to detect when display positioning changes 2022-12-08 12:46:13 -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)