Summary: | Mouse buttons cannot be mapped with KEYBOARD_KEY | ||
---|---|---|---|
Product: | systemd | Reporter: | bugzilla |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED NOTABUG | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
bugzilla
2014-11-18 01:13:58 UTC
The Linux input layer distinguishes "keys", "buttons", "switches". You can map buttons to buttons, and key to keys, and switches to switches, but not keys to buttons. Sorry. They have different semantics generally. Keys usually a pressed for a short time, and have typematic rates. Buttons are the kind that can be used for double clicks, and have no typematic rates. Switches are continously on or off. If you want to map between keys and buttons, then the kernel doesn't suport that. Sorry! Please bring this up with the kernel guys if you think this should be supported. Thank you for the explanation. I guess it makes sense that mapping across semantically different types of input devices is not something that is supported by the kernel. Fortunately, there are userspace solutions. :-) |
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.