1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00
OpenMW/apps/openmw/mwinput/gyromanager.hpp
2023-07-22 18:27:53 +02:00

21 lines
376 B
C++

#ifndef MWINPUT_GYROMANAGER
#define MWINPUT_GYROMANAGER
#include <array>
namespace MWInput
{
class GyroManager
{
public:
void update(float dt, std::array<float, 3> values) const;
void setGuiCursorEnabled(bool enabled) { mGuiCursorEnabled = enabled; }
private:
bool mGuiCursorEnabled = true;
};
}
#endif // !MWINPUT_GYROMANAGER