HID: elecom: add support for EX-G M-XGL20DLBK wireless mouse
authorYOSHIOKA Takuma <lo48576@hard-wi.red>
Sat, 21 Nov 2020 20:54:38 +0000 (05:54 +0900)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Nov 2020 13:27:45 +0000 (14:27 +0100)
commit55633e681afb57c9a8ff8a3b22083d44cbaee9e8
tree18094021197ebb3314e3f8193f0cea7c5c10633e
parent68d09380a62784ee5abd67462d2c04d094f3a4d2
HID: elecom: add support for EX-G M-XGL20DLBK wireless mouse

Enables three buttons (Fn1, Fn2, and Fn3) on the ELECOM M-XGL20DLBK
wireless mouse.

While this mouse is EX-G brand, report descriptor is a bit different
from EX-G trackball mouse. To enable extra buttons, report should be
rewritten in a similar way to trackballs, but with different position
parameters.

Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-elecom.c
drivers/hid/hid-ids.h
drivers/hid/hid-quirks.c