From 6cbd13d8b9b76e645789ceab71259e92c8fc4ba1 Mon Sep 17 00:00:00 2001 From: Vadim Grigoruk Date: Thu, 9 Aug 2018 20:53:36 +0300 Subject: [PATCH] #571 small fix --- src/system.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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();