We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b7cbd1 + dcc6b10 commit c24833fCopy full SHA for c24833f
1 file changed
PlayTools/Controls/Frontend/ControlMode.swift
@@ -81,6 +81,7 @@ public class ControlMode: Equatable {
81
let centre = NotificationCenter.default
82
let main = OperationQueue.main
83
centre.addObserver(forName: NSNotification.Name.GCControllerDidConnect, object: nil, queue: main) { _ in
84
+ GCController.shouldMonitorBackgroundEvents = true
85
GCController.current?.extendedGamepad?.valueChangedHandler = { profile, element in
86
self.controllerAdapter.handleValueChanged(profile, element)
87
}
0 commit comments