| /OK3568_Linux_fs/external/xserver/Xi/ |
| H A D | xiquerydevice.c | 212 len += dev->button->numButtons * sizeof(Atom); in SizeDeviceClasses() 213 len += pad_to_int32(bits_to_bytes(dev->button->numButtons)); in SizeDeviceClasses() 268 info->num_buttons = dev->button->numButtons; in ListButtonInfo() 277 for (i = 0; i < dev->button->numButtons; i++) in ListButtonInfo() 281 memcpy(labels, dev->button->labels, dev->button->numButtons * sizeof(Atom)); in ListButtonInfo()
|
| H A D | xiquerypointer.c | 153 bytes_to_int32(bits_to_bytes(pDev->button->numButtons)); in ProcXIQueryPointer() 160 for (i = 1; i < pDev->button->numButtons; i++) in ProcXIQueryPointer()
|
| H A D | getbmap.c | 111 rep.nElts = b->numButtons; in ProcXGetDeviceButtonMapping()
|
| H A D | queryst.c | 135 tb->num_buttons = b->numButtons; in ProcXQueryDeviceState()
|
| H A D | listdev.c | 151 b2->num_buttons = b->numButtons; in CopySwapButtonClass()
|
| H A D | exevents.c | 582 from->button->numButtons * sizeof(Atom)); in DeepCopyPointerClasses() 914 for (i = 1; i <= sd->button->numButtons; i++) in UpdateDeviceState() 2723 if (nElts != b->numButtons) { in SetButtonMapping()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | devices.c | 1256 InitButtonClassDeviceStruct(DeviceIntPtr dev, int numButtons, Atom *labels, in InitButtonClassDeviceStruct() argument 1264 BUG_RETURN_VAL(numButtons >= MAX_BUTTONS, FALSE); in InitButtonClassDeviceStruct() 1269 butc->numButtons = numButtons; in InitButtonClassDeviceStruct() 1271 for (i = 1; i <= numButtons; i++) in InitButtonClassDeviceStruct() 1273 for (i = numButtons + 1; i < MAP_LENGTH; i++) in InitButtonClassDeviceStruct() 1275 memcpy(butc->labels, labels, numButtons * sizeof(Atom)); in InitButtonClassDeviceStruct() 1596 InitPointerDeviceStruct(DevicePtr device, CARD8 *map, int numButtons, in InitPointerDeviceStruct() argument 1607 return (InitButtonClassDeviceStruct(dev, numButtons, btn_labels, map) && in InitPointerDeviceStruct() 1847 if (stuff->nElts != ptr->button->numButtons) { in ProcSetPointerMapping() 1944 nElts = (butc) ? butc->numButtons : 0; in ProcGetPointerMapping() [all …]
|
| H A D | enterleave.c | 646 ev->num_buttons = b->numButtons; in FixDeviceStateNotify() 692 nbuttons = b->numButtons; in DeliverStateNotifyEvent() 788 btlen = (mouse->button) ? bits_to_bytes(mouse->button->numButtons) : 0; in DeviceFocusEvent() 806 for (i = 0; mouse && mouse->button && i < mouse->button->numButtons; i++) in DeviceFocusEvent()
|
| H A D | inpututils.c | 775 for (i = 0; mouse && mouse->button && i < mouse->button->numButtons; i++) in event_set_state()
|
| H A D | getevents.c | 273 dce->buttons.num_buttons = slave->button->numButtons; in CreateClassesChangedEvent()
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/input/ |
| H A D | dmxdummy.c | 74 info->numButtons = 3; in dmxDummyMouGetInfo()
|
| H A D | usb-mouse.c | 115 mouUSBGetMap(pDev, info->map, &info->numButtons); in mouUSBGetInfo()
|
| H A D | dmxinputinit.h | 95 int numButtons; /**< Number of buttons */ member
|
| H A D | dmxevents.c | 556 if (button > b->numButtons) { /* This shouldn't happen. */ in dmxGetButtonMapping() 558 button, b->numButtons); in dmxGetButtonMapping()
|
| H A D | dmxbackend.c | 624 dmxCommonMouGetMap(pDev, info->map, &info->numButtons); in dmxBackendMouGetInfo()
|
| H A D | dmxcommon.c | 420 info->numButtons = bi->num_buttons; in dmxCommonOthGetInfo()
|
| H A D | dmxinputinit.c | 439 InitButtonClassDeviceStruct(pDevice, info.numButtons, in dmxDeviceOnOff()
|
| H A D | dmxconsole.c | 913 dmxCommonMouGetMap(pDev, info->map, &info->numButtons); in dmxConsoleMouGetInfo()
|
| /OK3568_Linux_fs/external/xserver/test/xi2/ |
| H A D | protocol-xiquerydevice.c | 234 assert(bi->num_buttons == devices.vcp->button->numButtons); in reply_XIQueryDevice_data()
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/ |
| H A D | darwinEvents.c | 424 for (i = 0; i < pDev->button->numButtons; i++) { in DarwinInputReleaseButtonsAndKeys()
|
| /OK3568_Linux_fs/external/xserver/include/ |
| H A D | inputstr.h | 357 CARD8 numButtons; member
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xtest.c | 401 if (!ev->u.u.detail || ev->u.u.detail > dev->button->numButtons) { in ProcXTestFakeInput()
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkb.c | 6450 .totalBtns = dev->button ? dev->button->numButtons : 0, in ProcXkbGetDeviceInfo() 6463 stuff->nBtns = dev->button->numButtons; in ProcXkbGetDeviceInfo() 6466 if ((stuff->firstBtn + stuff->nBtns) > dev->button->numButtons) { in ProcXkbGetDeviceInfo() 6467 client->errorValue = _XkbErrCode4(0x02, dev->button->numButtons, in ProcXkbGetDeviceInfo() 6745 if ((stuff->firstBtn + stuff->nBtns) > dev->button->numButtons) { in _XkbSetDeviceInfo() 6748 dev->button->numButtons); in _XkbSetDeviceInfo() 6782 nBtns = dev->button->numButtons; in _XkbSetDeviceInfoCheck()
|
| H A D | xkbActions.c | 1036 if ((button < 1) || (button > dev->button->numButtons)) in _XkbFilterDeviceBtn()
|
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland-input.c | 421 for (i = 0; i < dev->button->numButtons; i++) in pointer_handle_enter()
|