]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbMouseSimulateTouchPadDxe/UsbMouseAbsolutePointer.h
change the folder name of "UsbMouseSimulateTouchPadDxe" to "UsbMouseAbsolutePointer"
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbMouseSimulateTouchPadDxe / UsbMouseAbsolutePointer.h
diff --git a/MdeModulePkg/Bus/Usb/UsbMouseSimulateTouchPadDxe/UsbMouseAbsolutePointer.h b/MdeModulePkg/Bus/Usb/UsbMouseSimulateTouchPadDxe/UsbMouseAbsolutePointer.h
deleted file mode 100644 (file)
index 9c7d22f..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-/** @file\r
-\r
-Copyright (c) 2004 - 2007, Intel Corporation\r
-All rights reserved. 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
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-  Module Name:\r
-\r
-    UsbMouseAbsolutePointer.h\r
-\r
-  Abstract:\r
-\r
-\r
-**/\r
-\r
-#ifndef _USB_MOUSE_ABSOLUTE_POINTER_H\r
-#define _USB_MOUSE_ABSOLUTE_POINTER_H\r
-\r
-\r
-#include <PiDxe.h>\r
-\r
-#include <Protocol/AbsolutePointer.h>\r
-#include <Protocol/UsbIo.h>\r
-#include <Protocol/DevicePath.h>\r
-\r
-#include <Library/ReportStatusCodeLib.h>\r
-#include <Library/BaseMemoryLib.h>\r
-#include <Library/UefiDriverEntryPoint.h>\r
-#include <Library/UefiBootServicesTableLib.h>\r
-#include <Library/UefiLib.h>\r
-#include <Library/BaseLib.h>\r
-#include <Library/MemoryAllocationLib.h>\r
-#include <Library/PcdLib.h>\r
-#include <Library/UsbLib.h>\r
-\r
-#include <IndustryStandard/Usb.h>\r
-\r
-#define CLASS_HID               3\r
-#define SUBCLASS_BOOT           1\r
-#define PROTOCOL_MOUSE          2\r
-\r
-#define BOOT_PROTOCOL           0\r
-#define REPORT_PROTOCOL         1\r
-\r
-#define USB_MOUSE_ABSOLUTE_POINTER_DEV_SIGNATURE EFI_SIGNATURE_32 ('u', 'm', 's', 't')\r
-\r
-typedef struct {\r
-  BOOLEAN ButtonDetected;\r
-  UINT8   ButtonMinIndex;\r
-  UINT8   ButtonMaxIndex;\r
-  UINT8   Reserved;\r
-} PRIVATE_DATA;\r
-\r
-typedef struct {\r
-  UINTN                         Signature;\r
-  EFI_DEVICE_PATH_PROTOCOL      *DevicePath;\r
-  EFI_EVENT                     DelayedRecoveryEvent;\r
-  EFI_USB_IO_PROTOCOL           *UsbIo;\r
-  EFI_USB_INTERFACE_DESCRIPTOR  *InterfaceDescriptor;\r
-  EFI_USB_ENDPOINT_DESCRIPTOR   *IntEndpointDescriptor;\r
-  UINT8                         NumberOfButtons;\r
-  INT32                         XLogicMax;\r
-  INT32                         XLogicMin;\r
-  INT32                         YLogicMax;\r
-  INT32                         YLogicMin;\r
-\r
-  EFI_ABSOLUTE_POINTER_PROTOCOL AbsolutePointerProtocol;\r
-  EFI_ABSOLUTE_POINTER_STATE   AbsolutePointerState;\r
-  EFI_ABSOLUTE_POINTER_MODE            AbsolutePointerMode;\r
-  BOOLEAN                                              AbsolutePointerStateChanged;\r
-\r
-  PRIVATE_DATA                  PrivateData;\r
-  EFI_UNICODE_STRING_TABLE      *ControllerNameTable;\r
-} USB_MOUSE_ABSOLUTE_POINTER_DEV;\r
-\r
-#define USB_MOUSE_ABSOLUTE_POINTER_DEV_FROM_MOUSE_PROTOCOL(a) \\r
-    CR(a, USB_MOUSE_ABSOLUTE_POINTER_DEV, AbsolutePointerProtocol, USB_MOUSE_ABSOLUTE_POINTER_DEV_SIGNATURE)\r
-\r
-VOID\r
-EFIAPI\r
-USBMouseAbsolutePointerRecoveryHandler (\r
-  IN    EFI_EVENT    Event,\r
-  IN    VOID         *Context\r
-  );\r
-\r
-//\r
-// Global Variables\r
-//\r
-extern EFI_DRIVER_BINDING_PROTOCOL   gUsbMouseAbsolutePointerDriverBinding;\r
-extern EFI_COMPONENT_NAME_PROTOCOL   gUsbMouseAbsolutePointerComponentName;\r
-extern EFI_COMPONENT_NAME2_PROTOCOL  gUsbMouseAbsolutePointerComponentName2;\r
-extern EFI_GUID                      gEfiUsbMouseAbsolutePointerDriverGuid;\r
-\r
-VOID\r
-MouseAbsolutePointerReportStatusCode (\r
-  IN EFI_DEVICE_PATH_PROTOCOL  *DevicePath,\r
-  IN EFI_STATUS_CODE_TYPE      CodeType,\r
-  IN EFI_STATUS_CODE_VALUE     Value\r
-  );\r
-\r
-#endif\r