SDL-mirror/android-project
Philipp Wiesemann 1674b49dc4 Android: Fixed touch pressure being out of range.
According to the documentation of Android's MotionEvent, the getPressure() may
return values higher than 1 on some devices. To prevent passing such values into
SDL they are now corrected to 1 in Java before the JNI call (where it is assumed
to be correct).

Currently SDL only sends SDL_FINGERMOTION events if the touch state (position or
pressure) changed. By correcting pressure down to 1 some events may get dropped
in the rare case that only the pressure was changed but was out of range and the
position did not change.
2015-05-22 22:34:08 +02:00
..
jni Adds testgles2 2013-11-19 10:56:38 -03:00
res Fixed bug 1779 - SDL's Android project template has old default icons from Android. 2013-04-02 07:55:25 -07:00
src/org/libsdl/app Android: Fixed touch pressure being out of range. 2015-05-22 22:34:08 +02:00
AndroidManifest.xml Android: Fixed lint warning about order of elements in AndroidManifest.xml. 2015-04-13 20:52:38 +02:00
ant.properties Updated the Android project template and README.android 2012-11-02 02:37:49 -07:00
build.properties Added the Android project and lots of info to README.android 2011-01-06 17:12:31 -08:00
build.xml Updated the Android project template and README.android 2012-11-02 02:37:49 -07:00
default.properties Adds Joystick support for Android 2013-11-05 20:07:39 -03:00
proguard-project.txt Updated the Android project template and README.android 2012-11-02 02:37:49 -07:00
project.properties Adds Joystick support for Android 2013-11-05 20:07:39 -03:00