Searched defs:buttonMask (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/ExtPacks/VNC/
H A DVBoxVNC.cpp106 static DECLCALLBACK(void) vncMouseEvent(int buttonMask, int x, int y, rfbClientPtr cl);
1270 void VNCServerImpl::vncMouseEvent(int buttonMask, int x, int y, rfbClientPtr cl) argument
1276 if (buttonMask & 1) button |= VRDE_INPUT_POINT_BUTTON1;
1277 if (buttonMask & 2) button |= VRDE_INPUT_POINT_BUTTON3;
1278 if (buttonMask & 4) button |= VRDE_INPUT_POINT_BUTTON2;
1279 if (buttonMask & 8) button |= VRDE_INPUT_POINT_WHEEL_UP;
1280 if (buttonMask & 16) button |= VRDE_INPUT_POINT_WHEEL_DOWN;
1285 rfbDefaultPtrAddEvent(buttonMask, x, y, cl);

Completed in 196 milliseconds