• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Legacy GM How to detect gamepad labeled as USB Joystick

N

NeZvers

Guest

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: Attempting to set gamepadcount to 12

after checking gamepad_get_device_count() I get 12 with or without gamepads connected. WTF!

EDIT: just made a totally blank project without any objects and just 1 room (gamepads connected and disconnected) still: Attempting to set gamepadcount to 12

EDIT: found out that there is joystick input device (should be 2 max but I get return of 12 devices exist).

EDIT: Now I found out that 360 controller is recognised as gamepad 0 AND joystick 1 and 3 to12, but USB joystick as joystick 2.
 
Last edited:
Top