MCPcopy Create free account
hub / github.com/apache/cloudstack / pointerEvent

Function pointerEvent

systemvm/agent/noVNC/core/rfb.js:3291–3304  ·  view source on GitHub ↗
(sock, x, y, mask)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

sQpush8Method · 0.80
sQpush16Method · 0.80
flushMethod · 0.45

Tested by

no test coverage detected