Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mame and 2nd Joystick

0 views
Skip to first unread message

Bastian Larsen

unread,
Oct 23, 2009, 12:18:03 PM10/23/09
to
Hi,

I installed Xubuntu 9.04, xmame and Wah!cade. My first joystick is
working without problems, the second joystick for the 2nd player seems
not to be recognized by mame.

I used joydevname /dev/input/js0 and joytype 1 in the xmamerc. Is that
wrong? What do I have to fill in the xmamerc to get the 2nd Joystick
working.

jscalibrator found both josticks and calibrated them /js0 and /js1

Cheers
Bastian

Andreas Kohlbach

unread,
Oct 23, 2009, 9:52:53 PM10/23/09
to

Did you try in

# CORE INPUT OPTIONS

to say "2" at "joystick"? Just a guess.
--
Andreas (PGP Key available on public key servers)
19. Death is reversible (but only for you!).
- Arcade Wisdom

Bastian Larsen

unread,
Oct 28, 2009, 1:17:50 PM10/28/09
to
Andreas Kohlbach <a...@spamfence.net> schrieb:


> Bastian Larsen wrote on 23. October 2009:
>>
>> I installed Xubuntu 9.04, xmame and Wah!cade. My first joystick is
>> working without problems, the second joystick for the 2nd player seems
>> not to be recognized by mame.
>>
>> I used joydevname /dev/input/js0 and joytype 1 in the xmamerc. Is that
>> wrong? What do I have to fill in the xmamerc to get the 2nd Joystick
>> working.
>>
>> jscalibrator found both josticks and calibrated them /js0 and /js1
>
> Did you try in
>
> # CORE INPUT OPTIONS
>
> to say "2" at "joystick"? Just a guess.
>
I'm not sure what to enter. There is no section with that name in xmamerc.
What do i have to enter?


Message has been deleted

Bastian Larsen

unread,
Oct 29, 2009, 4:32:12 AM10/29/09
to
Andreas Kohlbach <a...@spamfence.net> schrieb:
> I guess the "2" wasn't a good idea anyway.
>
> But as number you can select what joystick(s) you want to use. I assume
> the mame.ini file has a description of what to select there.

Thats my xmamerc:

### xmame running parameters ###
#
# Default xmame package configuration
# Last Updated for: 0.88
# This file is used by all xmame binaries

### Data files/directories ###
rompath /home/mame/emulators/mame/roms
samplepath /home/mame/emulators/mame/samples
artwork_directory /home/mame/emulators/mame/
cheat_file /home/mame/emulators/mame/cheat.zip
hiscore_file /home/mame/emulators/mame/hiscore.dat
history_file /home/mame/emulators/mame/history.dat
mameinfo_file /home/mame/emulators/mame/mameinfo.dat

### System-wide Configuration directories ###
inipath /etc/xmame/ini
ctrlr_directory /etc/xmame/ctrlr

### Joystick ###
joydevname /dev/input/js0
joytype 1

### User resources ###
cfg_directory $HOME/.xmame/cfg
nvram_directory $HOME/.xmame/nvram
memcard_directory $HOME/.xmame/memcard
input_directory $HOME/.xmame/inp
hiscore_directory /home/mame/emulators/mame/hi
state_directory $HOME/.xmame/sta
snapshot_directory $HOME/.xmame/snap
diff_directory $HOME/.xmame/diff

### MAME Related ###
defaultgame pacman
language english
fuzzycmp 1
cheat 0
skip_disclaimer 0
skip_gameinfo 0
bios default

### For target specific options
# use the target specific file.
#
# X11: xmame-x11rc
# SDL: xmame-SDLrc
# SVGA: xmame-svgalibrc

Message has been deleted

Bastian Larsen

unread,
Oct 30, 2009, 3:55:33 AM10/30/09
to
Andreas Kohlbach <a...@spamfence.net> schrieb:


> Bastian Larsen wrote on 29. October 2009:
>>
>> Andreas Kohlbach <a...@spamfence.net> schrieb:
>>
>>>> I'm not sure what to enter. There is no section with that name in xmamerc.
>>>> What do i have to enter?
>>>
>>> I guess the "2" wasn't a good idea anyway.
>>>
>>> But as number you can select what joystick(s) you want to use. I assume
>>> the mame.ini file has a description of what to select there.
>>
>> Thats my xmamerc:
>
> [...]

>
>> ### Joystick ###
>> joydevname /dev/input/js0
>> joytype 1
>
> That;s good so far.
>
> But you might also try /dev/input/js (no 0) and in the game hit TAB to
> see what further joystick option it has there.

/dev/input/js

That's it. Working now. Thank you!!
Bastian

0 new messages