]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit85919a00e55f90e72405e707eb23c930b8d8db91
tree50567c2015cc429d8fdda4706ea059b1016f4d57
parentffb6e0c9a0572f8e5f8e9337a1b40ac2ec1493a1
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