Bug 2390 - MSE_MAXBUTTONS too small
Summary: MSE_MAXBUTTONS too small
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/Mouse (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 00:19 UTC by Julian Cable
Modified: 2005-05-08 23:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Julian Cable 2005-01-27 00:19:30 UTC
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)
Comment 1 Eric Anholt 2005-05-09 16:26:23 UTC
Maximum number of buttons has been increased from 12 to 24.  Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.