]> 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)
commitd9e7dd8c80f46c945ca167f293fb4029f00e0baa
tree50567c2015cc429d8fdda4706ea059b1016f4d57
parent9e66905de435796e591a6007ccc94aa08e73be96
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