moved tilt logic to separate unit and enabled tilt to control multiple input types

This commit is contained in:
bollu committed 2013-11-11 17:22:04 +05:30
1 parent 9afe69fa62
commit 9c219bc18b
9 files changed
+306 -12

No files matched your search

+2
View File
@@ -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