![]() ![]() |
Qt/Embedded uses the environment variable QWS_MOUSE_PROTO to determine which mouse to use. This environment variable should be set to:
<protocol>:<device>where <protocol> is one of:
If you require support for a mouse other than these, you can use GPM to translate the mouse protocol as an interim solution. To do this, run:
gpm -t helpchoose a protocol from the list and run:
gpm -R ps2 -t <protocol>
In Qt/Embedded 2.2.0 no attempt is made to auto-detect the mouse type, on the assumption that an embedded device will support a single mouse protocol. Such auto-detection may be available in a future release.
To add another protocol, new subclasses of QMouseHandler can be written in kernel/qwsmouse_qws.cpp.
Qt/Embedded ships with support for the NEC Vr41XX touchpanel. Like an additional mouse protocol, this is implemented by subclassing QMouseHandler in kernel/qwsmouse_qws.cpp.
Copyright © 2000 Trolltech | Trademarks | Qt version 2.2.0
|