Skip to content

Commit c24833f

Browse files
authored
Merge pull request #206 from Catta1997/master
fix: macOS Tahoe controller fix
2 parents 7b7cbd1 + dcc6b10 commit c24833f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

PlayTools/Controls/Frontend/ControlMode.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public class ControlMode: Equatable {
8181
let centre = NotificationCenter.default
8282
let main = OperationQueue.main
8383
centre.addObserver(forName: NSNotification.Name.GCControllerDidConnect, object: nil, queue: main) { _ in
84+
GCController.shouldMonitorBackgroundEvents = true
8485
GCController.current?.extendedGamepad?.valueChangedHandler = { profile, element in
8586
self.controllerAdapter.handleValueChanged(profile, element)
8687
}

0 commit comments

Comments
 (0)