carta
ts_finddev(1)

ts_finddev1

Discover touch screen devices.

Usage

ts_finddev device wait_seconds

Overview

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.

From tslib 1.24-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.