[PATCH 2/2] Add driver for mouse logitech M560

2015-05-30 Thread Goffredo Baroncelli
From: Goffredo Baroncelli 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 even

Re: [PATCH 2/2] Add driver for mouse logitech M560

2015-06-01 Thread Jiri Kosina
On Sat, 30 May 2015, Goffredo Baroncelli wrote: > From: Goffredo Baroncelli > > 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 co

Re: [PATCH 2/2] Add driver for mouse logitech M560

2015-06-02 Thread Goffredo Baroncelli
Hi Jiri, On 2015-06-01 14:39, Jiri Kosina wrote: > [ ... snip ... ] >> +v = hid_snto32(hidpp_field_extract(hdev, data+3, 0, 12), 12); >> +input_report_rel(mydata->input, REL_X, v); >> + >> +v = hid_snto32(hidpp_field_extract(hdev, data+3, 12, 12), 12); >> +