HomeSort by: relevance | last modified time | path
    Searched defs:leds (Results 1 - 25 of 31) sorted by relevancy

1 2

  /xsrc/external/mit/libX11/dist/src/xkb/
XKBleds.c 66 XkbIndicatorPtr leds; local
71 leds = xkb->indicators;
73 leds->phys_indicators = rep->realIndicators;
95 leds->maps[i].flags = wire->flags;
96 leds->maps[i].which_groups = wire->whichGroups;
97 leds->maps[i].groups = wire->groups;
98 leds->maps[i].which_mods = wire->whichMods;
99 leds->maps[i].mods.mask = wire->mods;
100 leds->maps[i].mods.real_mods = wire->realMods;
101 leds->maps[i].mods.vmods = wire->virtualMods
    [all...]
XKBNames.c 335 CARD32 leds, vmods, groups; local
409 req->indicators = leds =
417 req->indicators = leds = 0;
513 _XkbCopyAtoms(dpy, names->indicators, leds, XkbNumIndicators);
543 CARD32 leds = 0, vmods = 0, groups = 0; local
656 leds = req->indicators = (CARD32) changes->changed_indicators;
756 _XkbCopyAtoms(dpy, names->indicators, leds, XkbNumIndicators);
XKBExtDev.c 73 for (this = &old->leds; this && (!found); this = this->next) {
83 found->next = old->leds.next;
86 old->leds.next = found;
93 old->leds.led_class = new->led_class;
94 old->leds.led_id = new->led_id;
95 old->leds.defined = new->leds_defined;
96 if (old->leds.next) {
99 for (this = old->leds.next; this; this = next) {
103 old->leds.next = NULL;
311 req->ledClass = changes->leds.led_class
571 XkbDeviceLedChangesPtr leds; local
    [all...]
  /xsrc/external/mit/xf86-input-keyboard/dist/src/
bsd_kbd.c 82 SetKbdLeds(InputInfoPtr pInfo, int leds)
88 if (leds & XLED1) real_leds |= LED_CAP;
91 if (leds & XLED2) real_leds |= LED_NUM;
94 if (leds & XLED3) real_leds |= LED_SCR;
95 if (leds & XLED4) real_leds |= LED_SCR;
122 int leds = 0, real_leds = 0; local
144 if (real_leds & LED_CAP) leds |= XLED1;
147 if (real_leds & LED_NUM) leds |= XLED2;
150 if (real_leds & LED_SCR) leds |= XLED3;
153 return(leds);
    [all...]
sun_kbd.c 70 sunKbdSetLeds(InputInfoPtr pInfo, int leds)
73 uchar_t setleds = (uchar_t) (leds & 0xFF);
87 uchar_t leds = 0; local
89 SYSCALL(i = ioctl(pInfo->fd, KIOCGLED, &leds));
94 return (int) leds;
386 SetKbdLeds(InputInfoPtr pInfo, int leds)
392 if (leds & XLED1) real_leds |= LED_CAPS_LOCK;
393 if (leds & XLED2) real_leds |= LED_NUM_LOCK;
394 if (leds & XLED3) real_leds |= LED_SCROLL_LOCK;
395 if (leds & XLED4) real_leds |= LED_COMPOSE
403 int leds = 0; local
    [all...]
kbd.c 220 unsigned long leds = 0; local
222 if (pKbd->keyLeds & CAPSFLAG) leds |= XLED1;
223 if (pKbd->keyLeds & NUMFLAG) leds |= XLED2;
225 pKbd->keyLeds & MODEFLAG) leds |= XLED3;
226 if (pKbd->keyLeds & COMPOSEFLAG) leds |= XLED4;
228 pKbd->leds = (pKbd->leds & pKbd->xledsMask) | (leds & ~pKbd->xledsMask);
229 pKbd->SetLeds(pInfo, pKbd->leds);
235 unsigned long leds; local
276 unsigned long leds = pKbd->keyLeds; local
    [all...]
xf86OSKbd.h 45 typedef void (*SetLedsProc)(InputInfoPtr pInfo, int leds);
72 unsigned long leds; member in struct:__anon6665
  /xsrc/external/mit/xkbevd/dist/
printev.c 169 XkbIndicatorNotifyEvent *leds = &xkbev->indicators; local
171 if (leds->xkb_type == XkbIndicatorStateNotify)
173 leds->changed, leds->state);
176 leds->changed, leds->state);
363 fprintf(file, " leds defined= 0x%08x, led state= 0x%08x\n",
  /xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k/
x68k.h 114 Leds leds; member in struct:_X68kKbdPriv
  /xsrc/external/mit/xkbutils/dist/
xkbvleds.c 69 " -watch <leds> Mask of LEDs to watch\n"
70 " [-+]automatic (Don't) watch automatic LEDs\n"
71 " [-+]explicit (Don't) watch explicit LEDs\n"
72 " [-+]name (Don't) watch named LEDs\n"
73 " [-+]real (Don't) watch real LEDs\n"
74 " [-+]virtual (Don't) watch virtual LEDs\n"
75 " -intersection Watch only LEDs in all desired sets\n"
76 " -union Watch LEDs in any desired sets\n"
77 "The default set of LEDs is -union +name +automatic +real\n")
204 Widget leds[XkbNumIndicators]; local
    [all...]
  /xsrc/external/mit/xkeyboard-config/dist/tests/mxkbledpanel/
