<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>36818</bug_id>
          
          <creation_ts>2003-12-30 09:13 0000</creation_ts>
          <short_desc>not enough buttons available in xmame &apos;new i386 linux 1.x.x driver&apos;</short_desc>
          <delta_ts>2003-12-31 07:43:01 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>haylocki@v21mail.co.uk</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>haylocki@v21mail.co.uk</who>
            <bug_when>2003-12-30 09:13:35 0000</bug_when>
            <thetext>When using the EMS2USB joystick adaptor with linux, both josysticks on the device appear as one joystick with 32 buttons and 8 axis. The &apos;new i386 linux 1.x.x driver&apos; 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>haylocki@v21mail.co.uk</who>
            <bug_when>2003-12-30 09:25:03 0000</bug_when>
            <thetext>I can&apos;t get bugilla to accept my patch as an attachment so I&apos;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 -----</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-12-31 07:43:01 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
      
    </bug>

</bugzilla>