mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Merge pull request #4515 from bollu/improvedTilControls
Redid the tilt controls in a nicer way
This commit is contained in:
commit
b0bfda6333
13 files changed
+329
-18
No files matched your search
@@ -506,6 +506,7 @@ void EmuScreen::update(InputState &input) {
|
||||
// Apply tilt to left stick
|
||||
// TODO: Make into an axis
|
||||
#ifdef USING_GLES2
|
||||
/*
|
||||
if (g_Config.bAccelerometerToAnalogHoriz) {
|
||||
// Get the "base" coordinate system which is setup by the calibration system
|
||||
float base_x = g_Config.fTiltBaseX;
|
||||
@@ -538,6 +539,7 @@ void EmuScreen::update(InputState &input) {
|
||||
leftstick_y += clamp1(delta_y);
|
||||
__CtrlSetAnalogY(clamp1(leftstick_y), CTRL_STICK_LEFT);
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
|
||||
// Make sure fpsLimit starts at 0
|
||||
|
||||
Reference in new issue
Block a user