summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/SimpleTextInEx.h
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-11 01:46:51 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-11 01:46:51 +0000
commitf754f721bf10508ca15c5c9243caa39c765662cf (patch)
treea30263d31dbc5cbe0d472c1ae870702d19111892 /MdePkg/Include/Protocol/SimpleTextInEx.h
parent41f2ff0b85f3118238aeac8dfda3a657340519a5 (diff)
downloadedk2-platforms-f754f721bf10508ca15c5c9243caa39c765662cf.tar.xz
update codes per MdePkg doxgen review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8526 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/SimpleTextInEx.h')
-rw-r--r--MdePkg/Include/Protocol/SimpleTextInEx.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/MdePkg/Include/Protocol/SimpleTextInEx.h b/MdePkg/Include/Protocol/SimpleTextInEx.h
index 98d0c583dc..5baede162f 100644
--- a/MdePkg/Include/Protocol/SimpleTextInEx.h
+++ b/MdePkg/Include/Protocol/SimpleTextInEx.h
@@ -151,27 +151,28 @@ typedef struct {
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
- actual printable character, or is zero if the key does not
+ 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
reflected in KeyData.Key.UnicodeChar or KeyData.Key.ScanCode .
- When interpreting the data from this function, printable characters that are
+ When interpreting the data from this function, it should be
+ noted that if a class of printable characters that are
normally adjusted by shift modifiers (e.g. Shift Key + "f"
- key) are presented solely as a KeyData.Key.UnicodeChar
- without the associated shift state. For example,
- if Shift Key + "f" key are pressed, the only pertinent
+ key) would be presented solely as a KeyData.Key.UnicodeChar
+ without the associated shift state. So in the previous example
+ of a Shift Key + "f" key being pressed, the only pertinent
data returned would be KeyData.Key.UnicodeChar with the value
- of "F". This would not typically be the case for
- non-printable characters such as pressing the Right
- Shift Key + F10 key, since the corresponding returned data
+ of "F". This of course would not typically be the case for
+ non-printable characters such as the pressing of the Right
+ Shift Key + F10 key since the corresponding returned data
would be reflected both in the KeyData.KeyState.KeyShiftState
and KeyData.Key.ScanCode values. UEFI drivers which implement
the EFI_SIMPLE_TEXT_INPUT_EX protocol are required to return
KeyData.Key and KeyData.KeyState values. These drivers must
always return the most current state of
KeyData.KeyState.KeyShiftState and
- KeyData.KeyState.KeyToggleState.
- Certain input devices may not be able to produce shift or toggle
+ KeyData.KeyState.KeyToggleState. It should also be noted that
+ certain input devices may not be able to produce shift or toggle
state information, and in those cases the high order bit in the
respective Toggle and Shift state fields should not be active.
@@ -238,7 +239,7 @@ EFI_STATUS
/**
The RegisterKeystrokeNotify() function registers a function
- to be called when a specified keystroke will occur.
+ which will be called when a specified keystroke will occur.
@param This A pointer to the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL instance.
@@ -271,8 +272,8 @@ EFI_STATUS
);
/**
- The UnregisterKeystrokeNotify() function removes a
- notification that was previously registered.
+ The UnregisterKeystrokeNotify() function removes the
+ notification which was previously registered.
@param This A pointer to the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL instance.