I know it is supported with xmodmap, but I need different buttons mapped differently per each one of my devices. The following patch implements this. I have also increased the buttons it supports, although that is still untested.
Created attachment 7418 [details] [review] Button Remapping
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Created attachment 9360 [details] [review] Button Remapping Should work with the new code. Not highly tested...
(In reply to comment #0) > I know it is supported with xmodmap, but I need different buttons mapped > differently per each one of my devices. The following patch implements this. I > have also increased the buttons it supports, although that is still untested. I'm marking this as WONTFIX. for a number of reasons. - the primary mode of evdev is to add hotplugged devices. In which case the configuration per device doesn't apply as it is all added through the hal daemon. - XSetDeviceButtonMapping should do the job of the attached patch at runtime. If the configuration per device is required, it can be better done through a configuration client at runtime. For the sake of keeping evdev simple (and working), I'd vote for not adding this option.
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.