You Need My Custom Event System To Use This It is also free, download here
Did you read the above line? Make sure you have this added to your project prior to run.
Usually, Game Maker allows you to attach scripts directly to events within your objects. Unfortunately, the way that gamepads/controller input works is completely different. Each frame you are required to manually check for each button / button state that you require on each object. My system makes this very easy. A single object is placed in the room to handle all the input checks and fire off the associated events. Then, in each object, simply attach the required scripts.
Here is an example of attaching a highlight script to a button press event.
When the event is fired, the script is ran. There are also 5 parameters passed in: the button pressed, the id of the device firing the event, the type device that fired the event (Gamepad/Keyboard/etc), the state of the button (pressed/released/etc), and the value of the button.
Check out my other marketplace listings
Thanks for viewing!
End User Licence Agreement (EULA).