mupen64plus / mupen64plus-input-sdl

Input plugin for Mupen64Plus v2.0 project using SDL. This is derived from the original Mupen64 blight_input plugin.
GNU General Public License v2.0
43 stars 70 forks source link

More autocfg pads #23

Open bsmiles32 opened 9 years ago

bsmiles32 commented 9 years ago

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.

richard42 commented 9 years ago

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.

bsmiles32 commented 9 years ago

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 :

richard42 commented 9 years ago

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.

Zero86Sk commented 8 years ago

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

helviojr commented 5 years ago
      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.