mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-16 16:44:06 +00:00
ea67133e4f97b349dda6f1915b1d25e74c4acb26
These events fire for other things, such as pressing a barrel button while the pen is hovering. The correct thing to do is check IS_POINTER_INCONTACT_WPARAM in the event. If the pen is already touching or not, SDL_SendPenTouch() will do the right thing, so it's safe to call it even if we're already in the right state.
Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.
You can find the latest release and additional information at: https://www.libsdl.org/
Installation instructions and a quick introduction is available in INSTALL.md
This library is distributed under the terms of the zlib license, available in LICENSE.txt.
Enjoy!
Sam Lantinga (slouken@libsdl.org)
Languages
C
85.7%
C++
6.6%
Objective-C
3.4%
CMake
1.6%
Perl
0.7%
Other
1.7%