SDL/android-project
Philipp Wiesemann 0db36f51aa Added detection of touch devices before first touch events happen on Android.
On Android available touch devices are now added with video initialization (like
the keyboard). This fixes SDL_GetNumTouchDevices() returning 0 before any touch
events happened although there is a touch screen available. The adding of touch
devices after a touch event was received is still active to allow connecting
devices later (if this is possible) and to provide a fallback if the new init
did not work somehow. For the implementation JNI was used and API level 9 is
required. There seems to be nothing in the Android NDK's input header (input.h)
to implement everything on C side without communication with Java side.
2013-10-05 17:08:19 +02:00
..
jni Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
res Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
src/org/libsdl/app Added detection of touch devices before first touch events happen on Android. 2013-10-05 17:08:19 +02:00
AndroidManifest.xml Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
ant.properties Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
build.properties Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
build.xml Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
default.properties Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
proguard-project.txt Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
project.properties Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00