]> asedeno.scripts.mit.edu Git - linux.git/commit
media: vivid: Add touch support
authorVandana BN <bnvandana@gmail.com>
Tue, 26 Nov 2019 14:16:50 +0000 (15:16 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 13 Dec 2019 08:22:32 +0000 (09:22 +0100)
commit3d15c7643ba78b71c5c8fae25d7d9af52442882a
tree3963758d93907574f5dc863661fe8a1b8c2f6349
parent8c956f3be17eaed62edb055a0fbce15e3080d953
media: vivid: Add touch support

Support to emulate touch devices in vivid driver.
It generates touch patterns simulating single tap, double tap, triple
tap, move from left to right, zoom in, zoom out, palm press simulating
large area being pressed on screen, and simulating 16 different
simultaneous touch points.The values generated are based on
behavior of the rmi_f54 driver.

Signed-off-by: Vandana BN <bnvandana@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/vivid/Makefile
drivers/media/platform/vivid/vivid-core.c
drivers/media/platform/vivid/vivid-core.h
drivers/media/platform/vivid/vivid-ctrls.c
drivers/media/platform/vivid/vivid-kthread-touch.c [new file with mode: 0644]
drivers/media/platform/vivid/vivid-kthread-touch.h [new file with mode: 0644]
drivers/media/platform/vivid/vivid-touch-cap.c [new file with mode: 0644]
drivers/media/platform/vivid/vivid-touch-cap.h [new file with mode: 0644]