From 0394b78ca991a318364e0a0d409e89e02ebfcef5 Mon Sep 17 00:00:00 2001 From: danyalzia Date: Mon, 30 Sep 2013 00:07:38 +0500 Subject: [PATCH] Only use tilt to control function in mobile --- UI/EmuScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index f5404020d8..7b4587bc76 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -455,7 +455,7 @@ void EmuScreen::update(InputState &input) { // Apply tilt to left stick // TODO: Make into an axis -#ifndef _WIN32 +#ifdef USING_GLES2 if (g_Config.bAccelerometerToAnalogHoriz) { // TODO: Deadzone, etc. leftstick_x += clamp1(curve1(input.acc.y) * 2.0f) * g_Config.iTiltSensitivity / 100;