mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
21 lines
376 B
C++
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
|