From 022751926730312c8c9ec91350aa2afc3763c7a2 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 30 May 2021 21:02:57 +0200 Subject: [PATCH] Enable mouse emulation for Android As a temporarly solution untill we implement a proper virtual controller --- Source/utils/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/utils/display.cpp b/Source/utils/display.cpp index 023ebd902..a474a5213 100644 --- a/Source/utils/display.cpp +++ b/Source/utils/display.cpp @@ -127,7 +127,7 @@ bool SpawnWindow(const char *lpWindowName) scePowerSetArmClockFrequency(444); #endif -#if SDL_VERSION_ATLEAST(2, 0, 6) +#if SDL_VERSION_ATLEAST(2, 0, 6) && defined(__vita__) SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0"); #endif