ppsspp/Core/TiltEventProcessor.h

15 lines
518 B
C
Raw Normal View History

#pragma once
namespace TiltEventProcessor {
// generates a tilt in the correct coordinate system based on
// calibration. x, y, z is the current accelerometer reading (with no conversion).
2023-02-16 09:33:47 +00:00
void ProcessTilt(bool landscape, const float calibrationAngle, float x, float y, float z, bool invertX, bool invertY, float xSensitivity, float ySensitivity);
void ResetTiltEvents();
2023-02-01 13:58:16 +00:00
// Lets you preview the amount of tilt in TiltAnalogSettingsScreen.
extern float rawTiltAnalogX;
extern float rawTiltAnalogY;
} // namespace