mupen64plus-input-sdl icon indicating copy to clipboard operation
mupen64plus-input-sdl copied to clipboard

More autocfg pads

Open bsmiles32 opened this issue 9 years ago • 5 comments

I went through the google code issue tracker and ControllerSetup comment section to upstream user-provided gamepad configurations. As I don't own any of the device mentioned, I cannot test if those settings are correct or not.

If this PR gets merged, issues 426, 601 and 629 from the google code issue tracker can be closed.

bsmiles32 avatar Mar 22 '15 17:03 bsmiles32

The way that the joystick name matching code works, is that it subdivides the name into words separated by spaces, and then it searches for each word in each candidate section of the InputAutoCfg.ini file. A couple of artifacts of this process are that all of the extra spaces in a joystick name like this are unnecessary:

[Honey Bee AIRFLO ]

Also, these 2 sections are effectively the same:

[USB Gamepad] ... ; Trust USB Gamepad GM-1520T [USB Gamepad ]

In this case, the second section will never be used because anything that would match this would also match the first section.

richard42 avatar Mar 27 '15 15:03 richard42

I didn't know about that subtlety. So for "Honey Bee AIRFLO" I can remove the extra spaces. However there is a conflict for the two "USB Gamepad" and it seems that I cannot have both with the current matching code. What would you suggest :

  • Choose one over the other ?
  • Choose none as the name is pretty generic ?
  • Change the matching code in order to remove that limitation ?

bsmiles32 avatar Mar 28 '15 16:03 bsmiles32

I tend to think that it's a defect in SDL (or the USB device drivers) to have such generic device names. I would recommend just picking one of the configurations for the USB Gamepad joystick.

richard42 avatar Apr 03 '15 00:04 richard42

Hello I am new to git but i would like to contribute

I am using a [Xbox Wireless Adapter for Windows] so Xbox One Wireless reciever, but not sure how to do that.

Mupen (M64py) dosnt recognise and save my controler

Zero86Sk avatar Apr 16 '16 21:04 Zero86Sk

      Hello I am new to git but i would like to contribute

I am using a [Xbox Wireless Adapter for Windows] so Xbox One Wireless reciever, but not sure how to do that. Mupen (M64py) dosnt recognise and save my controler

Xbox One wireless controllers (at least on Win 10) are recognized as [Controller (Xbox One For Windows)]. Autoconfig.ini is already patched on current master branch for those controllers and is working ok.

helviojr avatar Jan 15 '19 11:01 helviojr