ts_get_eventpath(3)

ts_get_eventpath3

Get the path to the currently opened touchscreen device file

Usage

#include <tslib.h>

char *ts_get_eventpath(struct tsdev *tsdev);

Overview

ts_get_eventpath() This function returns the path to the touchscreen device file that was opened with ts_open(). In case ts_setup() is used instead of ts_open() directly, it is often not known to the application in advance.

Return value

This function returns the path to the touchscreen device file that was opened with ts_open(). It returns NULL in case of failure.

Releases

Unchanged in 5 releases since Debian 10 (Buster).

  1. 10–Arch

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