From 66fe714632b53f4d6270a224f8134f3260772177 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Tue, 19 Apr 2011 06:46:55 +0000 Subject: 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 --- Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c') 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.
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
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); } } -- cgit v1.2.3