|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# QWSTslibMouseHandler Class Reference
[QtGui module]

The QWSTslibMouseHandler class implements a mouse driver for the Universal Touch Screen Library, tslib. More...

     #include <QWSTslibMouseHandler>

Inherits QWSCalibratedMouseHandler.

- List of all members, including inherited members

### Additional Inherited Members

- 2 public functions inherited from QWSCalibratedMouseHandler
- 8 public functions inherited from QWSMouseHandler
- 5 protected functions inherited from QWSCalibratedMouseHandler

## Detailed Description

The QWSTslibMouseHandler class implements a mouse driver for the Universal Touch Screen Library, tslib.

QWSTslibMouseHandler inherits the QWSCalibratedMouseHandler class, providing calibration and noise reduction functionality in addition to generating mouse events, for devices using the Universal Touch Screen Library.

To be able to compile this mouse handler, Qtopia Core must be configured with the `-qt-mouse-tslib` option, see the Pointer Handling documentation for details. In addition, the tslib headers and library must be present in the build environment. The tslib sources can be downloaded from http://cvs.arm.linux.org.uk. Use the `-L` and `-I` options with `configure` to explicitly specify the location of the library and its headers:

     configure  -L <path to tslib library> -I <path to tslib headers>

In order to use this mouse handler, tslib must also be correctly installed on the target machine. This includes providing a `ts.conf` configuration file and setting the neccessary environment variables, see the README file provided with tslib for details.

The ts.conf file will usually contain the following two lines

     module_raw input
     module linear

To make Qtopia Core explicitly choose the tslib mouse handler, set the QWS_MOUSE_PROTO environment variable.

See also Pointer Handling and Qtopia Core.