Bug 23405

Summary: regression: evdev button count is wrong
Product: xorg Reporter: Peter Hutterer <peter.hutterer>
Component: Input/evdevAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=517782
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0001-Only-take-the-driver-internal-button-mapping-to-coun.patch none

Description Peter Hutterer 2009-08-18 21:55:30 UTC
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.
Comment 1 Peter Hutterer 2009-08-19 18:14:00 UTC
Created attachment 28801 [details] [review]
0001-Only-take-the-driver-internal-button-mapping-to-coun.patch
Comment 2 Peter Hutterer 2009-08-20 16:40:22 UTC
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.