Home
last modified time | relevance | path

Searched refs:numButtons (Results 1 – 25 of 26) sorted by relevance

12

/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiquerydevice.c212 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 Dxiquerypointer.c153 bytes_to_int32(bits_to_bytes(pDev->button->numButtons)); in ProcXIQueryPointer()
160 for (i = 1; i < pDev->button->numButtons; i++) in ProcXIQueryPointer()
H A Dgetbmap.c111 rep.nElts = b->numButtons; in ProcXGetDeviceButtonMapping()
H A Dqueryst.c135 tb->num_buttons = b->numButtons; in ProcXQueryDeviceState()
H A Dlistdev.c151 b2->num_buttons = b->numButtons; in CopySwapButtonClass()
H A Dexevents.c582 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 Ddevices.c1256 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 Denterleave.c646 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 Dinpututils.c775 for (i = 0; mouse && mouse->button && i < mouse->button->numButtons; i++) in event_set_state()
H A Dgetevents.c273 dce->buttons.num_buttons = slave->button->numButtons; in CreateClassesChangedEvent()
/OK3568_Linux_fs/external/xserver/hw/dmx/input/
H A Ddmxdummy.c74 info->numButtons = 3; in dmxDummyMouGetInfo()
H A Dusb-mouse.c115 mouUSBGetMap(pDev, info->map, &info->numButtons); in mouUSBGetInfo()
H A Ddmxinputinit.h95 int numButtons; /**< Number of buttons */ member
H A Ddmxevents.c556 if (button > b->numButtons) { /* This shouldn't happen. */ in dmxGetButtonMapping()
558 button, b->numButtons); in dmxGetButtonMapping()
H A Ddmxbackend.c624 dmxCommonMouGetMap(pDev, info->map, &info->numButtons); in dmxBackendMouGetInfo()
H A Ddmxcommon.c420 info->numButtons = bi->num_buttons; in dmxCommonOthGetInfo()
H A Ddmxinputinit.c439 InitButtonClassDeviceStruct(pDevice, info.numButtons, in dmxDeviceOnOff()
H A Ddmxconsole.c913 dmxCommonMouGetMap(pDev, info->map, &info->numButtons); in dmxConsoleMouGetInfo()
/OK3568_Linux_fs/external/xserver/test/xi2/
H A Dprotocol-xiquerydevice.c234 assert(bi->num_buttons == devices.vcp->button->numButtons); in reply_XIQueryDevice_data()
/OK3568_Linux_fs/external/xserver/hw/xquartz/
H A DdarwinEvents.c424 for (i = 0; i < pDev->button->numButtons; i++) { in DarwinInputReleaseButtonsAndKeys()
/OK3568_Linux_fs/external/xserver/include/
H A Dinputstr.h357 CARD8 numButtons; member
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxtest.c401 if (!ev->u.u.detail || ev->u.u.detail > dev->button->numButtons) { in ProcXTestFakeInput()
/OK3568_Linux_fs/external/xserver/xkb/
H A Dxkb.c6450 .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 DxkbActions.c1036 if ((button < 1) || (button > dev->button->numButtons)) in _XkbFilterDeviceBtn()
/OK3568_Linux_fs/external/xserver/hw/xwayland/
H A Dxwayland-input.c421 for (i = 0; i < dev->button->numButtons; i++) in pointer_handle_enter()

12