Use SDL's keyboard grab support now that it's been upstreamed

This commit is contained in:
Cameron Gutman
2021-01-27 19:59:13 -06:00
parent 4b9e90ac72
commit 9fc921f49f
5 changed files with 47 additions and 201 deletions
+2
View File
@@ -19,6 +19,7 @@ public:
Q_PROPERTY(bool hasWindowManager MEMBER hasWindowManager CONSTANT)
Q_PROPERTY(bool hasBrowser MEMBER hasBrowser CONSTANT)
Q_PROPERTY(bool hasDiscordIntegration MEMBER hasDiscordIntegration CONSTANT)
Q_PROPERTY(bool supportsWindowedSystemKeyCapture MEMBER supportsWindowedSystemKeyCapture CONSTANT)
Q_PROPERTY(QString unmappedGamepads MEMBER unmappedGamepads NOTIFY unmappedGamepadsChanged)
Q_PROPERTY(int maximumStreamingFrameRate MEMBER maximumStreamingFrameRate CONSTANT)
Q_PROPERTY(QSize maximumResolution MEMBER maximumResolution CONSTANT)
@@ -43,6 +44,7 @@ private:
bool hasWindowManager;
bool hasBrowser;
bool hasDiscordIntegration;
bool supportsWindowedSystemKeyCapture;
QString unmappedGamepads;
int maximumStreamingFrameRate;
QSize maximumResolution;