Move mouse with gyroscope, not tested yet.

This commit is contained in:
pelya
2014-04-20 23:54:08 +03:00
parent ee1e41ef17
commit 343bfe673a
16 changed files with 247 additions and 95 deletions

View File

@@ -71,10 +71,10 @@ extern void SDL_ANDROID_PumpEvents()
extern void SDL_ANDROID_MainThreadPushMouseMotion(int x, int y)
{
SDL_SendMouseMotion( ANDROID_CurrentWindow, 0, x, y );
SDL_ANDROID_currentMouseX = x;
SDL_ANDROID_currentMouseY = y;
SDL_SendMouseMotion( ANDROID_CurrentWindow, 0, x, y );
}
extern void SDL_ANDROID_MainThreadPushMouseButton(int pressed, int button)