Home | History | Annotate | Download | only in WinNtGopDxe

Lines Matching defs:KeyData

91   IN EFI_KEY_DATA         *KeyData

101 CopyMem (&Queue->Q[Queue->Rear], KeyData, sizeof (EFI_KEY_DATA));
221 IN EFI_KEY_DATA *KeyData
232 KeyData - A pointer to a buffer that is filled in with the keystroke
251 if (GopPrivateIsKeyRegistered (&CurrentNotify->KeyData, KeyData)) {
252 CurrentNotify->KeyNotificationFn (KeyData);
264 EFI_KEY_DATA KeyData;
267 while (GopPrivateDeleteQ (Private, &Private->QueueForNotify, &KeyData) == EFI_SUCCESS) {
268 GopPrivateInvokeRegisteredFunction (Private, &KeyData);
288 EFI_KEY_DATA KeyData;
290 KeyData.Key = Key;
292 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID;
293 KeyData.KeyState.KeyToggleState = EFI_TOGGLE_STATE_VALID;
299 KeyData.KeyState.KeyShiftState |= EFI_LEFT_CONTROL_PRESSED;
302 KeyData.KeyState.KeyShiftState |= EFI_RIGHT_CONTROL_PRESSED;
305 KeyData.KeyState.KeyShiftState |= EFI_LEFT_ALT_PRESSED;
308 KeyData.KeyState.KeyShiftState |= EFI_RIGHT_ALT_PRESSED;
311 KeyData.KeyState.KeyShiftState |= EFI_LEFT_SHIFT_PRESSED;
314 KeyData.KeyState.KeyShiftState |= EFI_RIGHT_SHIFT_PRESSED;
317 KeyData.KeyState.KeyShiftState |= EFI_LEFT_LOGO_PRESSED;
320 KeyData.KeyState.KeyShiftState |= EFI_RIGHT_LOGO_PRESSED;
323 KeyData.KeyState.KeyShiftState |= EFI_MENU_KEY_PRESSED;
326 KeyData.KeyState.KeyShiftState |= EFI_SYS_REQ_PRESSED;
329 KeyData.KeyState.KeyToggleState |= EFI_CAPS_LOCK_ACTIVE;
332 KeyData.KeyState.KeyToggleState |= EFI_NUM_LOCK_ACTIVE;
335 KeyData.KeyState.KeyToggleState |= EFI_SCROLL_LOCK_ACTIVE;
338 KeyData.KeyState.KeyToggleState |= EFI_KEY_STATE_EXPOSED;
345 (KeyData.Key.UnicodeChar >= 1) && (KeyData.Key.UnicodeChar <= 26)
348 KeyData.Key.UnicodeChar = (CHAR16)(KeyData.Key.UnicodeChar + L'a' - 1);
350 KeyData.Key.UnicodeChar = (CHAR16)(KeyData.Key.UnicodeChar + L'A' - 1);
357 if (((KeyData.Key.UnicodeChar >= L'a') && (KeyData.Key.UnicodeChar <= L'z')) ||
358 ((KeyData.Key.UnicodeChar >= L'A') && (KeyData.Key.UnicodeChar <= L'Z'))
360 KeyData.KeyState.KeyShiftState &= ~(EFI_LEFT_SHIFT_PRESSED | EFI_RIGHT_SHIFT_PRESSED);
363 GopPrivateAddQ (Private, &Private->QueueForNotify, &KeyData);
365 GopPrivateAddQ (Private, &Private->QueueForRead, &KeyData);
421 EFI_KEY_DATA KeyData;
432 while (GopPrivateDeleteQ (Private, &Private->QueueForRead, &KeyData) == EFI_SUCCESS)
434 while (GopPrivateDeleteQ (Private, &Private->QueueForNotify, &KeyData) == EFI_SUCCESS)
467 OUT EFI_KEY_DATA *KeyData
477 KeyData - A pointer to a buffer that is filled in with the keystroke
485 EFI_INVALID_PARAMETER - KeyData is NULL.
492 if (KeyData == NULL) {
511 Status = GopPrivateDeleteQ (Private, &Private->QueueForRead, KeyData);
518 if (KeyData->Key.ScanCode == SCAN_NULL && KeyData->Key.UnicodeChar == CHAR_NULL) {
582 EFI_KEY_DATA KeyData;
591 Status = GopPrivateReadKeyStrokeWorker (Private, &KeyData);
595 if (KeyData.Key.ScanCode == SCAN_NULL && KeyData.Key.UnicodeChar == CHAR_NULL) {
601 if ((KeyData.KeyState.KeyShiftState & (EFI_LEFT_CONTROL_PRESSED | EFI_RIGHT_CONTROL_PRESSED)) != 0) {
602 if ((KeyData.Key.UnicodeChar >= L'a') && (KeyData.Key.UnicodeChar <= L'z')) {
603 KeyData.Key.UnicodeChar = (CHAR16) (KeyData.Key.UnicodeChar - L'a' + 1);
604 KeyData.Key.UnicodeChar >= L'A') && (KeyData.Key.UnicodeChar <= L'Z')) {
605 KeyData.Key.UnicodeChar = (CHAR16) (KeyData.Key.UnicodeChar - L'A' + 1);
608 CopyMem (Key, &KeyData.Key, sizeof (EFI_INPUT_KEY));
633 EFI_KEY_DATA KeyData;
661 GopPrivateDeleteQ (Private,&Private->QueueForRead,&KeyData);
718 OUT EFI_KEY_DATA *KeyData
728 KeyData - A pointer to a buffer that is filled in with the keystroke
736 EFI_INVALID_PARAMETER - KeyData is NULL.
742 if (KeyData == NULL) {
748 return GopPrivateReadKeyStrokeWorker (Private, KeyData);
823 IN EFI_KEY_DATA *KeyData,
834 KeyData - A pointer to a buffer that is filled in with the keystroke
837 sequence is typed specified by KeyData.
843 EFI_INVALID_PARAMETER - KeyData or NotifyHandle is NULL.
852 if (KeyData == NULL || KeyNotificationFunction == NULL || NotifyHandle == NULL) {
859 // Return EFI_SUCCESS if the (KeyData, NotificationFunction) is already registered.
868 if (GopPrivateIsKeyRegistered (&CurrentNotify->KeyData, KeyData)) {
886 CopyMem (&NewNotify->KeyData, KeyData, sizeof (EFI_KEY_DATA));