Home
last modified time | relevance | path

Searched refs:nButtons (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/dmx/input/
H A Dusb-mouse.c96 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 Ddmxcommon.h110 unsigned char *map, int *nButtons);
H A Ddmxcommon.c464 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 Dkinfo.c124 pi->nButtons = KD_MAX_BUTTON; in KdNewPointer()
H A Dkinput.c246 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 Dkdrive.h188 int nButtons; member
/OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/
H A Dephyr.c1272 pi->nButtons = 32; in MouseInit()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog174420 Test for n (1..nButtons) being under nButtons, not button (1..(1<<nButtons)).
175062 and set nAxes and nButtons properly.