/** @file\r
PS/2 Mouse driver header file.\r
\r
-Copyright (c) 2006 - 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+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
#ifndef _PS2MOUSE_H_\r
#define _PS2MOUSE_H_\r
\r
-#include <PiDxe.h>\r
-#include <Framework/StatusCode.h>\r
+#include <FrameworkDxe.h>\r
\r
#include <Protocol/SimplePointer.h>\r
#include <Protocol/IsaIo.h>\r
// PS/2 mouse sample rate\r
//\r
typedef enum {\r
- SSR_10,\r
- SSR_20,\r
- SSR_40,\r
- SSR_60,\r
- SSR_80,\r
- SSR_100,\r
- SSR_200,\r
- MAX_SR\r
+ SampleRate10,\r
+ SampleRate20,\r
+ SampleRate40,\r
+ SampleRate60,\r
+ SampleRate80,\r
+ SampleRate100,\r
+ SampleRate200,\r
+ MaxSampleRate\r
} MOUSE_SR;\r
\r
//\r
// PS/2 mouse resolution\r
//\r
typedef enum {\r
- CMR1,\r
- CMR2,\r
- CMR4,\r
- CMR8,\r
- MAX_CMR\r
+ MouseResolution1,\r
+ MouseResolution2,\r
+ MouseResolution4,\r
+ MouseResolution8,\r
+ MaxResolution\r
} MOUSE_RE;\r
\r
//\r
// PS/2 mouse scaling\r
//\r
typedef enum {\r
- SF1,\r
- SF2\r
+ Scaling1,\r
+ Scaling2\r
} MOUSE_SF;\r
\r
//\r
);\r
\r
/**\r
- Event notification function for TimerEvent event\r
- If mouse device is connected to system, try to get the mouse packet data\r
+ Event notification function for TimerEvent event.\r
+ If mouse device is connected to system, try to get the mouse packet data.\r
\r
@param Event - TimerEvent in PS2_MOUSE_DEV\r
@param Context - Pointer to PS2_MOUSE_DEV structure\r