Definition at line 245 of file qmousepc_qws.cpp.
◆ QWSPcMouseSubHandler_mouseman()
QWSPcMouseSubHandler_mouseman::QWSPcMouseSubHandler_mouseman |
( |
int |
f | ) |
|
|
inline |
◆ init()
void QWSPcMouseSubHandler_mouseman::init |
( |
| ) |
|
|
inline |
Definition at line 253 of file qmousepc_qws.cpp.
255 if (tcflush(
fd,TCIOFLUSH) == -1) {
256 #ifdef QWS_MOUSE_DEBUG 257 perror(
"QWSPcMouseSubHandler_mouseman: initial tcflush");
264 static const unsigned char ibuf[] = { 246, 244 };
267 if (tcflush(
fd,TCIOFLUSH) == -1) {
268 #ifdef QWS_MOUSE_DEBUG 269 perror(
"QWSPcMouseSubHandler_mouseman: tcflush");
◆ tryData()
int QWSPcMouseSubHandler_mouseman::tryData |
( |
| ) |
|
|
inlinevirtual |
Implements QWSPcMouseSubHandler.
Definition at line 278 of file qmousepc_qws.cpp.
289 int overflow = (
buffer[0]>>6)& 0x03;
295 bool xs =
buffer[0] & 0x10;
296 bool ys =
buffer[0] & 0x20;
The QPoint class defines a point in the plane using integer precision.
int y() const
Returns the y coordinate of this point.
int x() const
Returns the x coordinate of this point.
◆ packetsize
int QWSPcMouseSubHandler_mouseman::packetsize |
|
private |
The documentation for this class was generated from the following file: