mirror of https://github.com/acidanthera/audk.git
Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10382 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
69c3ab976d
commit
d4a622c488
|
@ -2,8 +2,8 @@
|
|||
USB Keyboard Driver that manages USB keyboard and produces Simple Text Input
|
||||
Protocol and Simple Text Input Ex Protocol.
|
||||
|
||||
Copyright (c) 2004 - 2010, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
Copyright (c) 2004 - 2010, 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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
@ -320,8 +320,8 @@ USBKeyboardDriverBindingStart (
|
|||
//
|
||||
// Reset USB Keyboard Device exhaustively.
|
||||
//
|
||||
Status = UsbKeyboardDevice->SimpleInput.Reset (
|
||||
&UsbKeyboardDevice->SimpleInput,
|
||||
Status = UsbKeyboardDevice->SimpleInputEx.Reset (
|
||||
&UsbKeyboardDevice->SimpleInputEx,
|
||||
TRUE
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
|
|
Loading…
Reference in New Issue