gamepad

  1. C

    Discussion PS5 Duelsense support

    Hey everyone, Does anyone know if or when Gamemaker studio 2 will support PS5 Duelsense features such as Haptic triggers, rumble and the controller speaker. I've also noticed that the d-pad is not mapped?
  2. DrScoop

    GMS 2.3+ String with a gamepad input image in it?

    Hi there, I noticed in a lot of games, including GameMaker ones, developers use an Image of things like Xbox Controller buttons or Thumbsticks interspersed with a printed string to communicate input instructions. How exactly are they accomplishing this? Are they using a draw_text function for...
  3. L

    Idle animation in 4 directions with no gamepad axes involved

    Hi, i'm deep newbie in game making stuff, and i need help in solving my issue: I need to change my walk sprite animation, when releasing gamepad stick, to idle animation, but in right direction (top down view) For now, it's works fine with keyboard control, but when releasing any axis in...
  4. DrScoop

    SOLVED "chr" but for gamepads?

    Hi there, I have a function in my game that is meant to tell the player which button inputs are used for what, and because in my game I'm allowing the player to be able to remap controls, i need to figure out a way to get whatever is the current mapping of any particular button. Button mappings...
  5. KyleRansford

    GMS 2.3+ How to Use Custom Mapping for Direct Input Controllers? Like Nintendo Switch Pro Controller?

    Hello, now that I have a system that can detect which controller is connected and assign it to the correct player, I've noticed that when I connected a Nintendo Switch Pro Controller, the D-Pad doesn't work. Also, on a different project, the Left Analog Stick on the Nintendo Switch Pro...
  6. BlackCoatDalov

    Legacy GM Leg spikes when connecting/disconnecting Xbox One wireless controller with GMS 1.4.9999

    Hey all, I've been running into a similar problem as what happened here. Every time I turn my bluetooth Xbox One controller on or off, I'm getting massive lag spikes in the debugger from RoomSpeedSync. I'm guessing that's because, even though my FPS counter is showing 45, the game is outright...
  7. WestAndersun

    GMS 2.3+ Alterante to keyboard_check_released for gamepad_axis_value?

    I'm posting this here because I've scoured threads on this board and Reddit, as well as the manual, and I can't seem to work things out. I'm working on a project that uses a movement system similar to what's found in Asteroids. You hit left, you turn left; you hit right, you turn right, and so...
  8. inami

    Controller not detected; defying all logic

    ***Edit*** Steam It was steam. I had to go into options, and enable "Use Alternative launcher for steam application" Assumidly it's only reading the device as bound in steam? Probibly would be fine with a PnP controller e.g. XBox controller. I figured this out by one by one over-writing each...
  9. KyleRansford

    GMS 2.3+ Help with Multiplayer Gamepad Input Connections

    Hello, everyone. I wanted to ask if anyone could help out with a gamepad issue I'm trying to figure out. I have a simple gamepad set up, but I would like it to be more efficient and take other gamepad types than just Xinput gamepads. I've tried searching online but none of the tutorials I've...
  10. 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...
  11. 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...
  12. 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...
  13. 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?
  14. 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...
  15. 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.
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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 =...
Top