| /xsrc/external/mit/xorg-server/dist/Xi/ |
| xiquerypointer.c | 83 char *buttons = NULL; local 84 int buttons_size = 0; /* size of buttons array */ 154 buttons = calloc(rep.buttons_len, 4); 155 if (!buttons) 161 SetBit(buttons, pDev->button->map[i]); 164 SetBit(buttons, pDev->button->map[1]); 197 if (buttons) 198 WriteToClient(client, buttons_size, buttons); 200 free(buttons);
|
| /xsrc/external/mit/xorg-server.old/dist/Xi/ |
| xiquerypointer.c | 84 char *buttons = NULL; local 85 int buttons_size = 0; /* size of buttons array */ 150 buttons = calloc(1, buttons_size); 151 if (!buttons) 160 SetBit(buttons, i); 198 if (buttons) 199 WriteToClient(client, buttons_size, buttons); 201 free(buttons);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k/ |
| x68kMouse.c | 260 int type, buttons, flag; local 277 * Mouse buttons start at 1. 279 buttons = (fe->id - MS_LEFT) + 1; 280 bmask = 1 << buttons; 299 type, buttons, flag, &mask);
|
| /xsrc/external/mit/transset/dist/ |
| dsimple.c | 167 int buttons = 0; local 180 while ((target_win == None) || (buttons != 0)) { 191 buttons++; 194 if (buttons > 0) /* there may have been some down before we started */ 195 buttons--; 222 //int buttons = 0;
|
| /xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/ |
| x68kMouse.c | 209 /* Initialize emulation 3 buttons settings */ 332 int type, buttons, flag; local 347 * Mouse buttons start at 1 as defined in <X11/X.h>. 349 * The bmask stores which buttons are currently pressed. 353 buttons = (fe->id - MS_LEFT) + 1; 354 bmask = 1 << (buttons - 1); 370 if (buttons == Button1 || buttons == Button3) { 372 Emulate3ButtonsQueueEvent(&pPriv->emu3btn, type, buttons, pPriv->bmask); 376 QueuePointerEvents(device, type, buttons, flag, &mask) [all...] |
| mouseEmu3btn.c | 55 * We track buttons 1 and 3 (left and right). There are 11 states: 84 * 0: no buttons down 87 * 3: both buttons down 89 * Note that button events are not deltas, they are the set of buttons being 114 /* The set of buttons being pressed passed from DDX mouse events */ 119 /* Event index values per buttons being pressed */ 130 struct button_action buttons[NEMU_BUTTONSTATE]; member in struct:button_state 139 * If the buttons are in <button state>, generate <events> then go to 147 .buttons[EMU_BUTTONS_NONE] = { 154 .buttons[EMU_BUTTONS_LEFT] = [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/sun/ |
| sunMouse.c | 303 int type, buttons, flag; local 318 * Mouse buttons start at 1. 320 buttons = (fe->id - MS_LEFT) + 1; 321 bmask = 1 << buttons; 339 QueuePointerEvents(device, type, buttons, flag, &mask);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/sun/ |
| sunMouse.c | 245 int type, buttons, flag; local 262 * Mouse buttons start at 1. 264 buttons = (fe->id - MS_LEFT) + 1; 265 bmask = 1 << buttons; 284 type, buttons, flag, &mask);
|
| /xsrc/external/mit/xorg-server.old/dist/test/xi2/ |
| protocol-eventconvert.c | 272 int buttons, valuators; local 343 buttons = 0; 344 for (i = 0; i < bits_to_bytes(sizeof(in->buttons)); i++) 346 if (XIMaskIsSet(in->buttons, i)) 349 buttons++; 354 for (i = 0; i < sizeof(in->buttons) * 8; i++) 355 g_assert(XIMaskIsSet(in->buttons, i) == XIMaskIsSet(ptr, i)); 601 for (i = 0; i < sizeof(in.buttons) * 8; i++) 603 XISetMask(in.buttons, i); 605 XIClearMask(in.buttons, i) [all...] |
| /xsrc/external/mit/xprop/dist/ |
| dsimple.c | 256 int buttons = 0; local 268 while ((target_win == None) || (buttons != 0)) { 278 buttons++; 281 if (buttons > 0) /* there may have been some down before we started */ 282 buttons--;
|
| /xsrc/external/mit/xwd/dist/ |
| dsimple.c | 244 int buttons = 0; local 257 while ((target_win == None) || (buttons != 0)) { 268 buttons++; 271 if (buttons > 0) /* there may have been some down before we started */ 272 buttons--;
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/ |
| glutEvent.cpp | 648 if (m_buttons) { // if there are buttons pressed 682 uint32 buttons; local 683 win->GetMouse(&cursor, &buttons);
|
| /xsrc/external/mit/xf86-input-mouse/dist/src/ |
| hurd_mouse.c | 108 int buttons = pMse->lastButtons; local 112 buttons = (buttons & 6) |(event->value.up ? 0 : 1); 115 buttons = (buttons & 5) |(event->value.up ? 0 : 2); 118 buttons = (buttons & 3) |(event->value.up ? 0 : 4) ; 128 pMse->PostEvent(pInfo, buttons, dx, dy, 0, 0);
|
| bsd_mouse.c | 448 int buttons = pMse->lastButtons; local 453 buttons &= ~BUTBIT; 456 buttons |= BUTBIT; 508 pMse->PostEvent(pInfo, buttons, dx, dy, dz, dw); 554 hid_item_t loc_btn[MSE_MAXBUTTONS]; /* buttons locator items */ 581 min(pMse->buttons, MSE_MAXBUTTONS), 649 int buttons = pMse->lastButtons; local 681 buttons = 0; 682 for (n = 0; n < pMse->buttons; n++) { 684 buttons |= (1 << UMS_BUT(n)) [all...] |
| sun_mouse.c | 414 int buttons; local 424 buttons = pMse->lastButtons; 493 buttons &= ~(1 << butnum); 495 buttons |= (1 << butnum); 572 pMse->PostEvent(pInfo, buttons, dx, dy, dz, dw);
|
| /xsrc/external/mit/xf86-input-ws/dist/src/ |
| ws.c | 164 priv->buttons = xf86SetIntOption(pInfo->options, "Buttons", 0); 165 if (priv->buttons == 0) { 166 priv->buttons = DFLTBUTTONS; 180 "%s: ZAxisMapping: buttons %d and %d\n", 187 if (priv->negativeZ > priv->buttons) { 188 priv->buttons = priv->negativeZ; 191 if (priv->positiveZ > priv->buttons) { 192 priv->buttons = priv->positiveZ; 206 "%s: WAxisMapping: buttons %d and %d\n" 640 int buttons = priv->lastButtons; local [all...] |
| ws.h | 34 #define NBUTTONS 32 /* max theoretical buttons */ 35 #define DFLTBUTTONS 3 /* default number of buttons */ 41 unsigned int buttons; /* # of buttons */ member in struct:WSDevice 42 unsigned int lastButtons; /* last state of buttons */
|
| /xsrc/external/mit/xorg-server/dist/test/xi2/ |
| protocol-eventconvert.c | 275 int buttons, valuators; local 349 buttons = 0; 350 for (i = 0; i < bits_to_bytes(sizeof(in->buttons)); i++) { 351 if (XIMaskIsSet(in->buttons, i)) { 353 buttons++; 358 for (i = 0; i < sizeof(in->buttons) * 8; i++) 359 assert(XIMaskIsSet(in->buttons, i) == XIMaskIsSet(ptr, i)); 599 for (i = 0; i < sizeof(in.buttons) * 8; i++) { 600 XISetMask(in.buttons, i); 602 XIClearMask(in.buttons, i) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/input/ |
| lnx-ms.c | 116 } buttons; member in struct:_myPrivate 144 static void msLinuxButton(DevicePtr pDev, ENQUEUEPROC enqueue, int buttons, 159 if ((buttons & button1) && !(priv->buttons & button1)) PRESS(1); 160 if (!(buttons & button1) && (priv->buttons & button1)) RELEASE(1); 162 if ((buttons & button2) && !(priv->buttons & button2)) PRESS(2); 163 if (!(buttons & button2) && (priv->buttons & button2)) RELEASE(2) [all...] |
| lnx-ps2.c | 112 } buttons; member in struct:_myPrivate 141 int buttons, BLOCK block) 155 if ((buttons & button1) && !(priv->buttons & button1)) PRESS(1); 156 if (!(buttons & button1) && (priv->buttons & button1)) RELEASE(1); 158 if ((buttons & button2) && !(priv->buttons & button2)) PRESS(2); 159 if (!(buttons & button2) && (priv->buttons & button2)) RELEASE(2) [all...] |
| /xsrc/external/mit/editres/dist/ |
| comm.c | 115 int buttons = 0; 133 while ((target_win == None) || (buttons != 0)) { 151 buttons++; 159 if (buttons > 0) /* There may have been some 161 buttons--; 113 int buttons = 0; local
|
| /xsrc/external/mit/xf86-input-vmmouse/dist/src/ |
| vmmouse.c | 147 static void VMMousePostEvent(InputInfoPtr pInfo, int buttons, int dx, int dy, int dz, int dw); 148 static void VMMouseDoPostEvent(InputInfoPtr pInfo, int buttons, int dx, int dy); 552 VMMouseDoPostEvent(InputInfoPtr pInfo, int buttons, int dx, int dy) 565 * used to compare the current buttons and the previous buttons 568 truebuttons = buttons; 570 buttons = reverseBits(reverseMap, buttons); 592 change = buttons ^ reverseBits(reverseMap, pMse->lastButtons); 597 (buttons & (1 << (id - 1))), 0, 0) 1129 int buttons, dx, dy, dz, dw; local [all...] |
| /xsrc/external/mit/xorgproto/dist/include/X11/extensions/ |
| xf86misc.h | 94 int buttons; member in struct:__anon11870
|
| /xsrc/external/mit/xwininfo/dist/ |
| dsimple.c | 197 int buttons = 0; local 217 while ((target_win == XCB_WINDOW_NONE) || (buttons != 0)) { 236 buttons++; 240 if (buttons > 0) /* there may have been some down before we started */ 241 buttons--;
|
| /xsrc/external/mit/xorg-server.old/dist/include/ |
| eventstr.h | 98 uint8_t buttons[(MAX_BUTTONS + 7)/8]; /**< Button mask */ member in struct:_DeviceEvent 148 int num_buttons; /**< Number of buttons */ 150 } buttons; member in struct:_DeviceChangedEvent
|