3 The interface of HID data structure.
5 Copyright (c) 2004 - 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef _EFI_MOUSE_HID_H_
17 #define _EFI_MOUSE_HID_H_
22 // HID Item general structure
24 typedef struct _hid_item
{
54 UINT16 Usage
[16]; /* usage array */
66 HID_GLOBAL GlobalStack
[8];
67 UINT32 GlobalStackPtr
;
69 HID_COLLECTION CollectionStack
[8];
70 UINT32 CollectionStackPtr
;
74 Parse Mouse Report Descriptor.
76 @param UsbMouse The instance of USB_MOUSE_DEV
77 @param ReportDescriptor Report descriptor to parse
78 @param ReportSize Report descriptor size
80 @retval EFI_DEVICE_ERROR Report descriptor error
81 @retval EFI_SUCCESS Parse descriptor success
85 ParseMouseReportDescriptor (
86 IN USB_MOUSE_DEV
*UsbMouse
,
87 IN UINT8
*ReportDescriptor
,