Man page - ts_setup(3)
Packages contains this manual
- ts_close_restricted(3)
- ts_libversion(3)
- ts_test_mt(1)
- ts_read_raw_mt(3)
- ts_finddev(1)
- ts_uinput(1)
- ts_setup(3)
- ts_test(1)
- ts_fd(3)
- ts_error_fn(3)
- ts_print(1)
- ts_harvest(1)
- ts_conf_set(3)
- ts_get_eventpath(3)
- ts_config(3)
- ts_verify(1)
- ts_open(3)
- ts_open_restricted(3)
- ts_read_raw(3)
- ts_conf_get(3)
- ts_read(3)
- ts_conf(1)
- ts_close(3)
- ts_print_raw(1)
- ts_calibrate(1)
- ts_print_mt(1)
- ts.conf(5)
- ts_read_mt(3)
apt-get install libts0t64
Manual
TS_SETUP
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NAME
ts_setup - find, open and configure a touch screen input device
SYNOPSIS
#include <tslib.h>
struct tsdev *ts_setup(const char * dev_name , int nonblock );
DESCRIPTION
ts_setup () will try to find, open and configure the touch screen device. On success it allocates memory for a new touch screen device, opens and links the input event device to it and loads and initialises all modules configured in the tslib configuration file TSLIB_CONFFILE.
If dev_name is NULL ts_setup () will use the device defined by the TSLIB_TSDEVICE environment variable.
If TSLIB_TSDEVICE is not defined ts_setup () will try to use following devices:
/dev/input/ts,
/dev/input/touchscreen,
/dev/touchscreen/ucb1x00.
After that we ts_setup() scans /dev/input/event* for the first device with property INPUT_PROP_DIRECT.
RETURN VALUE
A pointer to the opened struct tsdev is returned.
SEE ALSO
ts_open (3), ts_close (3), ts_read (3), ts_config (3), ts.conf (5)