Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36818 - not enough buttons available in xmame 'new i386 linux 1.x.x driver'
Summary: not enough buttons available in xmame 'new i386 linux 1.x.x driver'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-30 09:13 UTC by Ian Haylock
Modified: 2003-12-31 07:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Haylock 2003-12-30 09:13:35 UTC
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
Comment 1 Ian Haylock 2003-12-30 09:25:03 UTC
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 -----
Comment 2 SpanKY gentoo-dev 2003-12-31 07:43:01 UTC
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