Bug 8647 - Patch to support button remapping per device
Summary: Patch to support button remapping per device
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Zephaniah E. Hull
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2006-10-14 14:30 UTC by Brian Murray
Modified: 2008-05-01 06:11 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Button Remapping (4.46 KB, patch)
2006-10-14 14:30 UTC, Brian Murray
no flags Details | Splinter Review
Button Remapping (4.70 KB, patch)
2007-03-29 11:18 UTC, Brian Murray
no flags Details | Splinter Review

Description Brian Murray 2006-10-14 14:30:09 UTC
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.
Comment 1 Brian Murray 2006-10-14 14:30:41 UTC
Created attachment 7418 [details] [review]
Button Remapping
Comment 2 Daniel Stone 2007-02-27 01:34:04 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Brian Murray 2007-03-29 11:18:18 UTC
Created attachment 9360 [details] [review]
Button Remapping

Should work with the new code. Not highly tested...
Comment 4 Peter Hutterer 2008-05-01 06:11:47 UTC
(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.