Ryujinx-SDL/android-project
Philipp Wiesemann 1968ff0471 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 Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00
res Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00
src/org/libsdl/app Android: Fixed touch pressure being out of range. 2015-05-22 22:34:08 +02:00
AndroidManifest.xml Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00
ant.properties Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00
build.properties Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00
build.xml Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00
default.properties Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00
proguard-project.txt Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00
project.properties Windows: Always set the system timer resolution to 1ms by default. 2015-04-20 12:22:44 -04:00