(sock, x, y, mask)
| 3289 | }, |
| 3290 | |
| 3291 | pointerEvent(sock, x, y, mask) { |
| 3292 | sock.sQpush8(5); // msg-type |
| 3293 | |
| 3294 | // Marker bit must be set to 0, otherwise the server might |
| 3295 | // confuse the marker bit with the highest bit in a normal |
| 3296 | // PointerEvent message. |
| 3297 | mask = mask & 0x7f; |
| 3298 | sock.sQpush8(mask); |
| 3299 | |
| 3300 | sock.sQpush16(x); |
| 3301 | sock.sQpush16(y); |
| 3302 | |
| 3303 | sock.flush(); |
| 3304 | }, |
| 3305 | |
| 3306 | extendedPointerEvent(sock, x, y, mask) { |
| 3307 | sock.sQpush8(5); // msg-type |