diff --git a/src/system.c b/src/system.c index 0dd1987..8e03077 100644 --- a/src/system.c +++ b/src/system.c @@ -682,8 +682,9 @@ static void processGamepad() platform.touchCounter--; } - processTouchGamepad(); - processTouchKeyboard(); + platform.studio->isGamepadMode() + ? processTouchGamepad() + : processTouchKeyboard(); #endif processJoysticks();