Zsnes considering 2 usb gamepads as the same one...

Gamepad acting up? Keyboard not responding properly? Can't get that other user to work? Read and post about it here.

Moderator: ZSNES Mods

Post Reply
psycho

Zsnes considering 2 usb gamepads as the same one...

Post by psycho »

Hello everyone. I have 2 usb plug-n-play Pctronix gamepads, cheap but nice :D Anyway, when I plugged them in both, the GUI on Zsnes 1.42 (for win32) only recognized one of them. I went ahead and tried to configure the corresponding gamepad buttons for each player (1 and 2), but when I tested, I naturally ended up controlling 2 different characters in a fighting game with only one gamepad, which, I believe, is not really the idea of such games :) As the GUI wasn't helping a lot, I attempted to dive into zsnes.cfg, where it said explicitly the following:

; Player 1/2 Input Device. Use the GUI to set these values
; NOTE : Using this to select joysticks manually will NOT work!

Player1Device = 1
Player2Device = 1

Looking a bit at my Windows 2000 control panel, I noticed that the respective IDs of my gamepads were "1" and "2". Despite the extremely clear and noticeable warning against it :wink:, I dismissed it and changed the zsnes.cfg file manually, resulting in:

; Player 1/2 Input Device. Use the GUI to set these values
; NOTE : Using this to select joysticks manually will NOT work!

Player1Device = 1
Player2Device = 2

Tried again and everything worked perfectly... I don't really know if this improvised fix is valid for every similar situation, but I thought maybe someone else can solve the same problem by applying the same changes. Hope it can help, happy playing!

P.S. : Sorry if I screwed up with some english words, I'm from Santiago, Chile. That means my native language is spanish, BTW :)
Mike
ZBoard Prince
Posts: 452
Joined: Tue Aug 16, 2005 11:59 am
Location: Long Island
Contact:

Post by Mike »

Nice topic, I think this topic should be sticked. :)
**Prince of the Zsnes board**
*Smash Champ*
Bobbias2.0
Rookie
Posts: 41
Joined: Wed Oct 12, 2005 12:34 am

Post by Bobbias2.0 »

This is a prime example of the type of people who should be using computers/the internet. I love when someone actively tries to fix things, and sometimes succedes by themself, and posts the new info on the net (or even if they just manage to fix things themselves, like this). It makes me happy to see people not sitting there posting on a forum like "hherlp my gamepad cotollz 2 chrz! hlp plzkthbai" :wink:
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

Indeed. Nicely done.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Menson
New Member
Posts: 3
Joined: Sun Oct 23, 2005 3:57 am

Post by Menson »

i have been trying for a good 5 hours the in's outs and sides of all of the Zsnes config and GUI's and cannot stop this from happening. i have 2 Mad Catz and i am very frustrated.should i keep typing different Device numbers until i maybe find the right device number or maybe someone has some info.pls you would be my best friend if you even have tried this and failed but still have some info.
Johan_H
Starzinger Addict
Posts: 998
Joined: Tue Aug 17, 2004 1:14 pm
Location: Sweden
Contact:

Post by Johan_H »

You can check the device numbers through the control panel.
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

Ichinisan wrote:You couldn't figure out the GUI because it is still not very user-friendly. To do this without editing the configuration file, just go to CONFIG>INPUT #2 and select "KEYB/GAMEPAD" instead of "NONE". Click "SET" to enable the pad before configuring buttons.

ZSNES is set to emulate a disconnected controller by default. There are probably some games that force you into a two-player mode if a second controller is detected. Some games (including Super Mario World) will allow you to use a single controller for two players if it senses that the second controller socket does not have a device attached.
http://board.zsnes.com/phpBB2/viewtopic ... highlight=
Post Reply