TianoCore EDK2 master
Loading...
Searching...
No Matches
AbsolutePointer.h
Go to the documentation of this file.
1
13#ifndef __ABSOLUTE_POINTER_H__
14#define __ABSOLUTE_POINTER_H__
15
16#define EFI_ABSOLUTE_POINTER_PROTOCOL_GUID \
17 { 0x8D59D32B, 0xC655, 0x4AE9, { 0x9B, 0x15, 0xF2, 0x59, 0x04, 0x99, 0x2A, 0x43 } }
18
20
21// *******************************************************
22// EFI_ABSOLUTE_POINTER_MODE
23// *******************************************************
24
30typedef struct {
31 UINT64 AbsoluteMinX;
32 UINT64 AbsoluteMinY;
33 UINT64 AbsoluteMinZ;
34 UINT64 AbsoluteMaxX;
36 UINT64 AbsoluteMaxY;
38 UINT64 AbsoluteMaxZ;
40 UINT32 Attributes;
44
48#define EFI_ABSP_SupportsAltActive 0x00000001
49
53#define EFI_ABSP_SupportsPressureAsZ 0x00000002
54
80typedef
84 IN BOOLEAN ExtendedVerification
85 );
86
90#define EFI_ABSP_TouchActive 0x00000001
91
95#define EFI_ABS_AltActive 0x00000002
96
100typedef struct {
107 UINT64 CurrentX;
108
115 UINT64 CurrentY;
116
123 UINT64 CurrentZ;
124
131
162typedef
167 );
168
188};
189
190extern EFI_GUID gEfiAbsolutePointerProtocolGuid;
191
192#endif
EFI_STATUS(EFIAPI * EFI_ABSOLUTE_POINTER_GET_STATE)(IN EFI_ABSOLUTE_POINTER_PROTOCOL *This, OUT EFI_ABSOLUTE_POINTER_STATE *State)
EFI_STATUS(EFIAPI * EFI_ABSOLUTE_POINTER_RESET)(IN EFI_ABSOLUTE_POINTER_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
EFI_ABSOLUTE_POINTER_MODE * Mode
UINT64 AbsoluteMinX
The Absolute Minimum of the device on the x-axis.
UINT64 AbsoluteMinZ
The Absolute Minimum of the device on the z-axis.
UINT64 AbsoluteMinY
The Absolute Minimum of the device on the y axis.
Definition: Base.h:213