diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-03-01 03:54:44 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-03-01 03:54:44 -0500 |
commit | 25914662b7e86f8cf8abdde0497e7fe8bdddf2ae (patch) | |
tree | 63abd15444fd5a3c04e8d3429950653b8ca7044f /include/linux | |
parent | a4dff3980697fc374008d005f56da3d8bab8c316 (diff) |
HID: fix Logitech DiNovo Edge touchwheel and Logic3 /SpectraVideo middle button
Dongle shipped with Logitech DiNovo Edge (0x046d/0xc714) behaves in a weird
non-standard way - it contains multiple reports with the same usage, which
results in remapping of GenericDesktop.X and GenericDesktop.Y usages to
GenericDesktop.Z and GenericDesktop.RX respectively, thus rendering the
touchwheel unusable.
The commit 35068976916fdef82d6e69ef1f8c9a1c47732759 solved this
in a way that it didn't remap certain usages. This however breaks
(at least) middle button of Logic3 / SpectraVideo (0x1267/0x0210),
which in contrary requires the remapping.
To make both of the harware work, allow remapping of these usages again,
and introduce a quirk for Logitech DiNovo Edge "touchwheel" instead - we
disable remapping for key, abs and rel events only for this hardware.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/hid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index b08ad8a23699..8c97d4d3fdb0 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -268,6 +268,7 @@ struct hid_item { | |||
268 | #define HID_QUIRK_IGNORE_MOUSE 0x00040000 | 268 | #define HID_QUIRK_IGNORE_MOUSE 0x00040000 |
269 | #define HID_QUIRK_SONY_PS3_CONTROLLER 0x00080000 | 269 | #define HID_QUIRK_SONY_PS3_CONTROLLER 0x00080000 |
270 | #define HID_QUIRK_LOGITECH_S510_DESCRIPTOR 0x00100000 | 270 | #define HID_QUIRK_LOGITECH_S510_DESCRIPTOR 0x00100000 |
271 | #define HID_QUIRK_DUPLICATE_USAGES 0x00200000 | ||
271 | 272 | ||
272 | /* | 273 | /* |
273 | * This is the global environment of the parser. This information is | 274 | * This is the global environment of the parser. This information is |