]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Rename file to use recommended file naming conventions.
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 10 Mar 2008 23:14:46 +0000 (23:14 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 10 Mar 2008 23:14:46 +0000 (23:14 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4816 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Usb/UsbMouseDxe/MouseHid.h [new file with mode: 0644]
MdeModulePkg/Bus/Usb/UsbMouseDxe/mousehid.h [deleted file]

diff --git a/MdeModulePkg/Bus/Usb/UsbMouseDxe/MouseHid.h b/MdeModulePkg/Bus/Usb/UsbMouseDxe/MouseHid.h
new file mode 100644 (file)
index 0000000..13afc55
--- /dev/null
@@ -0,0 +1,85 @@
+/** @file\r
+\r
+Copyright (c) 2004, 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
+  MouseHid.h\r
+\r
+Abstract:\r
+\r
+\r
+**/\r
+\r
+#ifndef __MOUSE_HID_H\r
+#define __MOUSE_HID_H\r
+\r
+#include "usbmouse.h"\r
+\r
+//\r
+// HID Item general structure\r
+//\r
+typedef struct _hid_item {\r
+  UINT16  Format;\r
+  UINT8   Size;\r
+  UINT8   Type;\r
+  UINT8   Tag;\r
+  union {\r
+    UINT8   U8;\r
+    UINT16  U16;\r
+    UINT32  U32;\r
+    INT8    I8;\r
+    INT16   I16;\r
+    INT32   I32;\r
+    UINT8   *LongData;\r
+  } Data;\r
+} HID_ITEM;\r
+\r
+typedef struct {\r
+  UINT16  UsagePage;\r
+  INT32   LogicMin;\r
+  INT32   LogicMax;\r
+  INT32   PhysicalMin;\r
+  INT32   PhysicalMax;\r
+  UINT16  UnitExp;\r
+  UINT16 UINT;\r
+  UINT16 ReportId;\r
+  UINT16 ReportSize;\r
+  UINT16 ReportCount;\r
+} HID_GLOBAL;\r
+\r
+typedef struct {\r
+  UINT16  Usage[16];  /* usage array */\r
+  UINT16  UsageIndex;\r
+  UINT16  UsageMin;\r
+} HID_LOCAL;\r
+\r
+typedef struct {\r
+  UINT16  Type;\r
+  UINT16  Usage;\r
+} HID_COLLECTION;\r
+\r
+typedef struct {\r
+  HID_GLOBAL      Global;\r
+  HID_GLOBAL      GlobalStack[8];\r
+  UINT32          GlobalStackPtr;\r
+  HID_LOCAL       Local;\r
+  HID_COLLECTION  CollectionStack[8];\r
+  UINT32          CollectionStackPtr;\r
+} HID_PARSER;\r
+\r
+EFI_STATUS\r
+ParseMouseReportDescriptor (\r
+  IN  USB_MOUSE_DEV   *UsbMouse,\r
+  IN  UINT8           *ReportDescriptor,\r
+  IN  UINTN           ReportSize\r
+  );\r
+\r
+#endif\r
diff --git a/MdeModulePkg/Bus/Usb/UsbMouseDxe/mousehid.h b/MdeModulePkg/Bus/Usb/UsbMouseDxe/mousehid.h
deleted file mode 100644 (file)
index 13afc55..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-/** @file\r
-\r
-Copyright (c) 2004, 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
-  MouseHid.h\r
-\r
-Abstract:\r
-\r
-\r
-**/\r
-\r
-#ifndef __MOUSE_HID_H\r
-#define __MOUSE_HID_H\r
-\r
-#include "usbmouse.h"\r
-\r
-//\r
-// HID Item general structure\r
-//\r
-typedef struct _hid_item {\r
-  UINT16  Format;\r
-  UINT8   Size;\r
-  UINT8   Type;\r
-  UINT8   Tag;\r
-  union {\r
-    UINT8   U8;\r
-    UINT16  U16;\r
-    UINT32  U32;\r
-    INT8    I8;\r
-    INT16   I16;\r
-    INT32   I32;\r
-    UINT8   *LongData;\r
-  } Data;\r
-} HID_ITEM;\r
-\r
-typedef struct {\r
-  UINT16  UsagePage;\r
-  INT32   LogicMin;\r
-  INT32   LogicMax;\r
-  INT32   PhysicalMin;\r
-  INT32   PhysicalMax;\r
-  UINT16  UnitExp;\r
-  UINT16 UINT;\r
-  UINT16 ReportId;\r
-  UINT16 ReportSize;\r
-  UINT16 ReportCount;\r
-} HID_GLOBAL;\r
-\r
-typedef struct {\r
-  UINT16  Usage[16];  /* usage array */\r
-  UINT16  UsageIndex;\r
-  UINT16  UsageMin;\r
-} HID_LOCAL;\r
-\r
-typedef struct {\r
-  UINT16  Type;\r
-  UINT16  Usage;\r
-} HID_COLLECTION;\r
-\r
-typedef struct {\r
-  HID_GLOBAL      Global;\r
-  HID_GLOBAL      GlobalStack[8];\r
-  UINT32          GlobalStackPtr;\r
-  HID_LOCAL       Local;\r
-  HID_COLLECTION  CollectionStack[8];\r
-  UINT32          CollectionStackPtr;\r
-} HID_PARSER;\r
-\r
-EFI_STATUS\r
-ParseMouseReportDescriptor (\r
-  IN  USB_MOUSE_DEV   *UsbMouse,\r
-  IN  UINT8           *ReportDescriptor,\r
-  IN  UINTN           ReportSize\r
-  );\r
-\r
-#endif\r