WSKBD_LED_CAPS
if (leds & WSKBD_LED_CAPS)
leds |= WSKBD_LED_CAPS;
if (leds & WSKBD_LED_CAPS)
if ((leds & WSKBD_LED_CAPS) != 0) {
if (sc->sc_leds & WSKBD_LED_CAPS) {
#define NEXT_WSKBD_LEDS (WSKBD_LED_CAPS)
if (leds & WSKBD_LED_CAPS)
leds |= WSKBD_LED_CAPS;
if ((leds & WSKBD_LED_CAPS) && sc->sc_capsloc.size == 1)
if (leds & WSKBD_LED_CAPS)
if ((leds & WSKBD_LED_CAPS) && kbd->sc_capsloc.size == 1)
if (changemask & WSKBD_LED_CAPS)
(leds & WSKBD_LED_CAPS) ? HIL_PROMPT3 : HIL_ACK3,
if (led & WSKBD_LED_CAPS)
res |= WSKBD_LED_CAPS;
wssunkbd_set_leds(k, WSKBD_LED_SCROLL | WSKBD_LED_NUM | WSKBD_LED_CAPS);
if (leds & WSKBD_LED_CAPS)
ukbd_set_leds(sc, WSKBD_LED_SCROLL | WSKBD_LED_NUM | WSKBD_LED_CAPS
if ((leds & WSKBD_LED_CAPS) && sc->sc_capsloc.size == 1)
intarg |= WSKBD_LED_CAPS;
if (intarg & WSKBD_LED_CAPS)
new_state |= WSKBD_LED_CAPS;