Lines Matching refs:currentMetaState

313         int32_t currentMetaState = 0;  in getEvents()  local
314 addMetaKeys(outEvents, deviceId, metaState, true, now, &currentMetaState); in getEvents()
315 addKey(outEvents, deviceId, keyCode, currentMetaState, true, now); in getEvents()
316 addKey(outEvents, deviceId, keyCode, currentMetaState, false, now); in getEvents()
317 addMetaKeys(outEvents, deviceId, metaState, false, now, &currentMetaState); in getEvents()
497 int32_t* currentMetaState) { in addMetaKeys() argument
501 AKEYCODE_CAPS_LOCK, AMETA_CAPS_LOCK_ON, currentMetaState); in addMetaKeys()
503 AKEYCODE_NUM_LOCK, AMETA_NUM_LOCK_ON, currentMetaState); in addMetaKeys()
505 AKEYCODE_SCROLL_LOCK, AMETA_SCROLL_LOCK_ON, currentMetaState); in addMetaKeys()
510 AMETA_SHIFT_ON, currentMetaState); in addMetaKeys()
514 AMETA_ALT_ON, currentMetaState); in addMetaKeys()
518 AMETA_CTRL_ON, currentMetaState); in addMetaKeys()
522 AMETA_META_ON, currentMetaState); in addMetaKeys()
525 AKEYCODE_SYM, AMETA_SYM_ON, currentMetaState); in addMetaKeys()
527 AKEYCODE_FUNCTION, AMETA_FUNCTION_ON, currentMetaState); in addMetaKeys()
530 AKEYCODE_FUNCTION, AMETA_FUNCTION_ON, currentMetaState); in addMetaKeys()
532 AKEYCODE_SYM, AMETA_SYM_ON, currentMetaState); in addMetaKeys()
537 AMETA_META_ON, currentMetaState); in addMetaKeys()
541 AMETA_CTRL_ON, currentMetaState); in addMetaKeys()
545 AMETA_ALT_ON, currentMetaState); in addMetaKeys()
549 AMETA_SHIFT_ON, currentMetaState); in addMetaKeys()
552 AKEYCODE_SCROLL_LOCK, AMETA_SCROLL_LOCK_ON, currentMetaState); in addMetaKeys()
554 AKEYCODE_NUM_LOCK, AMETA_NUM_LOCK_ON, currentMetaState); in addMetaKeys()
556 AKEYCODE_CAPS_LOCK, AMETA_CAPS_LOCK_ON, currentMetaState); in addMetaKeys()
563 int32_t* currentMetaState) { in addSingleEphemeralMetaKey() argument
565 *currentMetaState = updateMetaState(keyCode, down, *currentMetaState); in addSingleEphemeralMetaKey()
566 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); in addSingleEphemeralMetaKey()
577 int32_t* currentMetaState) { in addDoubleEphemeralMetaKey() argument
580 leftKeyCode, leftKeyMetaState, currentMetaState); in addDoubleEphemeralMetaKey()
582 rightKeyCode, rightKeyMetaState, currentMetaState); in addDoubleEphemeralMetaKey()
586 leftKeyCode, eitherKeyMetaState, currentMetaState); in addDoubleEphemeralMetaKey()
593 int32_t* currentMetaState) { in addLockedMetaKey() argument
595 *currentMetaState = updateMetaState(keyCode, true, *currentMetaState); in addLockedMetaKey()
596 addKey(outEvents, deviceId, keyCode, *currentMetaState, true, time); in addLockedMetaKey()
597 *currentMetaState = updateMetaState(keyCode, false, *currentMetaState); in addLockedMetaKey()
598 addKey(outEvents, deviceId, keyCode, *currentMetaState, false, time); in addLockedMetaKey()