summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-quirks.c
diff options
context:
space:
mode:
authorYOSHIOKA Takuma <lo48576@hard-wi.red>2020-11-21 23:54:37 +0300
committerJiri Kosina <jkosina@suse.cz>2020-11-25 16:27:45 +0300
commit68d09380a62784ee5abd67462d2c04d094f3a4d2 (patch)
treee8b97958d8906b53f20eb1fe35381aeee5cdd17d /drivers/hid/hid-quirks.c
parentd5530d82efc8631beff20480b1168b1c44294fe1 (diff)
downloadlinux-68d09380a62784ee5abd67462d2c04d094f3a4d2.tar.xz
HID: elecom: rewrite report based on model specific parameters
The report descriptor for EX-G wireless mouse (M-XGL20DLBK) is a bit different from that for trackball mice such as DEFT. For such mouse, the current `mouse_button_fixup` cannot be used as is, because it uses hard-coded indices for a report descriptor. Add parameters to `mouse_button_fixup` function, in order to support fixing report descriptors for more models. Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-quirks.c')
0 files changed, 0 insertions, 0 deletions