A SwiftUI cross-import overlay for the Game Controller framework, available on iOS, tvOS, and visionOS. It lets you control whether game controller events are delivered exclusively to your view or shared with the system, using the GameControllerEventHandlingOptions struct to express that choice. Apply these options in your SwiftUI view hierarchy to coordinate how controller input is routed while your interface is active.
Controller Event Routing 1
Configure whether game controller events are delivered exclusively to your view or shared with the system.
- StGameControllerEventHandlingOptionsA type that specifies whether game controller events are handled exclusively by your view or shared with the system.
Extends 1
View