Skip to content
Commit 68d09380 authored by YOSHIOKA Takuma's avatar YOSHIOKA Takuma Committed by Jiri Kosina
Browse files

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: default avatarYOSHIOKA Takuma <lo48576@hard-wi.red>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent d5530d82
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment