1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 12:39:59 +00:00

Remove unnecessary mGuiCursorEnabled; from sensor manager

This commit is contained in:
uramer 2022-01-22 13:21:23 +01:00
parent 183ca3079e
commit a85f2b0b2a
3 changed files with 0 additions and 6 deletions

View File

@ -132,7 +132,6 @@ namespace MWInput
{
mControllerManager->setGuiCursorEnabled(guiMode);
mMouseManager->setGuiCursorEnabled(guiMode);
mSensorManager->setGuiCursorEnabled(guiMode);
mGyroManager->setGuiCursorEnabled(guiMode);
mMouseManager->setMouseLookEnabled(!guiMode);
if (guiMode)

View File

@ -15,7 +15,6 @@ namespace MWInput
, mGyroValues()
, mGyroUpdateTimer(0.f)
, mGyroscope(nullptr)
, mGuiCursorEnabled(true)
{
init();
}

View File

@ -36,8 +36,6 @@ namespace MWInput
void displayOrientationChanged() override;
void processChangedSettings(const Settings::CategorySettingVector& changed);
void setGuiCursorEnabled(bool enabled) { mGuiCursorEnabled = enabled; }
bool isGyroAvailable() const;
std::array<float, 3> getGyroValues() const;
@ -51,8 +49,6 @@ namespace MWInput
float mGyroUpdateTimer;
SDL_Sensor* mGyroscope;
bool mGuiCursorEnabled;
};
}
#endif