| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/examples/ |
| H A D | xled.c | 82 if (xkb->indicators->phys_indicators & (1 << i)) { 83 printf("led %d = %d\n", i, xkb->indicators->maps[i].flags); 84 old[i] = xkb->indicators->maps[i].flags; 85 xkb->indicators->maps[i].flags = XkbIM_NoAutomatic; 101 if (xkb->indicators->phys_indicators & (1 << i)) 102 printf("led %d = %d\n", i, xkb->indicators->maps[i].flags); 117 if (xkb->indicators->phys_indicators & (i << 1)) 118 xkb->indicators->maps[i].flags = old[i];
|
| /xsrc/external/mit/xkeyboard-config/dist/tests/mxkbledpanel/ |
| H A D | mxkbledpanel.c | 128 if ((xkbEv->indicators.changed&bit)&&(leds[i])) 130 if (xkbEv->indicators.state&bit) 137 unsigned change= xkbEv->indicators.changed; 206 XkbIndicatorMapPtr map= &xkb->indicators->maps[i]; 208 if (xkb->names->indicators[i]!=None) 211 name = XGetAtomName(theDisplay,xkb->names->indicators[i]); 215 ledAtoms[i] = xkb->names->indicators[i]; 225 if (xkb->indicators->phys_indicators&bit) 333 switch (xkb->indicators->maps[led].flags & 376 if (xkb->indicators [all...] |
| /xsrc/external/mit/xkbcomp/dist/ |
| H A D | Makefile.am | 39 indicators.c \ 40 indicators.h \
|
| H A D | indicators.c | 32 #include "indicators.h" 404 if ((led->indicator == _LED_NotBound) || (!xkb->indicators)) 421 im = &xkb->indicators->maps[led->indicator - 1]; 431 xkb->names->indicators[led->indicator - 1] = led->name; 458 if (xkb->names->indicators[i] == led->name) 474 if (xkb->names->indicators[i] == None) 476 xkb->names->indicators[i] = led->name; 478 xkb->indicators->phys_indicators &= ~(1 << i); 484 ERROR("No unnamed indicators found\n"); 516 (xkb->names->indicators[le [all...] |
| /xsrc/external/mit/libX11/dist/src/xkb/ |
| H A D | XKBleds.c | 69 if ((!xkb->indicators) && (XkbAllocIndicatorMaps(xkb) != Success)) 71 leds = xkb->indicators; 128 if (!xkb->indicators) { 129 xkb->indicators = _XkbTypedCalloc(1, XkbIndicatorRec); 130 if (!xkb->indicators) { 164 if ((!xkb) || (!which) || (!xkb->indicators)) 182 wire->flags = xkb->indicators->maps[i].flags; 183 wire->whichGroups = xkb->indicators->maps[i].which_groups; 184 wire->groups = xkb->indicators->maps[i].groups; 185 wire->whichMods = xkb->indicators [all...] |
| H A D | XKBAlloc.c | 251 if (xkb->indicators == NULL) { 252 xkb->indicators = _XkbTypedCalloc(1, XkbIndicatorRec); 253 if (!xkb->indicators) 262 if ((xkb != NULL) && (xkb->indicators != NULL)) { 263 _XkbFree(xkb->indicators); 264 xkb->indicators = NULL;
|
| H A D | XKBNames.c | 160 if (_XkbReadAtoms(&buf, names->indicators, XkbNumIndicators, 161 rep->indicators) != Success) 409 req->indicators = leds = 410 _XkbCountAtoms(names->indicators, XkbNumIndicators, &nLEDs); 417 req->indicators = leds = 0; 513 _XkbCopyAtoms(dpy, names->indicators, leds, XkbNumIndicators); 656 leds = req->indicators = (CARD32) changes->changed_indicators; 664 req->indicators = 0; 756 _XkbCopyAtoms(dpy, names->indicators, leds, XkbNumIndicators);
|
| /xsrc/external/mit/xorg-server.old/dist/xkb/ |
| H A D | XKBAlloc.c | 277 if (xkb->indicators==NULL) { 278 xkb->indicators= calloc(1, sizeof(XkbIndicatorRec)); 279 if (!xkb->indicators) 288 if ((xkb!=NULL)&&(xkb->indicators!=NULL)) { 289 free(xkb->indicators); 290 xkb->indicators= NULL;
|
| H A D | xkbLEDs.c | 50 * this function returns the indicators on the default keyboard 89 * Some indicators "drive" the keyboard when their state is explicitly 278 changes->indicators.state_changes|= affected; 336 * Attempts to change the indicators specified in 'affect' to the 340 * indicator map for any affected indicators, as described in section 397 * Applies the indicator maps for any indicators specified in 403 * notes the indicators with changed state. 407 * the state of any extension device indicators as necessary. 434 * Updates the 'indicator accelerators' for the indicators specified 437 * and speed up the process of figuring out which indicators migh [all...] |
| H A D | xkbDflts.h | 462 xkb->names->indicators[ 0]= GET_ATOM(dpy,"Caps Lock"); 463 xkb->names->indicators[ 1]= GET_ATOM(dpy,"Num Lock"); 464 xkb->names->indicators[ 2]= GET_ATOM(dpy,"Shift Lock"); 465 xkb->names->indicators[ 3]= GET_ATOM(dpy,"Mouse Keys"); 466 xkb->names->indicators[ 4]= GET_ATOM(dpy,"Scroll Lock"); 467 xkb->names->indicators[ 5]= GET_ATOM(dpy,"Group 2");
|
| H A D | xkbInit.c | 397 if (names->indicators[LED_CAPS-1]==None) 398 names->indicators[LED_CAPS-1] = CREATE_ATOM("Caps Lock"); 399 if (names->indicators[LED_NUM-1]==None) 400 names->indicators[LED_NUM-1] = CREATE_ATOM("Num Lock"); 401 if (names->indicators[LED_SCROLL-1]==None) 402 names->indicators[LED_SCROLL-1] = CREATE_ATOM("Scroll Lock"); 404 if (names->indicators[LED_COMPOSE-1]==None) 405 names->indicators[LED_COMPOSE-1] = CREATE_ATOM("Compose"); 428 map= xkb->indicators;
|
| H A D | xkbout.c | 134 if (xkb->indicators!=NULL) { 137 if (xkb->indicators->phys_indicators&(1<<i)) 140 if (xkb->names->indicators[i]!=None) { 142 XkbAtomText(xkb->names->indicators[i],XkbXKBFile)); 325 if (xkb->indicators) { 327 XkbIndicatorMapPtr map= &xkb->indicators->maps[i]; 332 WriteXKBIndicatorMap(file,xkb,xkb->names->indicators[i],map,
|
| /xsrc/external/mit/xorg-server/dist/xkb/ |
| H A D | XKBAlloc.c | 285 if (xkb->indicators == NULL) { 286 xkb->indicators = calloc(1, sizeof(XkbIndicatorRec)); 287 if (!xkb->indicators) 296 if ((xkb != NULL) && (xkb->indicators != NULL)) { 297 free(xkb->indicators); 298 xkb->indicators = NULL;
|
| H A D | xkbLEDs.c | 50 * this function returns the indicators on the default keyboard 88 * Some indicators "drive" the keyboard when their state is explicitly 287 changes->indicators.state_changes |= affected; 348 * Attempts to change the indicators specified in 'affect' to the 352 * indicator map for any affected indicators, as described in section 408 * Applies the indicator maps for any indicators specified in 414 * notes the indicators with changed state. 418 * the state of any extension device indicators as necessary. 444 * Updates the 'indicator accelerators' for the indicators specified 447 * and speed up the process of figuring out which indicators migh [all...] |
| H A D | xkbDflts.h | 464 xkb->names->indicators[0] = GET_ATOM(dpy, "Caps Lock"); 465 xkb->names->indicators[1] = GET_ATOM(dpy, "Num Lock"); 466 xkb->names->indicators[2] = GET_ATOM(dpy, "Shift Lock"); 467 xkb->names->indicators[3] = GET_ATOM(dpy, "Mouse Keys"); 468 xkb->names->indicators[4] = GET_ATOM(dpy, "Scroll Lock"); 469 xkb->names->indicators[5] = GET_ATOM(dpy, "Group 2");
|
| H A D | xkbInit.c | 422 if (names->indicators[LED_CAPS - 1] == None) 423 names->indicators[LED_CAPS - 1] = CREATE_ATOM("Caps Lock"); 424 if (names->indicators[LED_NUM - 1] == None) 425 names->indicators[LED_NUM - 1] = CREATE_ATOM("Num Lock"); 426 if (names->indicators[LED_SCROLL - 1] == None) 427 names->indicators[LED_SCROLL - 1] = CREATE_ATOM("Scroll Lock"); 429 if (names->indicators[LED_COMPOSE - 1] == None) 430 names->indicators[LED_COMPOSE - 1] = CREATE_ATOM("Compose"); 454 map = xkb->indicators;
|
| H A D | xkbout.c | 136 if (xkb->indicators != NULL) { 140 if (xkb->indicators->phys_indicators & (1 << i)) 144 if (xkb->names->indicators[i] != None) { 146 XkbAtomText(xkb->names->indicators[i], XkbXKBFile)); 331 if (xkb->indicators) { 333 XkbIndicatorMapPtr map = &xkb->indicators->maps[i]; 339 WriteXKBIndicatorMap(file, xkb, xkb->names->indicators[i], map,
|
| /xsrc/external/mit/xkbutils/dist/ |
| H A D | xkbvleds.c | 288 XkbIndicatorMapPtr map = &xkb->indicators->maps[i]; 290 if (xkb->names->indicators[i] != None) 292 if (xkb->indicators->phys_indicators & bit) 362 if ((ev.indicators.changed & bit) && (leds[i])) { 365 if (ev.indicators.state & bit)
|
| /xsrc/local/programs/x11-ssh-askpass/ |
| H A D | x11-ssh-askpass.c | 577 /* Make sure the indicators can all fit on the screen. 651 d->indicators = malloc(n); 652 if (NULL == d->indicators) { 656 memset(d->indicators, 0, n); 658 d->indicators[0].parent = &(d->indicator); 659 d->indicators[0].w.x = d->indicator.w3.w.x = leftX; 660 d->indicators[0].w.width = d->indicator.w3.w.width; 661 d->indicators[0].isLit = False; 663 d->indicators[i].parent = &(d->indicator); 664 d->indicators[ [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/input/ |
| H A D | dmxcommon.c | 583 if (priv->xkb->indicators) { 584 priv->savedIndicators = *priv->xkb->indicators; 586 if (priv->xkb->indicators->phys_indicators & (1 << i)) { 587 priv->xkb->indicators->maps[i].flags 634 *priv->xkb->indicators = priv->savedIndicators;
|
| /xsrc/external/mit/libxkbfile/dist/src/ |
| H A D | xkmout.c | 676 if ((xkb == NULL) || (xkb->indicators == NULL)) { 682 size = 8; /* number of indicator maps/physical indicators */ 683 if (xkb->indicators != NULL) { 685 XkbIndicatorMapPtr map = &xkb->indicators->maps[i]; 691 (xkb->names && (xkb->names->indicators[i] != None))) { 694 if (xkb->names && xkb->names->indicators[i] != None) { 695 name = XkbAtomGetString(dpy, xkb->names->indicators[i]); 727 size += xkmPutCARD32(file, xkb->indicators->phys_indicators); 728 if (xkb->indicators != NULL) { 730 XkbIndicatorMapPtr map = &xkb->indicators [all...] |
| H A D | xkbout.c | 145 if (xkb->indicators != NULL) { 149 if (xkb->indicators->phys_indicators & (1 << i)) 153 if (xkb->names->indicators[i] != None) { 155 XkbAtomText(dpy, xkb->names->indicators[i], 360 if (xkb->indicators) { 362 XkbIndicatorMapPtr map = &xkb->indicators->maps[i]; 368 WriteXKBIndicatorMap(file, result, xkb->names->indicators[i],
|
| /xsrc/external/mit/xorg-server/dist/include/ |
| H A D | xkbstr.h | 429 Atom indicators[XkbNumIndicators]; member in struct:_XkbNamesRec 456 XkbIndicatorPtr indicators; member in struct:_XkbDesc 551 XkbIndicatorChangesRec indicators; member in struct:_XkbChanges
|
| /xsrc/external/mit/xorg-server.old/dist/include/ |
| H A D | xkbstr.h | 423 Atom indicators[XkbNumIndicators]; member in struct:_XkbNamesRec 449 XkbIndicatorPtr indicators; member in struct:_XkbDesc 544 XkbIndicatorChangesRec indicators; member in struct:_XkbChanges
|
| /xsrc/external/mit/xorgproto/dist/include/X11/extensions/ |
| H A D | XKBstr.h | 423 Atom indicators[XkbNumIndicators]; member in struct:_XkbNamesRec 453 XkbIndicatorPtr indicators; member in struct:_XkbDesc 546 XkbIndicatorChangesRec indicators; member in struct:_XkbChanges
|