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)
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.