From eecc70569605f2167e4f590f12d0f6fded0131fb Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Tue, 10 Dec 2013 23:38:02 +0100 Subject: [PATCH] Loosen up the dpad diagonals again quite a bit. --- UI/GamepadEmu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/GamepadEmu.cpp b/UI/GamepadEmu.cpp index e2217d7c9f..8d7cf713e8 100644 --- a/UI/GamepadEmu.cpp +++ b/UI/GamepadEmu.cpp @@ -148,7 +148,7 @@ void PSPDpad::ProcessTouch(float x, float y, bool down) { int ctrlMask = 0; int lastDown = down_; - bool fourWay = g_Config.bDisableDpadDiagonals || rad < 1.25f; + bool fourWay = g_Config.bDisableDpadDiagonals || rad < 0.7f; if (down) { if (fourWay) { int direction = (int)(floorf((atan2f(dy, dx) / (2 * M_PI) * 4) + 0.5f)) & 3;