GameMaker Studio 2

Adding Gamepad Support - Code

YoYo Games

You must be logged in to obtain assets

Contact Publisher | Support


This short tutorial takes you through the basics of adding and using gamepad controls within your own game projects. The themes it covers are:

  • Using the Asynchronous System Event to detect the addition or removal of gamepads
  • Debug gamepad input
  • Use the gamepad stick controls for movement
  • Detect gamepad trigger pressure
  • Detect gamepad face button presses

If you prefer to use Drag and Drop (tm) then there is an alternative tutorial that covers these same features here:

More info

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2 - Version 1.0.7. Published February 18, 2019

  • Updated footer to 2019 copyright notice.
Privacy Policy
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top