1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
//****************************************************************************
//****************************************************************************
//** **
//** (C)Copyright 1985-2010, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Pkwy, Suite 200 Norcross, GA 30093 **
//** **
//** Phone (770)-246-8600 **
//** **
//****************************************************************************
//****************************************************************************
//**********************************************************************
// $Header: /Alaska/SOURCE/Modules/USB/ALASKA/Protocol/Emul6064MsInput.h 4 6/28/10 5:24p Olegi $
//
// $Revision: 4 $
//
// $Date: 6/28/10 5:24p $
//
//**********************************************************************
//<AMI_FHDR_START>
//----------------------------------------------------------------------------
//
// Name: Emul6064MsInput.h
//
// Description: Protocol used for 6064 USB mouse emulation
//
//----------------------------------------------------------------------------
//<AMI_FHDR_END>
#ifndef _EMUL6064MSINPUT_PROTOCOL_H_
#define _EMUL6064MSINPUT_PROTOCOL_H_
EFI_FORWARD_DECLARATION (EFI_EMUL6064MSINPUT_PROTOCOL);
#define EFI_EMUL6064MSINPUT_PROTOCOL_GUID \
{ 0x7578b307, 0xb25b, 0x44f9, 0x89, 0x2e, 0x20, 0x9b, 0x0e, 0x39, 0x93, 0xc6 }
#define PS2MSFLAGS_LBUTTON 0x01
#define PS2MSFLAGS_RBUTTON 0x02
#define PS2MSFLAGS_XSIGN 0x10
#define PS2MSFLAGS_YSIGN 0x20
#define PS2MSFLAGS_XO 0x40
#define PS2MSFLAGS_YO 0x80
typedef struct {
UINT8 flags;
UINT8 x;
UINT8 y;
} PS2MouseData;
typedef
EFI_STATUS
(EFIAPI *EFI_EMUL6064MSINPUT_PROTOCOL_SEND) (
IN EFI_EMUL6064MSINPUT_PROTOCOL * This,
IN PS2MouseData* data
);
typedef struct _EFI_EMUL6064MSINPUT_PROTOCOL {
EFI_EMUL6064MSINPUT_PROTOCOL_SEND Send;
} EFI_EMUL6064MSINPUT_PROTOCOL;
extern EFI_GUID gEmul6064MsInputProtocolGuid;
#endif
//****************************************************************************
//****************************************************************************
//** **
//** (C)Copyright 1985-2010, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Pkwy, Suite 200 Norcross, GA 30093 **
//** **
//** Phone (770)-246-8600 **
//** **
//****************************************************************************
//****************************************************************************
|