Legacy GM [Solved] Any Way to Replace Gamepad Descriptions?

M

MrFlippy

Guest
Hello, all!

I've read through the GM:S manual and I can't seem to find what I'm looking for; or if it's even possible. In the game I'm working on, when I plug in my controller, it gives me its description, "Xbox 360 Controller (XInput STANDARD GAMEPAD)", which is great! It works how it's supposed to, but it's not enough. Here's the question:

Is there any way I can make my game simply say "XInput Gamepad" rather than "Xbox 360 Controller (XInput STANDARD GAMEPAD)"?

I tried to look through the forums for a similar question but I didn't find anything. If there is a thread about it, though, let me know. I appreciate every answer!

upload_2017-8-18_19-37-13.png
 
If you only want to see if a device is xinput or directinput I'm pretty sure gamepad_is_connected(numb); reserves 0-4 for xinput devices and 5+ for directinput
 
All good, I set up a gamepad mapping screen for my four-player platformer and had a check which would read gamepad_description and replace it with just "x-box" or "nes controller" etc
 
M

MrFlippy

Guest
Ah, I see. I did a similar thing; it all works great, thank you!
 
Top