mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-12 01:53:04 +08:00
87b1c9736f3eb98fde0bc4ad19f9f9efd4dbdc19
* Update SDL_mouse.c Stop a mouseID of SDL_PEN_MOUSEID being discarded when dispatching mouse events. I'm not sure if this enough to fix the lack of SDL_PEN_MOUSEID being emitted. * Update SDL_mouse.c Since we test for touch input here we also test for pen input in the same way. * Stop duplicate synthetic touch events If SDL_HINT_PEN_MOUSE_EVENTS and SDL_HINT_MOUSE_TOUCH_EVENTS are both enabled, the pen generated synthetic mouse event will then produce a touch event without this additional check. This requires the previous commits in order to do anything since it needs to be able to identify those pen generated mouse events.
…
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.6%
C++
6.6%
Objective-C
3.3%
CMake
1.7%
Python
0.7%
Other
1.8%