]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: elan: Correctly report MT_PRESSURE instead of TOOL_WIDTH
authorHans de Goede <hdegoede@redhat.com>
Wed, 11 Jul 2018 10:38:31 +0000 (12:38 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 17 Jul 2018 13:25:39 +0000 (15:25 +0200)
commit2f612de2d67dca26191e6c3db544f4c30beb6838
tree98f07c15e8bcb61e816c85338e75c87f62a44de1
parentf109b43ad9af6b5a003b6619cb2242fde19009ce
HID: elan: Correctly report MT_PRESSURE instead of TOOL_WIDTH

Elan has given me a (GPL-ed) Android driver for their non HID-mt touchpads
to help improve the upstream support.

Acoording to Elan what we are currently reporting as tool-width
really is a per-touch pressure. This always has a maximum of 255, so there
is no need to make the max configurable.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-elan.c