Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
Usually only one pointer device is supported in an embedded device, but for demonstration purposes, TQt/Embedded includes a large number of supported devices.
Mouse drivers can be enabled/disabled via the configure script. Running ./configure -help lists the available mouse drivers. Only the "pc" mouse driver is enabled in the default configuration.
Provided the "pc" mouse driver is enabled, TQt/Embedded auto-detects the mouse type and device if it is one of the supported types on /dev/psaux or one of the /dev/ttyS? serial lines. If multiple mice are detected, all may be used simultaneously.
Alternatively, you may set the environment variable TQWS_MOUSE_PROTO to determine which mouse to use. This environment variable may be set to:
<protocol>:<device>where <protocol> is one of:
To add another protocol, new subclasses of TQWSMouseHandler and TQMouseDriverPlugin can be written and installed as plugins.
TQt/Embedded ships with support for the NEC Vr41XX touchpanel and the emerging linux touchpanel standard used by the iPAQ and Zaurus. These are subclasses of TQWSCalibratedMouseHandler which is in turn a subclass of TQWSMouseHandler in embedded/qmouse_qws.cpp.
Copyright © 2007 Trolltech | Trademarks | TQt 3.3.8
|