Searched refs:buttonMapping (Results 1 – 2 of 2) sorted by relevance
94 struct { int gdk; int rfb; } buttonMapping[] = { variable110 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()
10 struct { int sdl; int rfb; } buttonMapping[]={ variable400 for (i = 0; buttonMapping[i].sdl; i++) in handleSDLEvent()401 if (state == buttonMapping[i].sdl) { in handleSDLEvent()402 state = buttonMapping[i].rfb; in handleSDLEvent()