1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 21:32:42 +00:00
OpenMW/apps/openmw/mwinput/gyromanager.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
376 B
C++
Raw Normal View History

2022-01-18 22:47:49 +01:00
#ifndef MWINPUT_GYROMANAGER
#define MWINPUT_GYROMANAGER
2023-07-22 00:52:37 +02:00
#include <array>
2022-01-18 22:47:49 +01:00
namespace MWInput
{
class GyroManager
{
public:
void update(float dt, std::array<float, 3> values) const;
void setGuiCursorEnabled(bool enabled) { mGuiCursorEnabled = enabled; }
private:
2023-07-22 00:52:37 +02:00
bool mGuiCursorEnabled = true;
2022-01-18 22:47:49 +01:00
};
}
#endif // !MWINPUT_GYROMANAGER