Lines Matching defs:leds
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;
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);