Lines Matching refs:led
618 const struct xkb_led *led; in xkb_state_led_update_all() local
622 xkb_leds_enumerate(idx, led, state->keymap) { in xkb_state_led_update_all()
626 if (led->which_mods != 0 && led->mods.mask != 0) { in xkb_state_led_update_all()
627 if (led->which_mods & XKB_STATE_MODS_EFFECTIVE) in xkb_state_led_update_all()
629 if (led->which_mods & XKB_STATE_MODS_DEPRESSED) in xkb_state_led_update_all()
631 if (led->which_mods & XKB_STATE_MODS_LATCHED) in xkb_state_led_update_all()
633 if (led->which_mods & XKB_STATE_MODS_LOCKED) in xkb_state_led_update_all()
636 if (led->mods.mask & mod_mask) { in xkb_state_led_update_all()
642 if (led->which_groups != 0 && led->groups != 0) { in xkb_state_led_update_all()
643 if (led->which_groups & XKB_STATE_LAYOUT_EFFECTIVE) in xkb_state_led_update_all()
645 if (led->which_groups & XKB_STATE_LAYOUT_DEPRESSED) in xkb_state_led_update_all()
647 if (led->which_groups & XKB_STATE_LAYOUT_LATCHED) in xkb_state_led_update_all()
649 if (led->which_groups & XKB_STATE_LAYOUT_LOCKED) in xkb_state_led_update_all()
652 if (led->groups & group_mask) { in xkb_state_led_update_all()
658 if (led->ctrls & state->keymap->enabled_ctrls) { in xkb_state_led_update_all()