summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-19 06:46:55 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-19 06:46:55 +0000
commit66fe714632b53f4d6270a224f8134f3260772177 (patch)
tree5475fca399258c7f1ea0ce4f6236fba7076c43be /Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c
parent7eb2c64d34c8408960a736f299f75b4c0253d5f9 (diff)
downloadedk2-platforms-66fe714632b53f4d6270a224f8134f3260772177.tar.xz
Fix NT32 Keyboard driver to call hotkey callback even no one is calling ReadKeyStroke().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11561 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c')
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c b/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c
index 4d240cffc4..9124e26edd 100644
--- a/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c
+++ b/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -697,7 +697,7 @@ WinNtGopThreadWindowProc (
case VK_F10:
Key.ScanCode = SCAN_F10;
Key.UnicodeChar = 0;
- GopPrivateAddQ (Private, Key);
+ GopPrivateAddKey (Private, Key);
return 0;
}
@@ -720,7 +720,7 @@ WinNtGopThreadWindowProc (
if (Key.ScanCode != 0) {
Key.UnicodeChar = 0;
- GopPrivateAddQ (Private, Key);
+ GopPrivateAddKey (Private, Key);
}
return 0;
@@ -749,7 +749,7 @@ WinNtGopThreadWindowProc (
WinNtGopConvertParamToEfiKey (Private, &wParam, &Key);
if (Key.ScanCode != 0) {
Key.UnicodeChar = 0;
- GopPrivateAddQ (Private, Key);
+ GopPrivateAddKey (Private, Key);
}
return 0;
@@ -770,7 +770,7 @@ WinNtGopThreadWindowProc (
if (wParam != 0) {
Key.UnicodeChar = (CHAR16) wParam;
Key.ScanCode = 0;
- GopPrivateAddQ (Private, Key);
+ GopPrivateAddKey (Private, Key);
}
}