RESOLVED Re: [Xmame] Can xmame support two gamepads?
Hi, Lawrence. Please disregard my last e-mail (below). Of course, it wasn't until seconds after I sent my previous e-mail that I realized I misunderstood your instructions! Your advice worked perfectly! :-) My problem was that I was using /dev/js, which on my system is a link strictly to /dev/input/js0. So, of course, xmame would only start that gamepad (exactly as I told it to do). Following your advice worked because /dev/input/js is not a link at all on my system and instead told xmame to find the gamepads, exactly as you said. In other words, xmame is working perfectly! I'm sorry to be a dork! ;-) Thank you very much for the help. We are very excited over here! :-D On Saturday 12 February 2005 08:02 am, Todd Flinders wrote: Thanks, Lawrence. That was mentioned before and since I've been trying with -jdev /dev/js. However, to be honest, I don't fully understand how /dev/js resolves to all the gamepads. If you don't mind, I'd like to have the list give a quick glance at my setup, and confirm it looks normal: [EMAIL PROTECTED] roms]$ ls -l /dev/js* lrwxrwxrwx 1 root root 9 Feb 11 17:53 /dev/js - input/js0 lrwxrwxrwx 1 root root 9 Feb 11 17:53 /dev/js1 - input/js1 [EMAIL PROTECTED] roms]$ ls -l /dev/input/js* crw--- 1 flindet root 13, 0 Feb 11 17:53 /dev/input/js0 crw--- 1 flindet root 13, 1 Feb 11 17:53 /dev/input/js1 [EMAIL PROTECTED] roms]$ Again, there are two usb gamepads connected. Should /dev/js be pointing to something besides input/js0? Should /dev/js instead be pointing to both input/js0 and input/js1 somehow? I'm sorry to be so naive. Somehow I'm overlooking this with Google. Thanks for clarification. On Saturday 12 February 2005 12:39 am, Lawrence Gold wrote: Todd Flinders wrote: Hi. Well, just to clarify, trying with -jt 1 and 4 seems to be giving the same results as well -- only one of the two gamepads is responding. I'll try to experiment with CVS, or at least try the next release. Thanks for your work on the joystick driver. My girlfriend and I will be very appreciative if we can get both gamepads working simulataneously! ;-) In case someone hasn't mentioned it, can you also try with -joydev /dev/input/js By omitting the number, xmame should try js0, js1, js2, etc. ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame
Re: SPAM: Re: [Xmame] Can xmame support two gamepads?
theGREENzebra wrote: don't forget to hit tab and go into the controller setup just to make sure the controls are mapped properly. I always used -jt 4. is -jt 4 now -jt 1? I'm out of the loop. Yep, I combined the old and new joystick drivers a while back, so 4 is now 1. :-) ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame
Re: SPAM: Re: [Xmame] Can xmame support two gamepads?
theGREENzebra wrote: Cool. Hey, another question (though not specifically xmame) if anyone knows the answer: I used to enjoy flipping throught the MAME WIP page and checking out all the things folks were working on, but I notice it hasn't been updated quite awhile. http://mame.net/wip points to http://www.mame.net/status.html and 2004-07-11 seems to be the most recent update. Did this get put somewhere else or did the devs just get too busy implementing things to update with screenshots and stuff? Here are some WIP pages that are kept up-to-date: http://haze.mameworld.info/ http://www.aarongiles.com/ http://www.mameworld.net/rbelmont/ Nicola had a new blog too, but it's already moved and I can't remember its new location. ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame
Re: [Xmame] Can xmame support two gamepads?
Todd Flinders wrote: Hello, I've tried searching Google for some time, but I can't find this answer. I have two Logitech Cordless RumblePad 2's, and I would like to use them with xmame .90 to play 2 player games. I can use one gamepad perfectly by issuing the following command: xmame -jdev /dev/js ./robby However, for the life of me, I can't figure out how convince xmame to recognize the second gamepad on /dev/js1. Both gamepads seem to work fine with jstest. Is there any syntax I am overlooking? Please? Thanks for the help. Which joystick driver are you using? I've found SDL joystick input has been hit or miss.. try with -joytype 1 and see if it works, and if not, well... there's always qjoypad... ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame
Re: [Xmame] Can xmame support two gamepads?
I haven't specified a joytype. I just don't know the syntax to tell xmame that I have two usb gamepads. Either one works fine by themselves, but I don't know how to tell xmame to use them both so I can play 2 player games with them. For example, to launch xmame with one gamepad, I type: xmame -jdev /dev/js2 ./somerom To launch xmame with two usb gamepads, I want to do something like the following, but I don't know the syntax: xmame -jdev /dev/js -jdev /dev/js2 ./somerom Can xmame support two usb gamepads, one for each player? Thanks for the help. I'm searching google, but not having any luck. On Saturday 29 January 2005 10:02 pm, Garron Bailey wrote: Todd Flinders wrote: Hello, I've tried searching Google for some time, but I can't find this answer. I have two Logitech Cordless RumblePad 2's, and I would like to use them with xmame .90 to play 2 player games. I can use one gamepad perfectly by issuing the following command: xmame -jdev /dev/js ./robby However, for the life of me, I can't figure out how convince xmame to recognize the second gamepad on /dev/js1. Both gamepads seem to work fine with jstest. Is there any syntax I am overlooking? Please? Thanks for the help. Which joystick driver are you using? I've found SDL joystick input has been hit or miss.. try with -joytype 1 and see if it works, and if not, well... there's always qjoypad... ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame
Re: [Xmame] Can xmame support two gamepads?
Todd Flinders wrote: I haven't specified a joytype. I just don't know the syntax to tell xmame that I have two usb gamepads. Either one works fine by themselves, but I don't know how to tell xmame to use them both so I can play 2 player games with them. For example, to launch xmame with one gamepad, I type: xmame -jdev /dev/js2 ./somerom To launch xmame with two usb gamepads, I want to do something like the following, but I don't know the syntax: xmame -jdev /dev/js -jdev /dev/js2 ./somerom Can xmame support two usb gamepads, one for each player? Thanks for the help. I'm searching google, but not having any luck. The reason you use /dev/js and not /dev/js0 is because xmame will then look for /dev/js* and use any devices it finds as gamepads. Under normal circumstances, if you have js0 and js1 it will detect and use them both. If you're using xmame.SDL, I think it defaults to the SDL joystick driver (-joytype 5) which has been not perfect for quite some time I think. -joytype 1 is the only option that seems to work for multiple gamepads, for me anyhow... hopefully you've got this compiled in! (JOY_STANDARD = 1) Also it never helps to do ls /dev/js* to make sure both devices actually exist, although you've probably checked for that by now... And like I said, if nothing else works and you want dual gamepad support right now, google for QJoyPad which lets you map joysticks to keyboard presses in X. ___ Xmame mailing list Xmame@toybox.twisted.org.uk http://toybox.twisted.org.uk/mailman/listinfo/xmame