Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Joystick Swapping?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
MrEntropy
n00b
n00b


Joined: 03 Nov 2005
Posts: 74
Location: Austin

PostPosted: Sun Apr 22, 2007 12:40 pm    Post subject: Joystick Swapping? Reply with quote

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
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Sun Apr 22, 2007 1:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
MrEntropy
n00b
n00b


Joined: 03 Nov 2005
Posts: 74
Location: Austin

PostPosted: Sun Apr 22, 2007 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Sun Apr 22, 2007 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum