]> git.baikalelectronics.ru Git - kernel.git/commit
Input: focaltech - report finger width to userspace
authorDmitry Tunin <hanipouspilot@gmail.com>
Sun, 31 May 2015 18:26:49 +0000 (11:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 2 Jun 2015 17:46:10 +0000 (10:46 -0700)
commit138cc66fe4f6f69695d76716ecb611218c2958e1
tree50567c2015cc429d8fdda4706ea059b1016f4d57
parent0f2df2a8fb2e676725c489fba427ba36ba3fe55a
Input: focaltech - report finger width to userspace

Focaltech touchpads report finger width in packet[5] of absolute packet.
Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0.
0xff is reported, when a large contact area is detected.
This can be handled in userspace.

Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/focaltech.c