mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Only use tilt to control function in mobile
This commit is contained in:
1 parent
d09495b72c
commit
0394b78ca9
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user