1. O

    Gamepad on Raspberry Pi won't register A and B buttons.

    I'm trying to get one of the generic USB gamepads (Buffalo, Kiwitata, etc) to work on the Raspberry Pi. The DPad works if you treat it as an analog stick and the X and Y buttons register along with the shoulder buttons. The problem is the A and B buttons don't register at all. They work fine...
  2. S

    Linux Raspberry Gamepad (detecting too many)

    Hi! I'm doing some test-compilation on a Raspberry Pi 4 and Gamemaker. Everything works fine except that when I run my game it detects all devices that are attached through USB on the Pi as gamepads. I am adding a player object for every "gamepad detected" in Async-System as described here...
  3. B

    Mac OSX Can someone point me to the right direction for using motion controls from a gamepad controller in Game Maker?

    I am currently trying to prototype a game that uses motion controls from a game pad. I have seen and read through what the manual said on motion controls, but they seem to be limited to smart phones. Is game maker able to use motion controls of a game controller? Do I need to purchase some kind...
  4. V

    How do I get rid of the gamepad stats in the top corner?

    I have tried the code in a new project and it doesn't show up. No matter how I alter the code in the current project it just doesn't go away. Is there a setting or something to turn this off?
  5. V

    Jump not working right and run speed gets progressively faster

    The controls respond but the output is not right. You can see that it tries to jump but never leaves the platform. When I run, the speed does not cap, so it gets increasingly faster. Any ways to go about this? Create Event /// @description Init Vars // Global array to store gamepad info in...
  6. zendraw

    GMS 2 any_key for gamepad

    is there a way to check if any button on the gamepad has been pressed? like how you wuld do keyboard_check_pressed(vk_anykey); ? i checked the inbuild vars but culdnt see a way.
  7. KyleRansford

    SOLVED Controller Input Using Object Variables Issue

    Can anyone tell me why this isn't working properly? I have made a Player Controller Input object o_input, o_inputP2, o_inputP3 & o_inputP4 with a menu Switch statement so each player can actually choose what slot their controller will be in. I have different modes the menus work in, but this...
  8. KyleRansford

    GMS 2 Vertical Menu with Gamepad

    I have a fully working vertical menu that gets input from the keyboard and the gamepad D-Pad, but when I try to add the joystick/analog the choice just move all at once in one direction. How can I make it to where it just goes down one, like the arrow keys and the D-Pad. Here is the current...
  9. CrackedGamer§

    GMS 2 How to use a GamePad?

    I know that is a very vague question, but if we just assume that I have a completely empty project and I want to see if a specific controller is pressing the right trigger. I know that there is a way to make a 1D array of the controllers that are currently plugged in, is there a way to select...
  10. Qlak

    GML [SOLVED] Efficient Angle Check - 359 and 0 degrees

    Hey guys! I'm having hard time when it comes to checking angles. I managed to achieve what I wanted, but I'm sure that there must be a better way, because my code is not clean for sure. Maybe you could help me out :): -For instance, imagine that you have traditional top-up 2d shooter, left...
  11. M

    360* Joystick Rotation

    Just wanted to share some SIMPLE code I worked up to get full 360 degree rotation for GamePads (joysticks for GM8) LEFT Joystick - full 360 movement & image rotation End Step Event: hspeed = gamepad_axis_value(0,gp_axislh) // hspeed = left joystick horizontal movement vspeed =...
  12. A

    Windows Gamepad detected but inputs not working

    A weird issue has popped up with my gamepad implementation: Gamepad is being detected but none of the inputs are responding at all. This was with an implementation that I had previously had working (And works for Mac just fine). I've paired it down in a separate project to try and debug but...
  13. thom

    Linux Gamepads are not working on Linux (Ubuntu)

    It appears that gamepads aren't working properly on Linux (Ubuntu). After some tests I have noticed the following: -The gamepad slot used is not in the 0-11 range, but will start at 12. -The buttons of XInput (Xbox) gamepads are also assigned wrong on Linux, for example if you press the "LT"...
  14. WimpyLlama

    Not reconizing any gamepads

    I'm trying to get gamepad support working for my game but GMS2 won't recognize any of my controllers. I've tried my NS Pro Controller and PS4 Controller, both wired and not wired, but nothing is working. They both get recognized by Windows and both work in all the games I tested (Hyperlight...
  15. JEMcG

    Windows Xbox pad being picked up but not working, PS4 pad not being picked up but working anyway?

    Hi, I'm trying to make the beginnings of a controller system. I want the game to sense for all controllers and then the player can just use whichever they feel like. I want this to be interchangeable with keyboard input too. Currently I have the following code searching for controllers...
  16. Dwighty4000

    GMS 2 Gamepad control - how can i implement it?

    I watched 3 different tutorials but I still not... And I still don't know how it works with the value's correctly. In addition, I do not know how to call that no key is pressed on the controller, as it is on the keyboard: "vk_nokey". Because I have a running animation in a sprite when a key is...
  17. Appletreeman

    Mac OSX Gamepad not detected

    Hi all, I'm trying to add gamepad support to my project but cannot seem to get GMS:2 to detect it. The gamepad is a PS Dualshock 4 and is detected fine and works in games that I've downloaded from the mac app store/steam etc. If I run the following code in my game initialisation (runs right...
  18. bluetrack

    Android Select active Gamepad

    MACOS IDE: v. Runtime: v. Hi, is there a way to select automatically one gamepad of the ones GM:S detects and set it as default? For instance on Android and specificlly on AndroidTV there are various inputs detected and put on different slots. (eg. SONY input service...
  19. P

    Check joystick/gamepad slot no.

    Hi. Problem: I'm having problems using 2 gamepads on a Windows machine, as Windows keeps switching their slot numbers. Is there a way to control this in GM2 rather than Windows? Background: I've made an arcade machine and added a laptop running Windows 10, where I have installed a game I've...
  20. Didjynn

    [SOLVED] gamepads Xinput of Dinput

    Hello everyone, I made a game playable up to 6 players but it seems some people complain about the impossibility to use more than 4 pads (xbox one officials ireless) at the same time. They say the 5th pad has no reaction at all, it's not just bad input mapping or anything and as far as I know...