diff options
author | Goffredo Baroncelli <kreijack@inwind.it> | 2015-05-30 11:00:27 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-06-01 14:38:09 +0200 |
commit | 8a09b4fadf320cef081e1539975a97793cfb9076 (patch) | |
tree | d32290210d982dbda9eadea7b16170de10ee5ba8 /drivers/hid/i2c-hid/i2c-hid.c | |
parent | 04fba7864ffcceae8a5f78d88ae1fd8d682a5123 (diff) | |
download | op-kernel-dev-8a09b4fadf320cef081e1539975a97793cfb9076.zip op-kernel-dev-8a09b4fadf320cef081e1539975a97793cfb9076.tar.gz |
HID: hidpp: Add driver for mouse logitech M560
The Logitech M560 is a wireless mouse designed for windows 8 which uses
the unifying receiver.
Compared to a standard one, some buttons (the middle one and the
two ones placed on the side) are bound to a key combination
instead of a generating classic "mouse" button events.
The device shows up as a mouse and keyboard combination: when the middle
button is pressed it sends a key (as keyboard) combination, the same
happens for the two side button. The left/right/wheel work as expected
from a mouse. To complicate things further, the middle button sends
different keys combinations between odd and even presses.
In the "even" press it also sends a left click. But the worst thing
is that no event is generated when the middle button is released.
It is possible to re-configure the mouse sending a command (see function
m560_send_config_command()). After this command the mouse sends some
useful data when the buttons are pressed and/or released.
[jkosina@suse.cz: fix build breakage due to leftover from previous
patch version]
Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/i2c-hid/i2c-hid.c')
0 files changed, 0 insertions, 0 deletions