diff options
author | Ryo Dairiki <ryo-dairiki@users.sourceforge.net> | 2007-06-25 04:31:12 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-07-09 08:13:36 -0400 |
commit | 5f9c464aaa1ba3a773c47004e98eb1f3aa2ab2a4 (patch) | |
tree | 319d4547f6c6128a4e1055b0c152eb168b906129 /include/linux | |
parent | 816cbfda8b5113629707f604660204701e93b7ce (diff) |
HID: support for logitech cordless desktop LX500 special mapping
This keyboard has wireless mouse which has left, middle, right buttons and
2-dimensional scrolling wheel. Unfornetuly, this wheel reports side scrolling
events and 11 or 12 button events at the same time.
I've wrote a patch to fix this mapping. I'm not sure if this mapping is proper
for buttons, because , for example, there is no entry for "burn cd" in input.h.
The patch also supress 11 and 12 button events from mouse when you scroll the
wheel left and right. With this patch, only side scrolling events are
reported. (This mouse has only 4 buttons and 2D wheel. There is no such
buttons like 11 and 12.)
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/hid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 4daf5eea78a1..44b64f0d0555 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -274,6 +274,8 @@ struct hid_item { | |||
274 | #define HID_QUIRK_DUPLICATE_USAGES 0x00080000 | 274 | #define HID_QUIRK_DUPLICATE_USAGES 0x00080000 |
275 | #define HID_QUIRK_RESET_LEDS 0x00100000 | 275 | #define HID_QUIRK_RESET_LEDS 0x00100000 |
276 | #define HID_QUIRK_HIDINPUT 0x00200000 | 276 | #define HID_QUIRK_HIDINPUT 0x00200000 |
277 | #define HID_QUIRK_LOGITECH_IGNORE_DOUBLED_WHEEL 0x00400000 | ||
278 | #define HID_QUIRK_LOGITECH_EXPANDED_KEYMAP 0x00800000 | ||
277 | 279 | ||
278 | /* | 280 | /* |
279 | * Separate quirks for runtime report descriptor fixup | 281 | * Separate quirks for runtime report descriptor fixup |