Game Controller

RSS for tag

Support hardware game controllers in your game using Game Controller.

Posts under Game Controller tag

126 Posts

Post

Replies

Boosts

Views

Activity

tvos 15 - Siri Remote not returning in the array: GCController.controllers()
in swiftUI & tvOS 15, when calling the GCController.controllers() to get the list of controllers connected to the apple tv, import GameController ... let siriRemoteAsGameController = GCController.controllers().first the Siri Remote is not registered as the first controller, in fact it is not registered at all ! up until tvOS 15 (14.7 for example) it was working even if i register for notification the connect event isn't dispatched for the already connected Siri remote NotificationCenter.default.addObserver(forName: .GCControllerDidConnect, object: nil, queue: .main) { note in print("GCControllerDidConnect") if let detectedGCController = note.object as? GCController { print("Controller Detected") } } GCController.startWirelessControllerDiscovery(completionHandler: {}) i cannot find a change in that area according to Appel's $#itty documentation any help would be appreciated
3
0
1.8k
Oct ’21
Haptic Grip Support for Sony DualSense Game Controller Grips?
Is there support for playing custom haptic files to the grips of Sony's DualSense Game Controller? The video mentions supporting the adaptive triggers on the DualSense. We are not finding a way to reference the haptic actuators in the grips. We'd like to play custom haptic files to them as well as audio to the speaker inside the DualSense. Searched the WWDC21 content as well as the documentation. Have not found the answer yet. Thank you!
1
0
1.6k
Sep ’21
Pointer lock Request doesn't honored by system
I have an app which uses mouse to interact in side the app , i want to lock pointer to prevent it from overlap with system gesture on iphone se 2020 like if pointer reach up right corner it grabs notification window i used method like here in WWDC2020 https://developer.apple.com/videos/play/wwdc2020/10617?time=461 with view controller and called func which should change pointer state from viewDidLoad func import UIKit class ViewController: UIViewController {       var pointerLocked :Bool = true   override var prefersPointerLocked: Bool   {     return pointerLocked   }   override func viewDidLoad()   {     super.viewDidLoad()     changePointerState(newState: false)   }      func changePointerState(newState:Bool)   {     pointerLocked=true     self.setNeedsUpdateOfPrefersPointerLocked()       } }
1
0
810
Aug ’21
tvos 15 - Siri Remote not returning in the array: GCController.controllers()
in swiftUI & tvOS 15, when calling the GCController.controllers() to get the list of controllers connected to the apple tv, import GameController ... let siriRemoteAsGameController = GCController.controllers().first the Siri Remote is not registered as the first controller, in fact it is not registered at all ! up until tvOS 15 (14.7 for example) it was working even if i register for notification the connect event isn't dispatched for the already connected Siri remote NotificationCenter.default.addObserver(forName: .GCControllerDidConnect, object: nil, queue: .main) { note in print("GCControllerDidConnect") if let detectedGCController = note.object as? GCController { print("Controller Detected") } } GCController.startWirelessControllerDiscovery(completionHandler: {}) i cannot find a change in that area according to Appel's $#itty documentation any help would be appreciated
Replies
3
Boosts
0
Views
1.8k
Activity
Oct ’21
Glitch in Pubg sound
Hi, when I turn on my mic my speaker volume is low and I cannot hear any game sounds . This happened since I updated to iOS 14 . Can anyone help me with how to solve this issue.
Replies
7
Boosts
0
Views
5.1k
Activity
Oct ’21
prefersPointerLocked not work on iPhone
(BOOL)prefersPointerLocked {   return YES; } It's works on iPadOS 14.4, but no works on iPhone. is there any way, to hide the pointer?
Replies
1
Boosts
0
Views
875
Activity
Sep ’21
Haptic Grip Support for Sony DualSense Game Controller Grips?
Is there support for playing custom haptic files to the grips of Sony's DualSense Game Controller? The video mentions supporting the adaptive triggers on the DualSense. We are not finding a way to reference the haptic actuators in the grips. We'd like to play custom haptic files to them as well as audio to the speaker inside the DualSense. Searched the WWDC21 content as well as the documentation. Have not found the answer yet. Thank you!
Replies
1
Boosts
0
Views
1.6k
Activity
Sep ’21
Does BLE Gamepad require MFI enrollment?
Hello, we developed Game controller which is connecting over BLE. It works on PC, Android and MAC but is not working on iOS. According to the MFI page https://mfi.apple.com/en/faqs.html devices with supported profiles do not require MFI. HID Gamepad is supported profile. So what might be the problem?
Replies
0
Boosts
0
Views
729
Activity
Sep ’21
Pointer lock Request doesn't honored by system
I have an app which uses mouse to interact in side the app , i want to lock pointer to prevent it from overlap with system gesture on iphone se 2020 like if pointer reach up right corner it grabs notification window i used method like here in WWDC2020 https://developer.apple.com/videos/play/wwdc2020/10617?time=461 with view controller and called func which should change pointer state from viewDidLoad func import UIKit class ViewController: UIViewController {       var pointerLocked :Bool = true   override var prefersPointerLocked: Bool   {     return pointerLocked   }   override func viewDidLoad()   {     super.viewDidLoad()     changePointerState(newState: false)   }      func changePointerState(newState:Bool)   {     pointerLocked=true     self.setNeedsUpdateOfPrefersPointerLocked()       } }
Replies
1
Boosts
0
Views
810
Activity
Aug ’21