Affects evdev >= 2.2.3 and git. Evdev counts the number of buttons based on the configured mapping which may lead to the wrong button number. e.g. a button mapping of "1 2 3 4 5 6 7 3 2" for a 5-button mouse will result in only 3 buttons being advertised to the server.
Created attachment 28801 [details] [review] 0001-Only-take-the-driver-internal-button-mapping-to-coun.patch
Pushed to master as 415b6ffa958e3103eeb52af4ccd881497169eed4. evdev 2.2.5 released with bugfix. Closing as fixed.
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.