diff options
author | YOSHIOKA Takuma <lo48576@hard-wi.red> | 2020-11-21 21:54:37 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-11-25 14:27:45 +0100 |
commit | 68d09380a62784ee5abd67462d2c04d094f3a4d2 (patch) | |
tree | e8b97958d8906b53f20eb1fe35381aeee5cdd17d /drivers/powercap | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid... (diff) | |
download | linux-68d09380a62784ee5abd67462d2c04d094f3a4d2.tar.xz linux-68d09380a62784ee5abd67462d2c04d094f3a4d2.zip |
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/powercap')
0 files changed, 0 insertions, 0 deletions