Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState...
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 19 Apr 2010 05:34:25 +0000 (05:34 +0000)
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 19 Apr 2010 05:34:25 +0000 (05:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10382 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c

index eb9bbd971f63ecf9770d98cb5cf6a961265f9505..2733d562d7d417b83d1e34c969d41bd0693578c7 100644 (file)
@@ -2,8 +2,8 @@
   USB Keyboard Driver that manages USB keyboard and produces Simple Text Input\r
   Protocol and Simple Text Input Ex Protocol.\r
 \r
-Copyright (c) 2004 - 2010, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -320,8 +320,8 @@ USBKeyboardDriverBindingStart (
   //\r
   // Reset USB Keyboard Device exhaustively.\r
   //\r
-  Status = UsbKeyboardDevice->SimpleInput.Reset (\r
-                                            &UsbKeyboardDevice->SimpleInput,\r
+  Status = UsbKeyboardDevice->SimpleInputEx.Reset (\r
+                                            &UsbKeyboardDevice->SimpleInputEx,\r
                                             TRUE\r
                                             );\r
   if (EFI_ERROR (Status)) {\r