[Bug 2390] New: MSE_MAXBUTTONS too small

bugzilla-daemon@freedesktop.org bugzilla-daemon@freedesktop.org
Thu Jan 27 00:19:30 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to            
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2390          
     
           Summary: MSE_MAXBUTTONS too small
           Product: xorg
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Input/Mouse
        AssignedTo: xorg-bugzilla-noise@freedesktop.org
        ReportedBy: julian_cable@yahoo.com


MSE_MAXBUTTONS is defined as 12 in xf86OSmouse.h

On Linux, the evdev protocol supports mice with up to 16 buttons, which with
zaxis mapping means MSE_MAXBUTTONS should be at least 20.

Example: my Logitech MediaPlay has 13 physical buttons and a scroll wheel.

As far as I can tell, changing MSE_MAXBUTTONS to up to 31 should be OK, as the
mouse driver holds a button bit map in an "int" but there might be other
dependencies I don't know about.

(also raised as XFree86 bug 1536)          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list