DOKK / manpages / debian 11 / libts0 / ts_fd.3.en
TS_FD(3) tslib TS_FD(3)

ts_fd - get the file descriptor to a touchscreen device

#include <tslib.h>

int ts_fd(struct tsdev *);

ts_fd() gets an open touchscreen device' file descriptor.

The file descriptor value is returned. struct tsdev is returned.

ts_setup(3), ts_close(3), ts_read(3), ts.conf(5)