mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 02:43:30 +08:00
eaef956a9a
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 |
||
---|---|---|
.github | ||
android-project | ||
build-scripts | ||
cmake | ||
docs | ||
examples | ||
include | ||
src | ||
test | ||
VisualC | ||
VisualC-GDK | ||
wayland-protocols | ||
Xcode | ||
.clang-format | ||
.clang-tidy | ||
.editorconfig | ||
.gitignore | ||
.wikiheaders-options | ||
Android.mk | ||
BUGS.txt | ||
CMakeLists.txt | ||
CREDITS.md | ||
INSTALL.md | ||
LICENSE.txt | ||
README-SDL.txt | ||
README.md | ||
WhatsNew.txt |
Simple DirectMedia Layer (SDL) Version 3.0
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware. 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. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.
Enjoy!
Sam Lantinga (slouken@libsdl.org)