diff options
| author | 2007-07-04 16:45:59 +0200 | |
|---|---|---|
| committer | 2007-07-09 14:13:37 +0200 | |
| commit | 2c1d8aea2ca76df1b1de2aed23e3ceda2a044ed1 (patch) | |
| tree | 84441a52707b1239e8395b282b986dfb5a9cd3f1 /include/linux/stacktrace.h | |
| parent | HID: Logitech keyboard 0xc311 needs reset leds quirk (diff) | |
HID: handle cases of volume knobs generating relative values
There are some devices (for example Dell Multimedia Keyboard SK-8135) that have
a volume control knob which generates relative events instead of absolute.
hid-input maps them to ABS_VOLUME. HUT pages don't restrict volume to absolute
values.
Adding REL_VOLUME doesn't seem feasible, nothing knows how to handle it. This
patch translates relative ABS_VOLUME events into appropriate number of series
of VOLUME_UP or VOLUME_DOWN events respectively, so that userspace sees the
correct values in the end.
kernel.org bugzilla 5233
Reported-by: Jochen Eisinger <jochen@penguin-breeder.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
