gamepads

  1. KyleRansford

    GMS 2.3+ PS4 DualShock 4 Suddenly not Working when connected by Bluetooth?

    Hello, a PS4 controller I have has been working on my game, but, recently, within just a few days, I've noticed that it has just stopped working. I'm pretty sure the PS4 DualShock 4 itself is still working, because it connects to Windows 10 and in the debug log in GameMaker Studio 2, it shows...
  2. KyleRansford

    GMS 2.3+ How to Draw Pressed Controller Button to GUI?

    I've been looking for a way to draw the number of a pressed button on a controller to the GUI and I found this this bit of code, and have it in a Draw GUI Event, but it doesn't draw anything on the GUI. I'm using an Xbox One Controller to test it out. for (var i = gp_face1; i < gp_axisrv; i++)...
  3. KyleRansford

    GMS 2.3+ Xbox Series Controller Showing as 2 Separate Devices?

    Hello, While I was testing out the Xbox Series Controller in my game, at first I saw that it was working the way it should, but later on I noticed that I think it's actually registering as 2 separate devices. At first, I thought it might just be the way I had my controller setup working, since...
  4. KyleRansford

    GMS 2.3+ How to Skip a For Loop Check for a Player not Using a Gamepad?

    Hello, I have a Async gamepad for loop check that checks for connected gamepads and assigns them to one of four player objects. What I would like to do is for the for loop to skip checking for a gamepad if player 1 is just using a keyboard. Since if I left it the way it is, if player 1 is using...
  5. NeZvers

    Legacy GM How to detect gamepad labeled as USB Joystick

    In GM:S2 it is detected as a gamepad(4) but I don't know how to get it on 1.4 because it's not detected under all 12 indexes. I see it as a problem because not everyone can have a 360 controller. I also tried 360 controller emulator 32-bit & 64-bit. Also, I'm getting a message in the debugger...
  6. J

    GML Check Gamepad axis like 'keyboard_check_pressed"?

    I'm try to find a way to check if the gamepad axis is up or down, but only return once instead of repeatedly. Essentially I'd like to check if i'm pressing up or down on the axis in the same way you would use the function 'keyboard_check_pressed(key);' I'm asking because I'm making a menu that...
  7. M

    Legacy GM Issue Dealing with Using Two Gamepads

    I must be the most unlucky GM:S user of all time since my problems are usually those that rarely ever happen to anyone! Well anyway, my issue is once again related to gamepads. I've created a notification system that tells you when you've plugged in a gamepad, and it works: On 'System'...
  8. F

    Legacy GM Variable index execution error setting up Gamepads

    Hi. I've been trying to follow this tutorial from the Yoyo games blog: https://www.yoyogames.com/blog/75/how-to-setup-and-use-gamepads However, the tutorial and finished example supplied don't seem to work for me. Whenever I plug in a gamepad, I get the following error...
Top