Home
last modified time | relevance | path

Searched refs:buttonMapping (Results 1 – 2 of 2) sorted by relevance

/external/libvncserver/client_examples/
Dgtkvncviewer.c94 struct { int gdk; int rfb; } buttonMapping[] = { variable
110 for (buttonMask = 0, i = 0; buttonMapping[i].gdk; i++) in button_event()
111 if (state & buttonMapping[i].gdk) in button_event()
112 buttonMask |= buttonMapping[i].rfb; in button_event()
133 for (buttonMask = 0, i = 0; buttonMapping[i].gdk; i++) in motion_notify_event()
134 if (state & buttonMapping[i].gdk) in motion_notify_event()
135 buttonMask |= buttonMapping[i].rfb; in motion_notify_event()
DSDLvncviewer.c10 struct { int sdl; int rfb; } buttonMapping[]={ variable
400 for (i = 0; buttonMapping[i].sdl; i++) in handleSDLEvent()
401 if (state == buttonMapping[i].sdl) { in handleSDLEvent()
402 state = buttonMapping[i].rfb; in handleSDLEvent()