• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

 [Solved] Gamepad Button Events for objects to facilitate DnD developers

Nixxi

Member
Currently as a DnD developer, you still need to use GML to get input events from gamepads/joysticks, as if it wasn't already a time-consuming endeavor going back through Step events to listen for those inputs and change their behavior as needed. Can we get an event sub-menu for gamepad button down/pressed/released states similar to the mouse and keyboard events please? I know I can't be the only dev wanting this feature.

Edit: I added an illustration from a junior artist.
 
Last edited:

Mike

nobody important
GMC Elder
There are a stack of gamepad DnD actions (not events) that you can use. So just check for input as part of your step event.
 
There are a stack of gamepad DnD actions (not events) that you can use. So just check for input as part of your step event.
That doesn't help with the issue cited in the original post though. Right now as a DnD developer, after setting everything up to use mouse and keyboard, you have to hunt and search through all your nodes and such and try to figure out the correct place to put all your checks. Also with no "or" function to use in DnD you're stuck with some pretty un-intuitive solutions to put in gamepad support. Unless there's something I'm missing, trying to put gamepad support in is kind of a headache.
 
Top