mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 06:30:55 +00:00
Don't reload preferences every time we poll for GUI gamepad input
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user