Don't reload preferences every time we poll for GUI gamepad input

This commit is contained in:
Cameron Gutman
2024-03-31 14:54:36 -05:00
parent 0e1190a059
commit cf544a8703
2 changed files with 4 additions and 3 deletions
+3
View File
@@ -5,6 +5,8 @@
#include <SDL.h>
#include "settings/streamingpreferences.h"
class SdlGamepadKeyNavigation : public QObject
{
Q_OBJECT
@@ -35,4 +37,5 @@ private:
bool m_UiNavMode;
bool m_FirstPoll;
Uint32 m_LastAxisNavigationEventTime;
StreamingPreferences m_Prefs;
};