diff --git a/PlayTools/Controls/Frontend/ControlMode.swift b/PlayTools/Controls/Frontend/ControlMode.swift index 1913d842..ecbe96bf 100644 --- a/PlayTools/Controls/Frontend/ControlMode.swift +++ b/PlayTools/Controls/Frontend/ControlMode.swift @@ -81,6 +81,7 @@ public class ControlMode: Equatable { let centre = NotificationCenter.default let main = OperationQueue.main centre.addObserver(forName: NSNotification.Name.GCControllerDidConnect, object: nil, queue: main) { _ in + GCController.shouldMonitorBackgroundEvents = true GCController.current?.extendedGamepad?.valueChangedHandler = { profile, element in self.controllerAdapter.handleValueChanged(profile, element) }