Home
last modified time | relevance | path

Searched refs:buttonMask (Results 1 – 16 of 16) sorted by relevance

/external/libvncserver/examples/
Dmac.c421 PtrAddEvent(buttonMask, x, y, cl) in PtrAddEvent() argument
422 int buttonMask; in PtrAddEvent()
437 (buttonMask & (1 << 0)) ? TRUE : FALSE,
438 (buttonMask & (1 << 1)) ? TRUE : FALSE,
439 (buttonMask & (1 << 2)) ? TRUE : FALSE,
440 (buttonMask & (1 << 3)) ? TRUE : FALSE,
441 (buttonMask & (1 << 4)) ? TRUE : FALSE,
442 (buttonMask & (1 << 5)) ? TRUE : FALSE,
443 (buttonMask & (1 << 6)) ? TRUE : FALSE,
444 (buttonMask & (1 << 7)) ? TRUE : FALSE);
Dexample.c124 static void doptr(int buttonMask,int x,int y,rfbClientPtr cl) in doptr() argument
129 if(buttonMask) { in doptr()
132 if(cd->oldButton==buttonMask) { /* draw a line */ in doptr()
141 x1=x-buttonMask; if(x1<0) x1=0; in doptr()
142 x2=x+buttonMask; if(x2>maxx) x2=maxx; in doptr()
143 y1=y-buttonMask; if(y1<0) y1=0; in doptr()
144 y2=y+buttonMask; if(y2>maxy) y2=maxy; in doptr()
158 cd->oldx=x; cd->oldy=y; cd->oldButton=buttonMask; in doptr()
160 rfbDefaultPtrAddEvent(buttonMask,x,y,cl); in doptr()
Dvncev.c88 static void doptr(int buttonMask,int x,int y,rfbClientPtr cl) in doptr() argument
91 if(buttonMask) { in doptr()
92 sprintf(buffer,"Ptr: mouse button mask 0x%x at %d,%d",buttonMask,x,y); in doptr()
Dzippy.c20 void on_mouse_event (int buttonMask,int x,int y,rfbClientPtr cl);
179 void on_mouse_event (int buttonMask,int x,int y,rfbClientPtr cl) in on_mouse_event() argument
182 "x: %i\n" "y: %i\n", buttonMask, x, y); in on_mouse_event()
/external/libvncserver/test/
Dcursortest.c268 static void doptr(int buttonMask,int x,int y,rfbClientPtr cl) in doptr() argument
273 if((oldButtonMask&1)==0 && (buttonMask&1)==1) { in doptr()
307 if(buttonMask&2) { in doptr()
312 if(buttonMask&4) in doptr()
316 oldButtonMask=buttonMask; in doptr()
318 rfbDefaultPtrAddEvent(buttonMask,x,y,cl); in doptr()
/external/libvncserver/client_examples/
Dgtkvncviewer.c106 int i, buttonMask; in button_event() local
110 for (buttonMask = 0, i = 0; buttonMapping[i].gdk; i++) in button_event()
112 buttonMask |= buttonMapping[i].rfb; in button_event()
113 SendPointerEvent (cl, x, y, buttonMask); in button_event()
123 int i, buttonMask; in motion_notify_event() local
133 for (buttonMask = 0, i = 0; buttonMapping[i].gdk; i++) in motion_notify_event()
135 buttonMask |= buttonMapping[i].rfb; in motion_notify_event()
136 SendPointerEvent (cl, x, y, buttonMask); in motion_notify_event()
DSDLvncviewer.c19 static int enableResizable = 1, viewOnly, listenLoop, buttonMask; variable
404 buttonMask |= state; in handleSDLEvent()
406 buttonMask &= ~state; in handleSDLEvent()
414 SendPointerEvent(cl, x, y, buttonMask); in handleSDLEvent()
415 buttonMask &= ~(rfbButton4Mask | rfbButton5Mask); in handleSDLEvent()
/external/libvncserver/libvncserver/
Dselbox.c169 static void selPtrAddEvent(int buttonMask,int x,int y,rfbClientPtr cl) in selPtrAddEvent() argument
176 if(buttonMask) in selPtrAddEvent()
181 if(buttonMask) in selPtrAddEvent()
188 if(!m->lastButtons && buttonMask) { in selPtrAddEvent()
193 m->lastButtons = buttonMask; in selPtrAddEvent()
Drfbserver.c2432 if (msg.pe.buttonMask == 0) in rfbProcessClientNormalMessage()
2438 if (msg.pe.buttonMask != cl->lastPtrButtons || in rfbProcessClientNormalMessage()
2440 cl->screen->ptrAddEvent(msg.pe.buttonMask, in rfbProcessClientNormalMessage()
2444 cl->lastPtrButtons = msg.pe.buttonMask; in rfbProcessClientNormalMessage()
2448 cl->lastPtrButtons = msg.pe.buttonMask; in rfbProcessClientNormalMessage()
3577 cl->screen->ptrAddEvent(msg.pe.buttonMask, in rfbProcessUDPInput()
Dmain.c636 rfbDefaultPtrAddEvent(int buttonMask, int x, int y, rfbClientPtr cl) in rfbDefaultPtrAddEvent() argument
/external/libvncserver/examples/android/jni/
Dfbvncserver.c79 static void ptrevent(int buttonMask, int x, int y, rfbClientPtr cl);
364 static void ptrevent(int buttonMask, int x, int y, rfbClientPtr cl) in ptrevent() argument
376 if(buttonMask & 1) { in ptrevent()
/external/libvncserver/rfb/
Drfbclient.h440 extern rfbBool SendPointerEvent(rfbClient* client,int x, int y, int buttonMask);
Drfb.h145 typedef void (*rfbPtrAddEventProcPtr) (int buttonMask, int x, int y, struct _rfbClientRec* cl);
933 extern void rfbDefaultPtrAddEvent(int buttonMask,int x,int y,rfbClientPtr cl);
Drfbproto.h1352 uint8_t buttonMask; /* bits 0-7 are buttons 1-8, 0=up, 1=down */ member
/external/libvncserver/
DREADME115 defaultPtrAddEvent(buttonMask,x,y,cl);
178 ptrAddEvent(int buttonMask,int x,int y,rfbClientPtr cl)
181 defaultPtrAddEvent(buttonMask,x,y,cl)
/external/libvncserver/libvncclient/
Drfbproto.c1682 SendPointerEvent(rfbClient* client,int x, int y, int buttonMask) in SendPointerEvent() argument
1689 pe.buttonMask = buttonMask; in SendPointerEvent()