X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSimpleTextInEx.h;h=5baede162ffb6d9810f337ba459a36e18c24e546;hp=430ec601bed9bdecf70efe25c0d091583d488c2e;hb=f754f721bf10508ca15c5c9243caa39c765662cf;hpb=d7dfd027aa9d376a6bd74eafaefe004938e4d209 diff --git a/MdePkg/Include/Protocol/SimpleTextInEx.h b/MdePkg/Include/Protocol/SimpleTextInEx.h index 430ec601be..5baede162f 100644 --- a/MdePkg/Include/Protocol/SimpleTextInEx.h +++ b/MdePkg/Include/Protocol/SimpleTextInEx.h @@ -1,8 +1,9 @@ /** @file - The file defines the protocol to obtain input from the - ConsoleIn device. The EFI specification requires that the - EFI_SIMPLE_TEXT_INPUT_PROTOCOL supports the same languages as - the corresponding + Simple Text Input Ex protocol from the UEFI 2.0 specification. + + This protocol defines an extension to the EFI_SIMPLE_TEXT_INPUT_PROTOCOL + which exposes much more state and modifier information from the input device, + also allows one to register a notification for a particular keystroke. Copyright (c) 2006 - 2009, Intel Corporation All rights reserved. This program and the accompanying materials @@ -58,8 +59,8 @@ EFI_STATUS /// -/// EFI_KEY_TOGGLE_STATE. The toggle state are defined. -/// They are EFI_TOGGLE_STATE_VALID, EFI_SCROLL_LOCK_ACTIVE +/// EFI_KEY_TOGGLE_STATE. The toggle states are defined. +/// They are: EFI_TOGGLE_STATE_VALID, EFI_SCROLL_LOCK_ACTIVE /// EFI_NUM_LOCK_ACTIVE, EFI_CAPS_LOCK_ACTIVE /// typedef UINT8 EFI_KEY_TOGGLE_STATE; @@ -149,7 +150,7 @@ typedef struct { there is no pending keystroke the function returns EFI_NOT_READY. If there is a pending keystroke, then KeyData.Key.ScanCode is the EFI scan code defined in Error! - Reference source not found.. The KeyData.Key.UnicodeChar is the + Reference source not found. The KeyData.Key.UnicodeChar is the actual printable character or is zero if the key does not represent a printable character (control key, function key, etc.). The KeyData.KeyState is shift state for the character