kinkyoreo / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Universal USB Convertor patch #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Blight input patch submitted by devilsclaw on emutalk. Need to evaluate
whether the patch or some variation of it can be included in trunk. Here's
the original message from devilsclaw:

I bought a Univeral USB Convertor from Walmart (yeah I know Walmart is evil).
This convertor takes GameCube, PS2, XBox and USB as input types, It can
take them all at once even. In windows 4 Devices show up even if only one
controler is plugged in.

I Linux blight detects two controllers, first one does nothing, no button
pressed detection. The second one works on the button detection, but it
will not work in game unless I assign the first controler to one of the
other 3 controllers in blight.

Since I would like to be able to use all 4 controllers but would not be
able to because of how the convertor is handled, I made a patch tha makes
it work with this convertor.

What the patch does is, It maps the controller handle to the correct
controller slots if there assigned. If there not assigned it just opens all
other joysticks just so I can use up to 4 controllers with these convertor
boxs.

I know that in some case people would not want all controllers connected to
be opened so im not suggesting this as a fix that needs to be put into release.

Original issue reported on code.google.com by ebenbl...@gmail.com on 28 Mar 2008 at 2:39

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I think for this is that we should make an option to open all other 
controllers, and
have it be a checkbox.

[ ] Open All Joystick Devices (Will prevent other programs from using them, but 
may
fix compatibility errors)

Original comment by sgorman07@gmail.com on 4 Apr 2008 at 5:08

GoogleCodeExporter commented 8 years ago

Original comment by richard...@gmail.com on 8 Jan 2010 at 5:09