Searched refs:behaviorMetaState (Results 1 – 2 of 2) sorted by relevance
388 bool KeyCharacterMap::matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState) { in matchesMetaState() argument393 if ((eventMetaState & behaviorMetaState) == behaviorMetaState) { in matchesMetaState()398 int32_t unmatchedMetaState = eventMetaState & ~behaviorMetaState & EXACT_META_STATES; in matchesMetaState()399 if (behaviorMetaState & AMETA_CTRL_ON) { in matchesMetaState()401 } else if (behaviorMetaState & (AMETA_CTRL_LEFT_ON | AMETA_CTRL_RIGHT_ON)) { in matchesMetaState()404 if (behaviorMetaState & AMETA_ALT_ON) { in matchesMetaState()406 } else if (behaviorMetaState & (AMETA_ALT_LEFT_ON | AMETA_ALT_RIGHT_ON)) { in matchesMetaState()409 if (behaviorMetaState & AMETA_META_ON) { in matchesMetaState()411 } else if (behaviorMetaState & (AMETA_META_LEFT_ON | AMETA_META_RIGHT_ON)) { in matchesMetaState()
228 static bool matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState);