Emulator Issues #1798
closedChanges to the SDL in revisions around 4563 have broke my ability to use 2 controllers in Njoy
0%
Description
Basically, I have 2 360 controllers (directx drivers). Everything has
worked fine for doing MP on gamecube games using Njoy. But somewhere
between 4562 & 4572, I have lost the ability to bind buttons to my second
controller - it only accepts input from my 1st controller - no matter
which one is selected! Thus in all my games one controller is moving both
players and there's no way around it except to turn off Controller 2 and
thus only do single player.
There were some changes to the SDL in those revisions that no doubt caused
this horrible regression. It's bad enough I can't use 2 wiimotes but now I
can't use 2 GC controllers!!! :) I also tried copying the old SDL.dll to a
new revisions folder, but same behavior - it can only accept input from
the one controller. I tried the packaged SDL.dll (x86) and then renaming
the SDL 1.3.dll to SDL.dll and no difference.
Anyway, let me know what other info you might need - I really hope you can
resolve this soon and revert all those nasty SDL changes!Good luck and
thanks!!
Updated by wespipes69 almost 15 years ago
Appears to be working again...wierd. Did someone fix this?? :P
Updated by wespipes69 almost 15 years ago
Looks like it was working properly as of 4687 last. It was broken by 4696. I believe
it was 4691 which screwed around alot with Njoy and broke this (again). Please
revert so we can have our 2 gamepads back. :) Thanks!
Updated by wespipes69 almost 15 years ago
Yep, using the Plugin_nJoy_SDL.dll from 4687 allows 2 controllers to be used again
in newer revisions. That is where the problem lies exactly. Go get 'em!
Updated by sl1nk3.s almost 15 years ago
So it was working until ~r4687 and got broken by r4696 ?
Updated by wespipes69 almost 15 years ago
Correct. :) I think the 4691 commit was the culprit. Thanks for looking into this!
Good luck!
Updated by ayuanx almost 15 years ago
r4691 is definitely not the cause. But I don't know which rev it should be since I
don't have two pads to test.
Updated by wespipes69 almost 15 years ago
I don't know. I'll test it once you think you've figured it out. It was something in
those 9 revisions...it's gotta be! :)
Updated by ayuanx almost 15 years ago
I think it is either before r4687 or after r4696, not between.
Updated by wespipes69 almost 15 years ago
Well, you know more than I do on this. All I can say is the Njoy.dll from 4687 works
fine, but the one from 4696 does not and hasn't ever since. But there might be
something else going on here, who knows? Thanks again for checking it out! Maybe
Santa will bring you a 2nd controller! :)
Updated by ayuanx almost 15 years ago
I suggest you use njoy.dll from r4691, but take the wiimote.dll from r4687 and test.
Updated by wespipes69 almost 15 years ago
I tried that with 4692, no difference. I tried 4688 also and it was fine. So the
problem is with specifically the Njoy.dll file and caused by either 4689, 4690, 4691
or 4692 - but really reading the commits the only 2 possibilities are 4691 & 4692.
It was to do with adding the "enabled" checkbox or something - it only recognizes
one controller as if it's looking at the OS since it's using my "preferred"
controller (Control Panel - you have to pick one there). Can't just be a
coincidence.
The ini file looks correct...but maybe it's just not reading it right?
I'm sure you'll figure it out.
Updated by wespipes69 almost 15 years ago
Same exact thing is going on for wiimotes now that 2+ can be used - it only
recognizes input from one controller.
Updated by ayuanx almost 15 years ago
Please check your wiimote.ini
What are the values of
[Wiimote1]
DeviceID = ?
[Wiimote1]
DeviceID = ?
Updated by ayuanx almost 15 years ago
Issue 1828 has been merged into this issue.
Updated by SethHikari almost 15 years ago
Work around when using save by ID and configuring multiple controllers plugged in one
at a time does not work when they are the same controller, in this case A sixaxis and Dual-shock 3, but a Dual-shock and a Logitech do....
Updated by wespipes69 almost 15 years ago
[Wiimote1]
DeviceID = 0
[Wiimote1]
DeviceID = 1
The dropdown for the controller is properly set - wiimote is using the 360
controller on top in the dropdown list and wiimote 2 is using the bottom device. But
when I go to edit a button assignment it only accepts input from the controller in
the top of the list - no input ever, anywhere from my 2nd 360 - all 4 wiimote config
screens only recognizes input from padd 1.
Updated by wespipes69 almost 15 years ago
Meant this actually:
[Wiimote1]
DeviceID = 0
[Wiimote2]
DeviceID = 1
[Wiimote3]
DeviceID = 0
[Wiimote4]
DeviceID = 0
Updated by SethHikari almost 15 years ago
Same problem as wespipes69, and also it always is the same USB port that it happens to
as well. All controller get input from same controller on the same usb port
Updated by luisr142004 almost 15 years ago
ayuanx: why don't you mention it this way: "fixes issue xxxx", in your commits?
it'll auto-close the issues :P
Updated by ayuanx almost 15 years ago
Issue 1287 has been merged into this issue.
Updated by ayuanx almost 15 years ago
Actually I'm not sure if it is fixed, but I think it should :P
Updated by luisr142004 almost 15 years ago
well now you know that above for future issues you fix :)
Updated by ayuanx almost 15 years ago
Issue 1580 has been merged into this issue.
Updated by ayuanx almost 15 years ago
Issue 1862 has been merged into this issue.
Updated by wespipes69 almost 15 years ago
Njoy behaves no differently in rev 4760 - only recognizes input from one controller
no matter which one is selected.
However, this DOES fix the wiimote plugin. Now it looks at both my controllers
properly and only accepts input from the selected device in the dropdown.
Though I still can't figure out how to make the console see that I have both
controllers plugged in - eg I can't do multiplayer in games like NSMB. :(
Also, the nunchuck still doesn't remember if it's set to something other
than "keyboard". Is that known?
Anyway, great progress though! You're my hero ayuanx!!!! And I do like the way
you "resolve" things - I hate it when something might be fixed and then the issue
gets closed out before confirmation.
Updated by ayuanx almost 15 years ago
So do you mean that Wiimote plugin now supports multi-pad in both button mapping
window and in game play?
For me, nunchuck DOES remember the button mapping no matter it is mapped to keyboard
or gamepad. Just remember to click "OK", not "Cancel".
Updated by ayuanx almost 15 years ago
Why can't you do multi-player in NSMB?
Just set emulated wiimote 1 to gamepad 1 and emulated wiimote 2 to gamepad 2
Then start game, click menu->tools->connect wiimote 2
Voila, see if your 2 gampads are both working
Updated by wespipes69 almost 15 years ago
For the nunchuck: I thought I saw someone else have this problem. I am pressing ok
also. Fresh install, if I set it to analog 1 or 2, it always reverts to keyboard. I
wonder why you dont see this?
For the wiimote multipad: button mapping perfect! gameplay can't test because
following your steps I still don't get 2 wiimotes active.
Here's what I do: Wiimote 1 & 2 assigned to different controllers, I launch the emu,
launch NSMB, connect wiimote 2, press Home, but no 2nd controller lit up. Tried
pausing emulation then connecting wiimote 2, still the same. Tried various things
with emu and in game, but I never get that 2nd wiimote lit up in the Home screen. :(
Updated by ayuanx almost 15 years ago
So should we close this now? Since all got fixed in r4764
Updated by ayuanx almost 15 years ago
PS: don't know your situation, but multi-wiimote works for lots of people, incluing me