Lines Matching refs:mods
35 ComputeEffectiveMask(struct xkb_keymap *keymap, struct xkb_mods *mods) in ComputeEffectiveMask() argument
37 mods->mask = mod_mask_get_effective(keymap, mods->mods); in ComputeEffectiveMask()
48 if (act->mods.flags & ACTION_MODS_LOOKUP_MODMAP) in UpdateActionMods()
49 act->mods.mods.mods = modmap; in UpdateActionMods()
50 ComputeEffectiveMask(keymap, &act->mods.mods); in UpdateActionMods()
61 .mods = 0,
92 xkb_mod_mask_t mods; in FindInterpForKey() local
100 mods = 0; in FindInterpForKey()
102 mods = key->modmap; in FindInterpForKey()
106 found = !(interp->mods & mods); in FindInterpForKey()
109 found = (!mods || (interp->mods & mods)); in FindInterpForKey()
112 found = (interp->mods & mods); in FindInterpForKey()
115 found = ((interp->mods & mods) == interp->mods); in FindInterpForKey()
118 found = (interp->mods == mods); in FindInterpForKey()
190 xkb_mods_enumerate(i, mod, &keymap->mods) in UpdateDerivedKeymapFields()
196 ComputeEffectiveMask(keymap, &keymap->types[i].mods); in UpdateDerivedKeymapFields()
199 ComputeEffectiveMask(keymap, &keymap->types[i].entries[j].mods); in UpdateDerivedKeymapFields()
213 ComputeEffectiveMask(keymap, &led->mods); in UpdateDerivedKeymapFields()