Man page - ts_libversion(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_LIBVERSION
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NAME
ts_libversion - get version information on the currently running tslib
SYNOPSIS
#include <tslib.h>
struct ts_lib_version_data *ts_libversion();
DESCRIPTION
ts_libversion () This function returns a pointer to a static copy of the version info struct:
struct
ts_lib_version_data {
const char *package_version;
int version_num;
unsigned int features;
};
package_version is just the string containing the tarball release number, e.g. "1.10".
version_num is a 24 bit number created like this: <8 bits major number> | <8 bits minor number> | <8 bits patch number> of the library libts. Version 0.7.1 is therefore returned as 0x000701.
features can have one or more bits set. The currently defined bits are:
TSLIB_VERSION_MT tslib filters support multitouch ts_read_mt() and there is at least one raw access module supporting it (currently evdev input) TSLIB_VERSION_OPEN_RESTRICTED ts_open_restricted and ts_close_restricted function pointers are available to implement TSLIB_VERSION_EVENTPATH ts_get_eventpath() is available since tslib can auto-detect a device TSLIB_VERSION_VERSION simple tslib_version() and ts_print_ascii_logo() are available
RETURN VALUE
This function returns a pointer to a static copy of the version info struct.
SEE ALSO
ts_setup (3), ts_read (3), ts.conf (5)