Searched refs:nButtons (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/external/xserver/hw/dmx/input/ |
| H A D | usb-mouse.c | 96 mouUSBGetMap(DevicePtr pDev, unsigned char *map, int *nButtons) in mouUSBGetMap() argument 100 if (nButtons) in mouUSBGetMap() 101 *nButtons = 5; in mouUSBGetMap() 103 for (i = 0; i <= *nButtons; i++) in mouUSBGetMap()
|
| H A D | dmxcommon.h | 110 unsigned char *map, int *nButtons);
|
| H A D | dmxcommon.c | 464 dmxCommonMouGetMap(DevicePtr pDev, unsigned char *map, int *nButtons) in dmxCommonMouGetMap() argument 469 *nButtons = XGetPointerMapping(priv->display, map, DMX_MAX_BUTTONS); in dmxCommonMouGetMap() 470 for (i = 0; i <= *nButtons; i++) in dmxCommonMouGetMap()
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/src/ |
| H A D | kinfo.c | 124 pi->nButtons = KD_MAX_BUTTON; in KdNewPointer()
|
| H A D | kinput.c | 246 btn_labels = calloc(pi->nButtons, sizeof(Atom)); in KdPointerProc() 280 InitPointerDeviceStruct(pDev, pi->map, pi->nButtons, btn_labels, in KdPointerProc() 1060 pi->nButtons = 5; /* XXX should not be hardcoded */ in KdParsePointer() 1099 if ('1' <= *s && *s <= '0' + pi->nButtons) in KdParsePointer() 1736 for (button = KD_BUTTON_1, n = 1; n <= pi->nButtons; button <<= 1, n++) { in KdEnqueuePointerEvent() 1743 for (button = KD_BUTTON_1, n = 1; n <= pi->nButtons; button <<= 1, n++) { in KdEnqueuePointerEvent()
|
| H A D | kdrive.h | 188 int nButtons; member
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/ |
| H A D | ephyr.c | 1272 pi->nButtons = 32; in MouseInit()
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 174420 Test for n (1..nButtons) being under nButtons, not button (1..(1<<nButtons)). 175062 and set nAxes and nButtons properly.
|