HID: logitech-hidpp: Add HIDPP_CONSUMER_VENDOR_KEYS quirk for the Dinovo Edge
authorHans de Goede <hdegoede@redhat.com>
Mon, 2 Nov 2020 13:36:57 +0000 (14:36 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 12 Nov 2020 15:01:13 +0000 (16:01 +0100)
commitc27168a04a438a457c100253b1aaf0c779218aae
treef65881f870ab08bcbfe06f9afb30ea4b0beff94a
parentee5e58418a854755201eb4952b1230d873a457d5
HID: logitech-hidpp: Add HIDPP_CONSUMER_VENDOR_KEYS quirk for the Dinovo Edge

Like the MX5000 and MX5500 quad/bluetooth keyboards the Dinovo Edge also
needs the HIDPP_CONSUMER_VENDOR_KEYS quirk for some special keys to work.
Specifically without this the "Phone" and the 'A' - 'D' Smart Keys do not
send any events.

In addition to fixing these keys not sending any events, adding the
Bluetooth match, so that hid-logitech-hidpp is used instead of the
generic HID driver, also adds battery monitoring support when the
keyboard is connected over Bluetooth.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-logitech-hidpp.c