Game Controller

RSS for tag

Support hardware game controllers in your game using Game Controller.

Posts under Game Controller tag

123 Posts

Post

Replies

Boosts

Views

Activity

Game Controller Framework for visionOS Apps
Hi, I was working on implementation of game controller input to my game. I've connected my Xbox controller and tried to do a test and it is working in an macOS application. I wanted to port it to my visionOS app but the app can't seem to recognize my gamepad inputs. But visionOS simulator can recognize because it is changing camera by gamepad input. According to documentation GCController functions supports visionOS. Do the apps directly supports GC input? Or do I make mistake in my code? Thanks
2
0
1.2k
Oct ’23
[GPTK] Unity game controller support
While my GPTK setup works fine with games like Rocket League, any Unity made game will freeze when a joystick input is given. I've tested this with 'Zeepkist' and 'Engine Evolution 2021', both have full steam controller support enabled. If I run the GPTK game in foreground, right after moving the joystick, this error is logged: 0bac:fixme:rawinput:rawinput_from_hardware_message Unhandled rawinput type 0x100 This only happens when Steam is running. For example, running the 'Zeepkist' .exe manually while Steam is NOT RUNNING, the controller works fine! Most of the time this results in a crash throwing: 0bbc:fixme:dbghelp:SymLoadModuleExW Unsupported Flags 00000005 for (null) 0bbc:fixme:dbghelp:SymLoadModuleExW Unsupported Flags 00000005 for (null) 0bbc:fixme:dbghelp:SymRegisterFunctionEntryCallback64 (0000000000000084 0000000140036E50 2508e0): stub! wine: Unhandled page fault on read access to 0000001BFFFFFFE4 at address 000000006E73B991 (thread 0bac), starting debugger... 0bbc:fixme:file:CancelSynchronousIo (000000000000007C): stub 0810:fixme:imm:ImeSetActiveContext (0x36ed10, 1): stub 0810:fixme:imm:ImmReleaseContext (000000000009020A, 000000000036ED10): stub I would love to play Unity games using GPTK. Please suggest any tips/tricks to resolve this issue.
0
0
1.2k
Oct ’23
Ai controlled i-devices dev help
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
5
0
2.5k
Aug ’23
Controller Input Not Working in HappyBeam Sample
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.
1
0
1k
Aug ’23
My RC PRO Controller is not working
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.
0
0
1.2k
Jul ’23
Mouse and video games
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.
0
0
1.2k
Jun ’23
Why is it that the Apple keyboard cannot handle simultaneous typing of the 'Tab + W + Space' keys, which are commonly used in games?
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
5
0
1.5k
Jun ’23
How to use my game controller in-game only but not as a mouse?
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.
1
0
949
May ’23
Help with GCVirtualController in portrait mode
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
1
1
1.2k
May ’23
game controlllers and Mac OS 13.3
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
1
0
1.7k
Apr ’23
Does iOS support to work as a HID device via bluetooth?
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!
7
0
4.5k
Mar ’23
Two important feature suggestions that will benefit artists and Apple Pencil users worldwide
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!
3
2
1.1k
Mar ’23
Game Controller Framework for visionOS Apps
Hi, I was working on implementation of game controller input to my game. I've connected my Xbox controller and tried to do a test and it is working in an macOS application. I wanted to port it to my visionOS app but the app can't seem to recognize my gamepad inputs. But visionOS simulator can recognize because it is changing camera by gamepad input. According to documentation GCController functions supports visionOS. Do the apps directly supports GC input? Or do I make mistake in my code? Thanks
Replies
2
Boosts
0
Views
1.2k
Activity
Oct ’23
[GPTK] Unity game controller support
While my GPTK setup works fine with games like Rocket League, any Unity made game will freeze when a joystick input is given. I've tested this with 'Zeepkist' and 'Engine Evolution 2021', both have full steam controller support enabled. If I run the GPTK game in foreground, right after moving the joystick, this error is logged: 0bac:fixme:rawinput:rawinput_from_hardware_message Unhandled rawinput type 0x100 This only happens when Steam is running. For example, running the 'Zeepkist' .exe manually while Steam is NOT RUNNING, the controller works fine! Most of the time this results in a crash throwing: 0bbc:fixme:dbghelp:SymLoadModuleExW Unsupported Flags 00000005 for (null) 0bbc:fixme:dbghelp:SymLoadModuleExW Unsupported Flags 00000005 for (null) 0bbc:fixme:dbghelp:SymRegisterFunctionEntryCallback64 (0000000000000084 0000000140036E50 2508e0): stub! wine: Unhandled page fault on read access to 0000001BFFFFFFE4 at address 000000006E73B991 (thread 0bac), starting debugger... 0bbc:fixme:file:CancelSynchronousIo (000000000000007C): stub 0810:fixme:imm:ImeSetActiveContext (0x36ed10, 1): stub 0810:fixme:imm:ImmReleaseContext (000000000009020A, 000000000036ED10): stub I would love to play Unity games using GPTK. Please suggest any tips/tricks to resolve this issue.
Replies
0
Boosts
0
Views
1.2k
Activity
Oct ’23
On-screen joystick(s) for iOS and iPadOS using Metal?
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?
Replies
1
Boosts
0
Views
1.4k
Activity
Aug ’23
Ai controlled i-devices dev help
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
Replies
5
Boosts
0
Views
2.5k
Activity
Aug ’23
Controller Input Not Working in HappyBeam Sample
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.
Replies
1
Boosts
0
Views
1k
Activity
Aug ’23
My RC PRO Controller is not working
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.
Replies
0
Boosts
0
Views
1.2k
Activity
Jul ’23
Mouse and video games
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.
Replies
0
Boosts
0
Views
1.2k
Activity
Jun ’23
Why is it that the Apple keyboard cannot handle simultaneous typing of the 'Tab + W + Space' keys, which are commonly used in games?
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
Replies
5
Boosts
0
Views
1.5k
Activity
Jun ’23
How to use my game controller in-game only but not as a mouse?
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.
Replies
1
Boosts
0
Views
949
Activity
May ’23
Help with GCVirtualController in portrait mode
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
Replies
1
Boosts
1
Views
1.2k
Activity
May ’23
game controlllers and Mac OS 13.3
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
Replies
1
Boosts
0
Views
1.7k
Activity
Apr ’23
Does iOS support to work as a HID device via bluetooth?
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!
Replies
7
Boosts
0
Views
4.5k
Activity
Mar ’23
Two important feature suggestions that will benefit artists and Apple Pencil users worldwide
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!
Replies
3
Boosts
2
Views
1.1k
Activity
Mar ’23