Searched refs:nButtons (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/dmx/input/
H A Dusb-mouse.c93 static void mouUSBGetMap(DevicePtr pDev, unsigned char *map, int *nButtons) argument
97 if (nButtons) *nButtons = 5;
98 if (map) for (i = 0; i <= *nButtons; i++) map[i] = i;
H A Dlnx-ms.c274 static void msLinuxGetMap(DevicePtr pDev, unsigned char *map, int *nButtons) argument
278 if (nButtons) *nButtons = 3;
279 if (map) for (i = 0; i <= *nButtons; i++) map[i] = i;
H A Dlnx-ps2.c242 static void ps2LinuxGetMap(DevicePtr pDev, unsigned char *map, int *nButtons) argument
246 if (nButtons) *nButtons = 3;
247 if (map) for (i = 0; i <= *nButtons; i++) map[i] = i;
H A Ddmxcommon.h110 unsigned char *map, int *nButtons);
H A Ddmxcommon.c449 void dmxCommonMouGetMap(DevicePtr pDev, unsigned char *map, int *nButtons) argument
454 *nButtons = XGetPointerMapping(priv->display, map, DMX_MAX_BUTTONS);
455 for (i = 0; i <= *nButtons; i++) map[i] = i;
/xsrc/external/mit/xorg-server/dist/hw/kdrive/src/
H A Dkinfo.c124 pi->nButtons = KD_MAX_BUTTON;
H A Dkinput.c246 btn_labels = calloc(pi->nButtons, sizeof(Atom));
280 InitPointerDeviceStruct(pDev, pi->map, pi->nButtons, btn_labels,
1054 pi->nButtons = 5; /* XXX should not be hardcoded */
1093 if ('1' <= *s && *s <= '0' + pi->nButtons)
1730 for (button = KD_BUTTON_1, n = 1; n <= pi->nButtons; button <<= 1, n++) {
1737 for (button = KD_BUTTON_1, n = 1; n <= pi->nButtons; button <<= 1, n++) {
H A Dkdrive.h188 int nButtons; member in struct:_KdPointerInfo
/xsrc/external/mit/libX11/dist/src/xkb/
H A DXKBAlloc.c381 XkbAllocDeviceInfo(unsigned deviceSpec, unsigned nButtons, unsigned szLeds) argument
391 if (nButtons > 0) {
392 devi->num_btns = nButtons;
393 devi->btn_acts = _XkbTypedCalloc(nButtons, XkbAction);
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/src/
H A Dkinfo.c127 pi->nButtons = KD_MAX_BUTTON;
H A Dkinput.c437 btn_labels = calloc(pi->nButtons, sizeof(Atom));
472 InitPointerDeviceStruct(pDev, pi->map, pi->nButtons, btn_labels,
1212 pi->nButtons = 5; /* XXX should not be hardcoded */
1257 if ('1' <= *s && *s <= '0' + pi->nButtons)
1945 for (button = KD_BUTTON_1, n = 1; n <= pi->nButtons;
1953 for (button = KD_BUTTON_1, n = 1; n <= pi->nButtons;
H A Dkdrive.h195 int nButtons; member in struct:_KdPointerInfo
/xsrc/external/mit/libX11/dist/
H A DREADME.md75 * Fix _XkbReadGetDeviceInfoReply for nButtons == dev->buttons (!237)
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/ephyr/
H A Dephyr.c1058 pi->nButtons = 32;
/xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/
H A Dephyr.c1270 pi->nButtons = 32;

Completed in 18 milliseconds