mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
moved tilt logic to separate unit and enabled tilt to control multiple input types
This commit is contained in:
1 parent
9afe69fa62
commit
9c219bc18b
9 files changed
+306
-12
No files matched your search
@@ -481,6 +481,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
|
||||
@@ -515,6 +516,7 @@ void EmuScreen::update(InputState &input) {
|
||||
__CtrlSetAnalogY(clamp1(leftstick_y), CTRL_STICK_LEFT);
|
||||
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
|
||||
// Make sure fpsLimit starts at 0
|
||||
|
||||
Reference in new issue
Block a user