| Summary: | Mouse deficiencies in Android... | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | philipp.wiesemann, sylvain.becker |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
|
Description
Ryan C. Gordon
2015-04-06 23:29:17 UTC
In case you decide to bump the targetSdkVersion, please explicitly states the APP_PLATFORM for the native libraries. If no APP_PLATFORM is defined in jni/Application.mk, then the one that will be applied is the targetSdkVersion of AndroidManifest.xml. (which is bad because, the minSdkVersion should be applied) (see https://bugzilla.libsdl.org/show_bug.cgi?id=2758) for the record, in API 26 Android 8.0: https://developer.android.com/reference/android/view/View.html#requestPointerCapture() When the window has pointer capture, the mouse pointer icon will disappear and will not change its position. Further mouse will be dispatched with the source SOURCE_MOUSE_RELATIVE, and relative position changes will be available through getX() and getY(). Non-mouse events (touchscreens, or stylus) will not be affected. Since, this is api 16, there is mouse relative support and cursor also. I am closing it |