Post

Replies

Boosts

Views

Activity

Comment on Using Swift, how do I *continuously* test for a GamePad being on/connected?
Justin, I just sent off a TSI request. I provided a link to this back-and-forth Chat and said after they review this Chat in detail I will provide my complete .xcodeproj if they want. To be totally candid, my prayer is that whatever engineer I hook up with matches your patience with me. I can't stand egocentric and haughty folk and I assure you, Justin, you are totally opposite that.
Mar ’23
Comment on Using Swift, how do I *continuously* test for a GamePad being on/connected?
SO, I must be doing something wrong because the NSNotification code for disconnect is never seen. I have the Gamepad code all in the SKScene Swift Class part = didMove function. I don’t like it there because it belongs in the AppDelegate Class or the GameViewController Class. But since I cycle between Scenes, there is one Scene out of 3 that uses the Gamepad = GameScene - like the A, B etc buttons and the joysticks. SO .. I put the Connect/Disconnect stuff in the SKScene class
Mar ’23