USB手柄,系统驱动是没问题的,因为之前装过ubuntu自带的0.86版的xmame,可以用。
不过自带的版本太低了,我昨晚自己编译了最新的。但编译后手柄用不了。
在Makefile中关于手柄的就这一段
[php]
# Uncomment any joystick types that you want to use; the one that is
# actually used can be selected at runtime with the -joytype switch.
# Enable the standard joystick driver, which should work in Linux, OpenBSD,
# NetBSD, and FreeBSD.
JOY_STANDARD = 1
# Linux FM-TOWNS game pad joystick emulation support. Thanks to Osamu
# Kurati.
# JOY_PAD = 1
# NetBSD/FreeBSD USB joystick support.
# JOY_USB = 1
# PlayStation2-Linux native pad support.
# JOY_PS2 = 1
# SDL joystick support.
# JOY_SDL = 1
# This will enable the use of the Happ Controls UGCI(tm) USB devices'
# Coin/Start inputs using the libugci library available from
# http://www.phunnypharm.org/ugci/
# UGCICOIN = 1
[/php]
我选了JOY_STANDARD = 1,但运行的时候加-jt参数由1到7都不行。请问我应该如何修改Makefile呢?
另,旧版本的xmame可以用joydevname指定手柄,新版本不行了?
谢谢 |