GameMaker: Studio will accept up to two joysticks/gamepads being used for your game, with a number of specialist functions designed to get the necessary details about position and buttons
pressed.
NOTE: These functions are for Windows only and are provided as legacy support for previous versions. As such, they may not work correctly on modern PC's.
The following functions exist for joystick controls: