diff --git a/src/win32.cc b/src/win32.cc index 6727d5b..b9474fc 100644 --- a/src/win32.cc +++ b/src/win32.cc @@ -43,6 +43,7 @@ int main(int argc, char* argv[]) #endif #if __ANDROID__ + SDL_SetHint(SDL_HINT_ANDROID_TRAP_BACK_BUTTON, "1"); SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0"); SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0"); chdir(SDL_AndroidGetExternalStoragePath());