HID: hid-logitech-hidpp: Add basic support for Logitech G920
authorSimon Wood <simon@mungewell.org>
Thu, 19 Nov 2015 23:42:12 +0000 (16:42 -0700)
committerJiri Kosina <jkosina@suse.cz>
Fri, 20 Nov 2015 09:29:59 +0000 (10:29 +0100)
commit7bfd2927adcacac2930a2709a9bcc1231e5bba1c
tree46460fb965cfeba22eba96290dd7490944f6cbc9
parenta5ce8f5b12966d34623d6c20278b5b4da7a53675
HID: hid-logitech-hidpp: Add basic support for Logitech G920

This patch adds basic support for the Logitech G920 wheel when in HID
mode. This wheel 'speaks' the HID++ protocol, and therefor is driven
with hid-logitech-hidpp.

At this stage the driver only shows that it can communicate with the
wheel by outputting the name discovered over HID++.

The normal HID functions work to give input functionality using
joystick/event interface.

Note: in 'hidpp_probe()' we have to start the hardware to get packets
flowing, the same might apply in future for other devices which don't
use the unifying protocol.

Signed-off-by: Simon Wood <simon@mungewell.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-logitech-hidpp.c