Searched refs:real_leds (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/xf86-input-keyboard/dist/src/
H A Dbsd_kbd.c85 int real_leds = 0; local in function:SetKbdLeds
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;
107 ioctl(pInfo->fd, KDSETLED, real_leds);
112 ioctl(pInfo->fd, WSKBDIO_SETLEDS, &real_leds);
122 int leds = 0, real_leds = 0; local in function:GetKbdLeds
133 ioctl(pInfo->fd, KDGETLED, &real_leds);
138 ioctl(pInfo->fd, WSKBDIO_GETLEDS, &real_leds);
[all...]
H A Dsun_kbd.c388 int real_leds = sunKbdGetLeds(pInfo); local in function:SetKbdLeds
390 real_leds &= ~(LED_CAPS_LOCK | LED_NUM_LOCK | LED_SCROLL_LOCK | LED_COMPOSE);
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;
397 sunKbdSetLeds(pInfo, real_leds);
404 int real_leds = sunKbdGetLeds(pInfo); local in function:GetKbdLeds
406 if (real_leds & LED_CAPS_LOCK) leds |= XLED1;
407 if (real_leds
[all...]

Completed in 2 milliseconds