SDL-mirror/src
Sam Lantinga 721ac5f4d8 Fixed bug 1423 - Finger touch events don't report pressure
Philip Taylor 2012-02-19 08:34:52 PST

SDL_touch.c never actually uses the 'pressurein' arguments to
SDL_SendFingerDown/SDL_SendTouchMotion, so it doesn't report the real pressure.
Also it uses touch->pressureres which is never initialised. Also it fails to
initialise some fields of event.tfinger for certain events, so applications
might try to use bogus data.

The attached patch seems to be enough to produce generally sensible output on
Android.
2012-02-20 23:54:33 -05:00
..
atomic Make sure that we use consistent configuration options on platforms like Windows so that command line builds and IDE builds have ABI compatibility. 2012-01-14 13:21:19 -05:00
audio Replaced some assert macros with SDL_assert. 2012-02-07 02:11:15 -05:00
core Fixed bug 1417 - Android_JNI_FileClose local reference bug 2012-02-12 20:57:32 -05:00
cpuinfo Happy New Year! 2011-12-31 09:28:07 -05:00
events Fixed bug 1423 - Finger touch events don't report pressure 2012-02-20 23:54:33 -05:00
file Happy New Year! 2011-12-31 09:28:07 -05:00
haptic Check return value, not unsigned "supported" flags 2011-12-31 13:28:07 -05:00
joystick FreeBSD compile fix 2012-02-15 21:06:45 -05:00
libm Happy New Year! 2011-12-31 09:28:07 -05:00
loadso Happy New Year! 2011-12-31 09:28:07 -05:00
main Added the correct version.rc to the Visual Studio build. 2012-01-21 12:10:14 -05:00
power Happy New Year! 2011-12-31 09:28:07 -05:00
render Fixed bug 1419 - SDL_libgl2D.c breaks ndk-build 2012-02-15 21:11:21 -05:00
stdlib Replaced some assert macros with SDL_assert. 2012-02-07 02:11:15 -05:00
thread Fixed bug 1426 - SDL_SemWaitTimeout returns -1 and sets error instead of SDL_MUTEX_TIMEDOUT on time out 2012-02-20 23:51:53 -05:00
timer Happy New Year! 2011-12-31 09:28:07 -05:00
video Add OpenGL 3.X context creation support 2012-02-20 23:37:57 -05:00
SDL.c Happy New Year! 2011-12-31 09:28:07 -05:00
SDL_assert.c Make sure that we use consistent configuration options on platforms like Windows so that command line builds and IDE builds have ABI compatibility. 2012-01-14 13:21:19 -05:00
SDL_assert_c.h Happy New Year! 2011-12-31 09:28:07 -05:00
SDL_error.c Happy New Year! 2011-12-31 09:28:07 -05:00
SDL_error_c.h Happy New Year! 2011-12-31 09:28:07 -05:00
SDL_fatal.c Happy New Year! 2011-12-31 09:28:07 -05:00
SDL_fatal.h Happy New Year! 2011-12-31 09:28:07 -05:00
SDL_hints.c Happy New Year! 2011-12-31 09:28:07 -05:00
SDL_hints_c.h Happy New Year! 2011-12-31 09:28:07 -05:00
SDL_log.c Happy New Year! 2011-12-31 09:28:07 -05:00