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:
parent
183ca3079e
commit
a85f2b0b2a
@ -132,7 +132,6 @@ namespace MWInput
|
||||
{
|
||||
mControllerManager->setGuiCursorEnabled(guiMode);
|
||||
mMouseManager->setGuiCursorEnabled(guiMode);
|
||||
mSensorManager->setGuiCursorEnabled(guiMode);
|
||||
mGyroManager->setGuiCursorEnabled(guiMode);
|
||||
mMouseManager->setMouseLookEnabled(!guiMode);
|
||||
if (guiMode)
|
||||
|
@ -15,7 +15,6 @@ namespace MWInput
|
||||
, mGyroValues()
|
||||
, mGyroUpdateTimer(0.f)
|
||||
, mGyroscope(nullptr)
|
||||
, mGuiCursorEnabled(true)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user