All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V6] Add support for mouse logitech m560
@ 2015-05-30  9:00 Goffredo Baroncelli
  2015-05-30  9:00 ` [PATCH 1/2] Export hid_field_extract() Goffredo Baroncelli
  2015-05-30  9:00 ` [PATCH 2/2] Add driver for mouse logitech M560 Goffredo Baroncelli
  0 siblings, 2 replies; 5+ messages in thread
From: Goffredo Baroncelli @ 2015-05-30  9:00 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Benjamin Tissoires, Antonio Ospite, Nestor Lopez Casado,
	Dario Righelli, linux-input


Hi All,

This is the 6th attempt for a Logitech mouse M560 hid driver.


On the basis of the feedback received, I made some changes in the code:
v6:
- hid-core.c: rename extract() to hid_field_extract() and make it linkage
  external
- hid-logitech-hidpp.c: use hid_field_extract() instead of hidpp_extract()
  as per Jiri request.
- update the error message in m560_raw_event() to be more specific
v5:
- simplified the checks inside m560_raw_event()
- rearranged the return codes in m560_raw_event(): 0 in case the frame is not
  corrected, 1 if the data are correct. This is the behavior observed in
  other drivers, even if the returned values may vary.


The patch is against v4.1-rc5.

Special thanks to Antonio and Benjamin for their support and testing.

BR
G.Baroncelli

--
gpg  <at> keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D  17B2 0EDA 9B37 8B82 E0B5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-02 12:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-30  9:00 [PATCH V6] Add support for mouse logitech m560 Goffredo Baroncelli
2015-05-30  9:00 ` [PATCH 1/2] Export hid_field_extract() Goffredo Baroncelli
2015-05-30  9:00 ` [PATCH 2/2] Add driver for mouse logitech M560 Goffredo Baroncelli
2015-06-01 12:39   ` Jiri Kosina
2015-06-02 12:07     ` Goffredo Baroncelli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.