1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Windows How can I use gamepad support?

Discussion in 'Programming' started by Brent Smith, Nov 8, 2019 at 1:56 AM.

  1. Brent Smith

    Brent Smith Member

    Hi. How can I get my PS2 controllers to work in gamemaker. twin usb. both show up in windows control panel and work. how can i get them to work in my game.

    I have gamepad button down on the screen and it doesnt work. does this only support xbox controllers and ps4 controllers?

    Attached Files:

  2. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Apr 13, 2016
  3. robproctor83

    robproctor83 Member

    Sep 30, 2019
    What Nocturne said, plus you have to rework your control code so that it accepts input from the gamepad, and depending on what your player controls are like could range from easy to impossible, just depends. You'll also need to program in dead zones, I think is what it's called, which is basically a buffer around the joysticks of the controller. Took me a while to realize that as without it the code picks up the slightest of movement and will move your player even when your not using the controller. Let's see, what else... Oh also if you have any gui with buttons and what not it can be difficult to make the gamepad traverse buttons and interface options as it's a totally different way of interaction than the mouse. Best of luck.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice