mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Simplify tilt, step 1
This commit is contained in:
1 parent
99b2349d6b
commit
a288c59841
3 files changed
+13
-20
No files matched your search
+1
-3
@@ -1404,11 +1404,9 @@ void NativeAxis(const AxisInput &axis) {
|
||||
// see [http://developer.android.com/guide/topics/sensors/sensors_overview.html] for details
|
||||
bool landscape = dp_yres < dp_xres;
|
||||
// now transform out current tilt to the calibrated coordinate system
|
||||
Tilt trueTilt = GenTilt(landscape, tiltBaseAngleY, tiltX, tiltY, tiltZ,
|
||||
ProcessTilt(landscape, tiltBaseAngleY, tiltX, tiltY, tiltZ,
|
||||
g_Config.bInvertTiltX, g_Config.bInvertTiltY,
|
||||
xSensitivity, ySensitivity);
|
||||
|
||||
TranslateTiltToInput(trueTilt);
|
||||
}
|
||||
|
||||
void NativeMessageReceived(const char *message, const char *value) {
|
||||
|
||||
Reference in new issue
Block a user