summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtGopDxe/WinNtGop.h
diff options
context:
space:
mode:
authorqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-30 07:30:20 +0000
committerqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-30 07:30:20 +0000
commitdf7499fcc1fbd6c825cabf19bbed379688416125 (patch)
tree6ad2ae0ab0942b38f5e9dbee6ad37c3e624e8385 /Nt32Pkg/WinNtGopDxe/WinNtGop.h
parent5829afe3e43cb252a0550b8559b4f1fcde9fb461 (diff)
downloadedk2-platforms-df7499fcc1fbd6c825cabf19bbed379688416125.tar.xz
1. Add Partial Keystroke Support in Nt32 WinNTGopDxe driver. See the Uefi2.3.1a chapter 11.2
2. Fix the bug of "NT32 Keyboard driver don't support the ALT+ValueKey". Signed-off-by: qianouyang Reviewed-by: niruiyu vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12496 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/WinNtGopDxe/WinNtGop.h')
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGop.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGop.h b/Nt32Pkg/WinNtGopDxe/WinNtGop.h
index 3490de06ca..dd53591041 100644
--- a/Nt32Pkg/WinNtGopDxe/WinNtGop.h
+++ b/Nt32Pkg/WinNtGopDxe/WinNtGop.h
@@ -46,13 +46,13 @@ Abstract:
//
// WM_SYSKEYDOWN/WM_SYSKEYUP Notification
// lParam
-// bit 24: Specifies whether the key is an extended key,
-// such as the right-hand ALT and CTRL keys that appear on
-// an enhanced 101- or 102-key keyboard.
+// bit 24: Specifies whether the key is an extended key,
+// such as the right-hand ALT and CTRL keys that appear on
+// an enhanced 101- or 102-key keyboard.
// The value is 1 if it is an extended key; otherwise, it is 0.
-// bit 29:Specifies the context code.
-// The value is 1 if the ALT key is down while the key is pressed/released;
-// it is 0 if the WM_SYSKEYDOWN message is posted to the active window
+// bit 29:Specifies the context code.
+// The value is 1 if the ALT key is down while the key is pressed/released;
+// it is 0 if the WM_SYSKEYDOWN message is posted to the active window
// because no window has the keyboard focus.
#define GOP_EXTENDED_KEY (0x1 << 24)
#define GOP_ALT_KEY_PRESSED (0x1 << 29)
@@ -132,7 +132,7 @@ typedef struct {
EFI_GRAPHICS_OUTPUT_BLT_PIXEL *FillLine;
//
- // Keyboard Queue used by Simple Text In.
+ // Keyboard Queue used by Simple Text In.
// QueueForRead: WinProc thread adds, and main thread removes.
// QueueForNotify: WinProc thread adds, and timer thread removes.
//
@@ -143,7 +143,7 @@ typedef struct {
EFI_KEY_STATE KeyState;
LIST_ENTRY NotifyList;
BOOLEAN LeftShift;
- BOOLEAN RightShift;
+ BOOLEAN RightShift;
BOOLEAN LeftAlt;
BOOLEAN RightAlt;
BOOLEAN LeftCtrl;
@@ -151,10 +151,11 @@ typedef struct {
BOOLEAN LeftLogo;
BOOLEAN RightLogo;
BOOLEAN Menu;
- BOOLEAN SysReq;
+ BOOLEAN SysReq;
BOOLEAN NumLock;
BOOLEAN ScrollLock;
BOOLEAN CapsLock;
+ BOOLEAN IsPartialKeySupport;
EFI_EVENT TimerEvent;
} GOP_PRIVATE_DATA;