2 Copyright (c) 2006, Intel Corporation
3 All rights reserved. This program and the accompanying materials
4 are licensed and made available under the terms and conditions of the BSD License
5 which accompanies this distribution. The full text of the license may be found at
6 http://opensource.org/licenses/bsd-license.php
8 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
9 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 Function prototype for USB Keyboard Driver
28 // EFI Component Name Functions
32 UsbKeyboardComponentNameGetDriverName (
33 IN EFI_COMPONENT_NAME_PROTOCOL
*This
,
35 OUT CHAR16
**DriverName
40 UsbKeyboardComponentNameGetControllerName (
41 IN EFI_COMPONENT_NAME_PROTOCOL
*This
,
42 IN EFI_HANDLE ControllerHandle
,
43 IN EFI_HANDLE ChildHandle OPTIONAL
,
45 OUT CHAR16
**ControllerName
50 IN EFI_USB_IO_PROTOCOL
*UsbIo
55 IN USB_KB_DEV
*UsbKeyboardDevice
69 USBKeyboardRecoveryHandler (
76 IN OUT USB_KB_DEV
*UsbKeyboardDevice
,
81 USBKeyCodeToEFIScanCode (
82 IN USB_KB_DEV
*UsbKeyboardDevice
,
84 OUT EFI_INPUT_KEY
*Key
89 IN OUT USB_KB_BUFFER
*KeyboardBuffer
93 IsUSBKeyboardBufferEmpty (
94 IN USB_KB_BUFFER
*KeyboardBuffer
98 IsUSBKeyboardBufferFull (
99 IN USB_KB_BUFFER
*KeyboardBuffer
104 IN OUT USB_KB_BUFFER
*KeyboardBuffer
,
111 IN OUT USB_KB_BUFFER
*KeyboardBuffer
,
117 USBKeyboardRepeatHandler (
124 IN USB_KB_DEV
*UsbKeyboardDevice