mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-01 06:12:43 +00:00
Only use tilt to control function in mobile
This commit is contained in:
parent
d09495b72c
commit
0394b78ca9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user