diff options
| author | Nick Dyer <[email protected]> | 2016-07-18 18:10:30 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-08-23 16:28:04 -0300 |
| commit | b2fe22d0cf64708c50c26f11b3da8b79809c699b (patch) | |
| tree | de7ba78bc3260c2af09a9ec6a2065497e8ea3088 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | aaf578e12e06160792ae5dd71dee3b074e0f9475 (diff) | |
[media] v4l2-core: Add support for touch devices
Some touch controllers send out touch data in a similar way to a
greyscale frame grabber.
Add new device type VFL_TYPE_TOUCH:
- This uses a new device prefix v4l-touch for these devices, to stop
generic capture software from treating them as webcams. Otherwise,
touch is treated similarly to video capture.
- Add V4L2_INPUT_TYPE_TOUCH
- Add MEDIA_INTF_T_V4L_TOUCH
- Add V4L2_CAP_TOUCH to indicate device is a touch device
Add formats:
- V4L2_TCH_FMT_DELTA_TD16 for signed 16-bit touch deltas
- V4L2_TCH_FMT_DELTA_TD08 for signed 16-bit touch deltas
- V4L2_TCH_FMT_TU16 for unsigned 16-bit touch data
- V4L2_TCH_FMT_TU08 for unsigned 8-bit touch data
This support will be used by:
- Atmel maXTouch (atmel_mxt_ts)
- Synaptics RMI4.
- sur40
Signed-off-by: Nick Dyer <[email protected]>
Tested-by: Chris Healy <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions