Ryan C. Gordon 59574fe2f0 x11: Normalize x11xinput2 touch x to be 1.0 at width (thanks, Zach!).
"Applications (such as SDL's testgesture) do "event.tfinger.x * window_width"
to find window coord. Currently the X11 XInput2 backend expects application
to do "event.tfinger.x * (window_width-1)" instead.

X11 XInput2 touch events are normalized so x is 1.0 at "width - 1" but other
SDL backends appear to have x be 1.0 at "width". Same issue for touch event
y with regards to height."

Fixes Bugzilla #4183.
2018-06-24 13:57:22 -04:00
2018-01-03 10:03:25 -08:00
2018-05-21 11:35:42 -04:00
2018-06-12 14:00:15 +03:00
2018-06-12 14:00:15 +03:00
2018-06-12 14:00:15 +03:00
2018-06-12 14:00:15 +03:00
2018-06-12 14:00:15 +03:00
2018-01-03 10:03:25 -08:00
2017-08-27 22:15:57 -04: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)

S
Description
Simple Directmedia Layer
Readme 232 MiB
Languages
C 87.8%
C++ 4%
Objective-C 3.4%
CMake 1.7%
Python 0.8%
Other 2%