H
Hadin
Guest
In the manual it says that the asynchronous event pertaining to gamepads won't trigger unless there's a gamepad function in your code. So I've been trying to use and even modify the code from the tech blog tutorial of how to set up and use gamepads from here:
https://www.yoyogames.com/blog/75/how-to-setup-and-use-gamepads
I tried using it in a controller object that is the only thing that spawns in the first room, which is used as an initialization room. I've put code in its step event to try and meet the above mentioned condition. The only time I've gotten results is by cycling through a for loop in the create event. Outside of that, when I unplug the controller or reconnect it, the asynch event never triggers. I have text shown on the GUI to confirm the variables aren't being updated. Can anyone help? I can't find anything that explains it differently from the tech blog.
https://www.yoyogames.com/blog/75/how-to-setup-and-use-gamepads
I tried using it in a controller object that is the only thing that spawns in the first room, which is used as an initialization room. I've put code in its step event to try and meet the above mentioned condition. The only time I've gotten results is by cycling through a for loop in the create event. Outside of that, when I unplug the controller or reconnect it, the asynch event never triggers. I have text shown on the GUI to confirm the variables aren't being updated. Can anyone help? I can't find anything that explains it differently from the tech blog.