mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-10-25 14:47:02 +00:00
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. |
||
|---|---|---|
| .. | ||
| jni | ||
| res | ||
| src/org/libsdl/app | ||
| AndroidManifest.xml | ||
| ant.properties | ||
| build.properties | ||
| build.xml | ||
| default.properties | ||
| proguard-project.txt | ||
| project.properties | ||