Merge pull request #88978 from bruvzg/macos_bg_cont
[macOS] Enable input from controllers in the background.
This commit is contained in:
commit
90ed9a5de0
1 changed files with 4 additions and 0 deletions
|
@ -136,6 +136,10 @@
|
|||
JoypadMacOS::JoypadMacOS() {
|
||||
observer = [[JoypadMacOSObserver alloc] init];
|
||||
[observer startObserving];
|
||||
|
||||
if (@available(macOS 11.3, *)) {
|
||||
GCController.shouldMonitorBackgroundEvents = YES;
|
||||
}
|
||||
}
|
||||
|
||||
JoypadMacOS::~JoypadMacOS() {
|
||||
|
|
Loading…
Reference in a new issue