ts_finddev man page

ts_finddev ā€” Discover touch screen devices.

Synopsis

ts_finddev device wait_seconds

Description

ts_finddev tests whether the device given as parameter is a touch screen device. Touch the screen after invoking ts_finddev.

Return value is 0 if the given timeout wait_seconds expired without an input event, -1 if device is no touch screen device and 1 if it is.

See Also

ts.conf (5), ts_test (1), ts_test_mt (1), ts_calibrate (1)

Info

tslib