]> git.baikalelectronics.ru Git - kernel.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)
commit3c5b219c48de99bfe448534341cc98b90a2e99d0
tree98f07c15e8bcb61e816c85338e75c87f62a44de1
parent03a960415fd3ab2ac278bd56fa8824e07c41a35b
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