XenevaOS
Loading...
Searching...
No Matches
SimpleTextIn.h
Go to the documentation of this file.
1
18#ifndef __SIMPLE_TEXT_IN_PROTOCOL_H__
19#define __SIMPLE_TEXT_IN_PROTOCOL_H__
20
21#define EFI_SIMPLE_TEXT_INPUT_PROTOCOL_GUID \
22 { \
23 0x387477c1, 0x69c7, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
24 }
25
27
31#define SIMPLE_INPUT_PROTOCOL EFI_SIMPLE_TEXT_INPUT_PROTOCOL_GUID
32
37
45
46//
47// Required unicode control chars
48//
49#define CHAR_BACKSPACE 0x0008
50#define CHAR_TAB 0x0009
51#define CHAR_LINEFEED 0x000A
52#define CHAR_CARRIAGE_RETURN 0x000D
53
54//
55// EFI Scan codes
56//
57#define SCAN_NULL 0x0000
58#define SCAN_UP 0x0001
59#define SCAN_DOWN 0x0002
60#define SCAN_RIGHT 0x0003
61#define SCAN_LEFT 0x0004
62#define SCAN_HOME 0x0005
63#define SCAN_END 0x0006
64#define SCAN_INSERT 0x0007
65#define SCAN_DELETE 0x0008
66#define SCAN_PAGE_UP 0x0009
67#define SCAN_PAGE_DOWN 0x000A
68#define SCAN_F1 0x000B
69#define SCAN_F2 0x000C
70#define SCAN_F3 0x000D
71#define SCAN_F4 0x000E
72#define SCAN_F5 0x000F
73#define SCAN_F6 0x0010
74#define SCAN_F7 0x0011
75#define SCAN_F8 0x0012
76#define SCAN_F9 0x0013
77#define SCAN_F10 0x0014
78#define SCAN_ESC 0x0017
79
90typedef
94 IN BOOLEAN ExtendedVerification
95 );
96
111typedef
115 OUT EFI_INPUT_KEY *Key
116 );
117
130
132
133#endif
unsigned short CHAR16
Definition ProcessorBind.h:105
#define EFIAPI
Definition ProcessorBind.h:172
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
EFI_STATUS(EFIAPI * EFI_INPUT_READ_KEY)(IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This, OUT EFI_INPUT_KEY *Key)
Definition SimpleTextIn.h:113
EFI_GUID gEfiSimpleTextInProtocolGuid
EFI_STATUS(EFIAPI * EFI_INPUT_RESET)(IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
Definition SimpleTextIn.h:92
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
VOID * EFI_EVENT
Definition UefiBaseType.h:41
unsigned short UINT16
Definition actypes.h:237
unsigned char BOOLEAN
Definition actypes.h:235
Definition SimpleTextIn.h:41
UINT16 ScanCode
Definition SimpleTextIn.h:42
CHAR16 UnicodeChar
Definition SimpleTextIn.h:43
Definition Base.h:281
Definition SimpleTextIn.h:122
EFI_INPUT_READ_KEY ReadKeyStroke
Definition SimpleTextIn.h:124
EFI_INPUT_RESET Reset
Definition SimpleTextIn.h:123
EFI_EVENT WaitForKey
Definition SimpleTextIn.h:128