Bug 36818 - not enough buttons available in xmame 'new i386 linux 1.x.x driver'
|
Bug#:
36818
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: haylocki@v21mail.co.uk
|
|
Component: Games
|
|
|
URL:
|
|
Summary: not enough buttons available in xmame 'new i386 linux 1.x.x driver'
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-12-30 09:13 0000
|
When using the EMS2USB joystick adaptor with linux, both josysticks on the
device appear as one joystick with 32 buttons and 8 axis. The 'new i386 linux
1.x.x driver' only enables 16 buttons, so the buttons on the second joystick do
not work.
Reproducible: Always
Steps to Reproduce:
1.Configure EMS2USB adaptor
2.Run xmame
3.Try to configure buttons for joystick 2
Actual Results:
The buttons on joystick two are not seen by xmame
Expected Results:
Xmame should have assigned the buttons for joystick 2
I can't get bugilla to accept my patch as an attachment so I'll enter it here :
-----start of patch -----
--- src/unix/devices.h 2003-11-13 05:06:04.000000000 +0000
+++ ../xmame-0.77.1-new/src/unix/devices.h 2003-12-30 16:24:20.738878488 +0000
@@ -8,7 +8,7 @@
#endif
#define JOY 6
-#define JOY_BUTTONS 16
+#define JOY_BUTTONS 32
#define JOY_AXIS 8
#define JOY_DIRS 2
#define JOY_LIST_AXIS_ENTRIES (JOY_AXIS * JOY_DIRS)
-----end of patch -----
fixed in current ebuild ... i wont revbump it cause i dont think enough people
use joysticks to warrant recompiling this large beast
thanks for the quick fix