HID: elecom: extend to fix the descriptor for DEFT trackballs
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>
Wed, 26 Apr 2017 16:37:04 +0000 (17:37 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 11 May 2017 08:49:14 +0000 (10:49 +0200)
commit0bb7a37f8d15e5fb5d21776875f9fbc74e10753a
tree68f9e3d71650c0f4c48d039c83e3baa4e278deed
parentf4b65b9563216b3e01a5cc844c3ba68901d9b195
HID: elecom: extend to fix the descriptor for DEFT trackballs

The ELECOM DEFT trackballs report only five buttons, when the device
actually has 8. Change the descriptor so that the HID driver can see all of
them.

For completeness and future reference, I included a side-by-side diff of
the part of the descriptor that is being edited.

Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-core.c
drivers/hid/hid-elecom.c
drivers/hid/hid-ids.h