Definition at line 409 of file qmousepc_qws.cpp.
◆ QWSPcMouseSubHandler_ms()
QWSPcMouseSubHandler_ms::QWSPcMouseSubHandler_ms |
( |
int |
f | ) |
|
|
inline |
◆ init()
void QWSPcMouseSubHandler_ms::init |
( |
| ) |
|
|
inline |
Definition at line 418 of file qmousepc_qws.cpp.
426 if (tcflush(
fd,TCIOFLUSH) == -1) {
427 #ifdef QWS_MOUSE_DEBUG 428 perror(
"QWSPcMouseSubHandler_ms: tcflush");
◆ tryData()
int QWSPcMouseSubHandler_ms::tryData |
( |
| ) |
|
|
inlinevirtual |
Implements QWSPcMouseSubHandler.
Definition at line 433 of file qmousepc_qws.cpp.
435 if (!(
buffer[0] & 0x40)) {
442 if (
nbuf >= 3+extra) {
447 nbstate = ((
buffer[0] & 0x20) >> 5)
448 | ((
buffer[0] & 0x10) >> 3);
449 if (extra &&
buffer[3] == 0x20)
459 |(
signed char)(
buffer[1]&0x3f),
460 (
signed char)((
buffer[0]&0xc)<<4)
461 |(
signed char)(
buffer[2]&0x3f));
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.
◆ mman
int QWSPcMouseSubHandler_ms::mman |
|
private |
The documentation for this class was generated from the following file: