| 
              
0db36f51
               | 
              
2013-10-05T17:08:19
               | 
              
               | 
              
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.
               | 
            
            
              
   
               | 
              
cc122ce5
               | 
              
2013-08-22T10:22:22
               | 
              
               | 
              
Fixes #2036 and #2038, bypass camera zoom and shutter keypresses on Android.
               | 
            
            
              
   
               | 
              
0eeb76d8
               | 
              
2013-08-19T16:29:46
               | 
              
               | 
              
Fixes bug #2037, common EGL code for Android and X11
               | 
            
            
              
   
               | 
              
dad42067
               | 
              
2013-08-12T11:13:50
               | 
              
               | 
              
Fixes #2022, do not resume on Android when surfaceChanged
If the app is in landscape mode and the user presses the power button, a pause
is followed immediately by a surfaceChanged event because the lock screen
is shown in portrait mode. This triggers a "false" resume.
So, we just pause and resume following the onWindowFocusChanged events.
Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before
blocking the event pump.
               |