Use SDL's keyboard grab support now that it's been upstreamed
This commit is contained in:
parent
4b9e90ac72
commit
9fc921f49f
5 changed files with 47 additions and 201 deletions
|
|
@ -68,6 +68,12 @@ SystemProperties::SystemProperties()
|
|||
hasDiscordIntegration = false;
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_DARWIN
|
||||
supportsWindowedSystemKeyCapture = false;
|
||||
#else
|
||||
supportsWindowedSystemKeyCapture = true;
|
||||
#endif
|
||||
|
||||
unmappedGamepads = SdlInputHandler::getUnmappedGamepads();
|
||||
|
||||
// Populate data that requires talking to SDL. We do it all in one shot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue