View previous topic :: View next topic |
Author |
Message |
MrEntropy n00b
Joined: 03 Nov 2005 Posts: 74 Location: Austin
|
Posted: Sun Apr 22, 2007 12:40 pm Post subject: Joystick Swapping? |
|
|
Hello all,
I have a gamepad and a Stelladapter. Both work just fine, but I like to use the gamepad for MAME and the Stelladapter for things like Atari800, Stella, etc. Everyone seems to look to /js0 as the joystick to use so I have to unplug one or the other and reboot to get the stick that I want to use to be /js0.
Is there a way of swapping /js0 and /js1 so I can keep both of them plugged in and switch to whichever one I want to use?
Thanks! |
|
Back to top |
|
|
jlg Guru
Joined: 31 May 2002 Posts: 360 Location: Montreal, CANADA
|
Posted: Sun Apr 22, 2007 1:52 pm Post subject: |
|
|
you should use udev rules for each joystick than edit the configs of your apps to use the joystick you want for them respectively
http://www.reactivated.net/writing_udev_rules.html _________________ The only real voyage of discovery consists not in seeking new landscapes, but in having new eyes! |
|
Back to top |
|
|
MrEntropy n00b
Joined: 03 Nov 2005 Posts: 74 Location: Austin
|
Posted: Sun Apr 22, 2007 2:52 pm Post subject: |
|
|
I'll give the udev rules a try. There doesn't seem to be a way of selecting which joystick to use in the emulators, except Stella. I have a problem mapping keys and joystick with SDLMame, for some reason.
Thanks for the link, I'll go read that and see what I can do with it. |
|
Back to top |
|
|
jlg Guru
Joined: 31 May 2002 Posts: 360 Location: Montreal, CANADA
|
Posted: Sun Apr 22, 2007 4:10 pm Post subject: |
|
|
Well for mame I use advancemame and in ~/.advance/advmame.rc you can set your joystick _________________ The only real voyage of discovery consists not in seeking new landscapes, but in having new eyes! |
|
Back to top |
|
|
|