Game Controller

RSS for tag

Support hardware game controllers in your game using Game Controller.

Game Controller Documentation

Posts under Game Controller tag

36 Posts
Sort by:
Post not yet marked as solved
1 Replies
29 Views
I got a bluetooth controller that I wanted to use on my macbook air, but when I try to use my controller nothing happens. Any help?
Posted
by Andrew_P.
Last updated
.
Post not yet marked as solved
31 Replies
21k Views
I tried to connect my xbox controller to my MacBook, even though the controller is registered in bluetooth setting, but it doesn't function at all. Have anyone met the same problem and if there's a fix for this problem
Posted
by Wisky_pro.
Last updated
.
Post not yet marked as solved
1 Replies
203 Views
Hey all. I took a look at a video that caught my attention(https://developer.apple.com/videos/play/wwdc2021/10081) and wish to use this for my ios and iPad game. However, the language used here is swift, and want to use either objective-c or c++. Did anyone here used this method shown is this video but without swift?
Posted Last updated
.
Post not yet marked as solved
5 Replies
705 Views
hey if i wanted to create an app that takes screenshots from an apple device (and any app within) to give context to an ai so the ai can then respond. Then the app parses the response then executes commands on behalf of the ai/user, how would I do so with the rule that "screenshots/captures are not allowed within other apps"? Want to stay within bounds of the rules in place. Possibilities: Ai assistant, Ai pals, passive automation
Posted Last updated
.
Post not yet marked as solved
1 Replies
255 Views
I'm working on an Immersive game that requires Controller input. The Happy Beam sample is supposed to support hand tracking and controller input. I have tested the controller input with a PS5 Dual Sense controller and all I can do is move around the scene while the game plays. But cannot interact with anything in the scene. Can anyone confirm this and or suggest how I can use a controller in an immersive space? I cannot find a single working example.
Posted
by BenBtg.
Last updated
.
Post not yet marked as solved
0 Replies
292 Views
Hello! I have a DJI MAVIC 3 drone and recently I got a stimulator to practice my flying skills but I have a problem, even tho my Mac Book recognizes the controller, I still can't use it to practice, it just shows like there is no controller connected. The stimulator I am using is Uncrashed FPV Drone, but I also tried to test it on DJI Assistance 2, can someone help me fix this issue please.
Posted
by Elvi.
Last updated
.
Post not yet marked as solved
0 Replies
262 Views
Hello, I want to connect my mouse to my iPad pro m2 and play PUBG mobile, but I cannot lock the mouse to the screen so I can use the mouse to turn my character and play the game. I was wondering how I could do that. I also watched a video on GCControler and GCmouse but I don't understand how to code that information into my iPad.
Posted
by Ariosafa.
Last updated
.
Post not yet marked as solved
4 Replies
610 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
356 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
431 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
681 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
1.5k 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
.
Post not yet marked as solved
6 Replies
1.2k Views
I want to use iPhone as a bluetooth keyboard or joystick to control a host device. To input contents or play games on another device. As far as I know. My goal can't be done. There are three relate frameworks: CoreBluetooth. When I try to add a peripheral with HID service 1812, the method returns a error. There's another HID service 1124, over BT classic. Is it available? ExternalAccessory. Our host device is not a MFI device. GameController. By this iPhone can work as a host device, not a input device. Thanks for any suggestions!
Posted
by Luke_187.
Last updated
.
Post not yet marked as solved
3 Replies
568 Views
As a digital artist from China who creates concept art for large gaming companies, I absolutely love using the iPad Pro and Apple Pencil. I rely on them for long hours each day to complete my work. Apple Pencil's design is truly innovative, and I am eager to praise its developers. They are undoubtedly geniuses, and I have always appreciated Apple's intuitive design that feels natural and instinctual to use. However, there are two missing features that are crucial to artists and users alike. I find it surprising that these features have not yet been implemented by Apple or any third-party tools. Therefore, I am reaching out to the developers themselves for help in bringing these essential features to Apple Pencil users. The first feature is the inability to customize the location of the pencil's point of contact. I hope that a system-level setting can be added to allow for micro-adjustments of the stylus's nose position. Technically, this is not a difficult feature to implement, as third-party software such as Artstudio Pro already offers it. The reason why this feature is so necessary is that many artists, including myself, use third-party stylus tips that are longer and thinner than the default tip. While they provide greater precision and tactile feedback, the point of contact is often shifted to the lower right of the physical point of contact with the screen. This inconsistency can make drawing and writing feel strange and uncomfortable, and it remains a significant pain point for many artists. The solution is simple: add a new setting called "Drawing Offset" to the Apple Pencil interface, which allows for adjustment of the stylus's point of contact by modifying the x and y axis values. This will ensure that no matter what type of stylus tip an artist uses, they can always achieve pinpoint accuracy. I am confident that the implementation of this feature will be greatly appreciated by artists all over the world. The second pressing feature is the ability to map keys on game controllers. As an artist, I have always dreamed of using my iPad to create professional artwork from any location, such as lounging on the couch or sitting in any outdoor setting. I imagined using the Switch's Joy-Con controller in my left hand as a shortcut for drawing tools. In reality, I often have to endure back pain while sitting at my desk to work. This is because I can only use the keyboard as a shortcut when drawing at my desk. I can't walk around with my keyboard and iPad to draw because Joy-Con cannot map various keyboard shortcuts to the iPad to assist with drawing. You might say, why not use gesture control? Gesture control is great and works well when I'm just doodling, but for professional-level precise drawing needs, a physical keyboard with shortcuts is a must. If, after connecting Joy-Con, I can customize the keyboard shortcuts mapped to each Joy-Con button in the settings, such as mapping Ctrl-Z to the trigger button, then I only need to draw with my right hand on the iPad, and my left hand can easily control the undo function by pressing the Joy-Con button. Even when lying on the couch, using Joy-Con as a shortcut keyboard is very intuitive. I think these two functions are very intuitive designs, and I originally thought that Apple should have had these functions already. Or, considering the shortcut key needs of artists for drawing after connecting Joy-Con, it would have allowed custom mapping of Joy-Con button positions to any keyboard shortcut. But unfortunately, it cannot be done, and it is also impossible to implement through third-party software. I hope you can consider adding these two functions to improve the drawing experience for artists, and I believe artists from all over the world will cheer for it. To be honest, this could be a revolution in experience and efficiency, and just these two functions will change everything about art creation, and people will love Apple for it. I will also continue to write to third-party drawing software companies and hope that they can develop similar feature support. Of course, the best situation would be if you saw what I said and it was just a matter of raising your hand to include these two features in the next update. I am truly grateful!
Posted
by Liguokai.
Last updated
.
Post not yet marked as solved
0 Replies
583 Views
Hi, I have tried many Controler Mappers (Enjoyable, GamePad Mapper...) and each of them doesn't automatically activate the mapping (config list) once the Gamepad is switched on (after being off). It has to be activated manually. I need this feature for an exhibition. Does anybody recommand a Mapping App that would do the job? Thanks
Posted
by Bapt.
Last updated
.
Post not yet marked as solved
2 Replies
1.1k Views
hey hey i have a question and i use the GCVirtualController in a spritekit game. But I think the elements in my scene are way too high. I would like them below. is it possible to change the elements such as the thumbstick, the Y or X position?
Posted
by blizzta1.
Last updated
.