Game Controller

RSS for tag

Support hardware game controllers in your game using Game Controller.

Game Controller Documentation

Posts under Game Controller tag

28 Posts
Sort by:
Post not yet marked as solved
4 Replies
1k Views
I have noticed that external keyboards connected to an Apple computer support the simultaneous pressing of 'Tab + W + Space' keys, but the in-built Apple keyboard does not. When I press the 'Tab + W' keys and then press the Space bar, the Apple computer only receives the 'Tab + W' events but not the Space event. Other combinations, such as 'Tab + A + Space', work normally. Can you please explain why this is the case and provide any solutions or advice? Thank you
Posted
by kodywu.
Last updated
.
Post not yet marked as solved
1 Replies
622 Views
I got a new MacBook pro a month ago (M2) and today is my first time pairing it with my PS4 controller. The pairing is successful, but my Macbook starts recognising my controller as my mouse. e.g. I can't choose anything with "X" in-game because it just keeps opening random apps on my laptop. I tried to turn off the configurations on Steam but it's still the same. How do I use my controller configurations in-game only and refrain my laptop from picking up actions? I used my controller for gaming with my old Macbook, and I never had any issues, the controller could only be used in games and Steam only.
Posted
by tblam.
Last updated
.
Post not yet marked as solved
1 Replies
734 Views
Hey there I have been trying to temporarily implement t GCVirtualController for a game I am working on but having trouble when it comes to portrait mode. Right now I have a D-Pad with 2 side buttons on the left side and then a 4 button pad on the right side when in landscape. However when I switch to portrait mode, only the buttons on the right side are visible. I was wondering if it is possible to show both sides when in portrait mode if anyone could help! Thank you
Posted
by KeeWhi.
Last updated
.
Post marked as solved
1 Replies
1k Views
Specifically the Nimbus+ ... but I tried for a few days a PlayStation Dual Sense ... and the identical problem with just Mac OS Ventura 13.3. One more thing, ZERO problems with my iPhone and your Apple TV. So, the following problem is ONLY with Ventura 13.3 (NOT 13.2 and earlier - just 13.3). Here's the problem .. the Nimbus+ will not stay connected and after about 15 seconds disconnects by itself. The above PlayStation Dual Sense sticks around for about 60 seconds and then disconnects by itself. For the record, I have several times chatted with Nimbus Tech Support. Total Failure, sorry to say. Some chatter out there in Google Land said that the blinking lights on my Nimbus+ show (to him) that the chargeable batteries are "bricked" and need to be reset. If true, then why does my Nimbus+ work great with my iPhone and Apple TV? Just asking ... I'm a computer programmer but I am not a hardware person who can take apart the Nimbus and hit its reset button. There you have it ... any help at all will be appreciated. JL
Posted
by JohnLove.
Last updated
.
Post marked as solved
3 Replies
2.0k Views
Now I am using iOS 16 beta 6, I can get buttonA/buttonB is pressed event. but cannot get accelerator motion data info.      //work     buttonA?.valueChangedHandler = {(_ button: GCControllerButtonInput, _ value: Float, _ pressed: Bool) -> Void in       print(">>> ButtonA tapped")     }     //work     buttonB?.valueChangedHandler = {(_ button: GCControllerButtonInput, _ value: Float, _ pressed: Bool) -> Void in       print(">>> ButtonB tapped")     }           // this is not works     gameController.motion?.valueChangedHandler = { (motion: GCMotion)->() in       print(">>>> motion data \(motion.acceleration.x) \(motion.acceleration.y) \(motion.acceleration.z)")       if let delegate = self.motionDelegate {         delegate.motionUpdate(motion: motion)       }     } Is there any plan to support this?
Posted
by haozes.
Last updated
.