mxkbledpanel.c 14 Widget leds[XkbNumIndicators]; variable
100 printf(" -watch <leds> Mask of LEDs to watch\n");
101 printf(" [-+]automatic (Don't) watch automatic LEDs\n");
102 printf(" [-+]explicit (Don't) watch explicit LEDs\n");
103 printf(" [-+]named (Don't) watch named LEDs\n");
104 printf(" [-+]real (Don't) watch real LEDs\n");
105 printf(" [-+]virtual (Don't) watch virtual LEDs\n");
106 printf(" -intersection Watch only LEDs in all desired sets\n");
107 printf(" -union Watch LEDs in any desired sets\n")
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/
x68kKbd.c 90 Leds leds; member in struct:_X68kKbdPriv
166 pPriv->leds = 0;
192 x68kSetLeds(pPriv, (uint8_t)pPriv->leds);
432 if (pPriv->leds != ctrl->leds) {
433 x68kSetLeds(pPriv, (uint8_t)ctrl->leds);
434 pPriv->leds = ctrl->leds;
441 * purpose: set keyboard leds to specified stat
    [all...]
  /xsrc/external/mit/xkbcomp/dist/
compat.c 72 LEDInfo *leds; member in struct:_CompatInfo
131 info->leds = NULL;
156 if (info->leds) {
157 info->leds = (LEDInfo *) ClearCommonInfo(&info->leds->defs);
384 for (LEDInfo *led = from->leds; led != NULL; led = next)
391 rtrn = AddIndicatorMap(into->leds, led);
393 into->leds = rtrn;
758 &info->ledDflt, info->leds, merge);
760 info->leds = rtrn
    [all...]
keycodes.c 82 IndicatorNameInfo *leds; member in struct:_KeyNamesInfo
107 if (ii == info->leds)
110 info->leds = NULL;
124 info->leds = (IndicatorNameInfo *)
125 AddCommonInfo((info->leds ? &info->leds->defs : NULL),
134 for (IndicatorNameInfo *old = info->leds; old != NULL;
146 for (IndicatorNameInfo *old = info->leds; old != NULL;
196 if (info->leds == old)
197 info->leds = (IndicatorNameInfo *) old->defs.next
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/sun/
sun.h 224 Leds leds; /* last known LED state */ member in struct:__anon10497
  /xsrc/external/mit/xorg-server/dist/hw/sun/
sunKbd.c 96 Leds leds; /* last known LED state */ member in struct:__anon9912
229 if (ioctl (fd, KIOCSLED, (caddr_t)&led_tab[ctrl->leds & SUN_LED_MASK]) == -1)
372 if ((ctrl->leds & XLED_CAPS_LOCK) && !(pPriv->leds & XLED_CAPS_LOCK))
376 if (!(ctrl->leds & XLED_CAPS_LOCK) && (pPriv->leds & XLED_CAPS_LOCK))
380 if ((ctrl->leds & XLED_NUM_LOCK) && !(pPriv->leds & XLED_NUM_LOCK))
384 if (!(ctrl->leds & XLED_NUM_LOCK) && (pPriv->leds & XLED_NUM_LOCK)
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xwin/
winconfig.h 250 long leds; member in struct:__anon10197::__anon10198
  /xsrc/external/mit/xorg-server.old/dist/hw/xwin/
winconfig.h 306 long leds; member in struct:__anon10795::__anon10796
  /xsrc/external/mit/xorg-server.old/dist/include/
input.h 102 typedef unsigned long Leds;
169 Leds leds; member in struct:__anon10826
205 Leds led_values;
  /xsrc/external/mit/xorg-server/dist/dix/
devices.c 929 LedFeedbackPtr *leds = (LedFeedbackPtr *) class; local
932 for (l = (*leds); l; l = lnext) {
962 FreeFeedbackClass(LedFeedbackClass, (void *) &classes->leds);
1603 if ((feedc->next = dev->leds))
1604 feedc->ctrl.id = dev->leds->ctrl.id + 1;
1606 dev->leds = feedc;
2026 ctrl->leds |= ((Leds) 1 << (led - 1));
2028 ctrl->leds &= ~((Leds) 1 << (led - 1))
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/kdrive/src/
kdrive.h 241 void (*Leds) (KdKeyboardInfo *, int);
265 int leds; member in struct:_KdKeyboardInfo
  /xsrc/external/mit/xorg-server/dist/include/
input.h 148 typedef unsigned long Leds;
206 Leds leds; member in struct:__anon10234
241 Leds led_values;
inputstr.h 473 LedFeedbackPtr leds; member in struct:_ClassesRec
589 LedFeedbackPtr leds; member in struct:_DeviceIntRec
  /xsrc/external/mit/xorg-server.old/dist/dix/
devices.c 862 LedFeedbackPtr *leds = (LedFeedbackPtr*)class; local
865 for (l = (*leds); l; l = lnext) {
894 FreeFeedbackClass(LedFeedbackClass, (pointer)&classes->leds);
1567 if ( (feedc->next = dev->leds) )
1568 feedc->ctrl.id = dev->leds->ctrl.id + 1;
1570 dev->leds = feedc;
1876 ctrl->leds |= ((Leds)1 << (led - 1));
1878 ctrl->leds &= ~((Leds)1 << (led - 1))
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/src/
kdrive.h 251 void (*Leds) (KdKeyboardInfo *, int);
275 int leds; member in struct:_KdKeyboardInfo

Completed in 69 milliseconds

1 2