-/**@file\r
- PS2 Mouse Communication Interface \r
+/** @file\r
+ Using PS2 Mouse to simulation Absolution Pointer Device.\r
\r
Copyright (c) 2006 - 2007, Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
\r
**/\r
\r
-#ifndef _COMMPS2_H_\r
-#define _COMMPS2_H_\r
+#ifndef __COMMPS2_H__\r
+#define __COMMPS2_H__\r
\r
#define PS2_PACKET_LENGTH 3\r
#define PS2_SYNC_MASK 0xc\r
/**\r
Get mouse packet . Only care first 3 bytes\r
\r
- @param MouseDev Pointer of PS2 Mouse Private Data Structure \r
+ @param MouseAbsolutePointerDev Pointer to PS2 Absolute Pointer Simulation Device Private Data Structure\r
\r
@retval EFI_NOT_READY Mouse Device not ready to input data packet, or some error happened during getting the packet\r
@retval EFI_SUCCESS The data packet is gotten successfully.\r
I/O work flow of outing 8042 Aux data.\r
\r
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL\r
- @param Command Aux I/O command\r
+ @param Data Buffer holding return value.\r
\r
@retval EFI_SUCCESS Success to excute I/O work flow\r
@retval EFI_TIMEOUT Keyboard controller time out.\r
);\r
\r
/**\r
- Check keyboard controller status, if it is output buffer full and for auxiliary device\r
+ Check keyboard controller status, if it is output buffer full and for auxiliary device.\r
\r
@param IsaIo Pointer to instance of EFI_ISA_IO_PROTOCOL\r
\r
IN UINTN Timeout\r
);\r
\r
-#endif // _COMMPS2_H_\r
+#endif // __COMMPS2_H__\r