13#ifndef __SIMPLE_TEXT_IN_EX_H__
14#define __SIMPLE_TEXT_IN_EX_H__
21#define EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID \
22 {0xdd9e7534, 0x7762, 0x4698, { 0x8c, 0x14, 0xf5, 0x85, 0x17, 0xa6, 0x25, 0xaa } }
99#define EFI_SHIFT_STATE_VALID 0x80000000
100#define EFI_RIGHT_SHIFT_PRESSED 0x00000001
101#define EFI_LEFT_SHIFT_PRESSED 0x00000002
102#define EFI_RIGHT_CONTROL_PRESSED 0x00000004
103#define EFI_LEFT_CONTROL_PRESSED 0x00000008
104#define EFI_RIGHT_ALT_PRESSED 0x00000010
105#define EFI_LEFT_ALT_PRESSED 0x00000020
106#define EFI_RIGHT_LOGO_PRESSED 0x00000040
107#define EFI_LEFT_LOGO_PRESSED 0x00000080
108#define EFI_MENU_KEY_PRESSED 0x00000100
109#define EFI_SYS_REQ_PRESSED 0x00000200
114#define EFI_TOGGLE_STATE_VALID 0x80
115#define EFI_KEY_STATE_EXPOSED 0x40
116#define EFI_SCROLL_LOCK_ACTIVE 0x01
117#define EFI_NUM_LOCK_ACTIVE 0x02
118#define EFI_CAPS_LOCK_ACTIVE 0x04
123#define SCAN_F11 0x0015
124#define SCAN_F12 0x0016
125#define SCAN_PAUSE 0x0048
126#define SCAN_F13 0x0068
127#define SCAN_F14 0x0069
128#define SCAN_F15 0x006A
129#define SCAN_F16 0x006B
130#define SCAN_F17 0x006C
131#define SCAN_F18 0x006D
132#define SCAN_F19 0x006E
133#define SCAN_F20 0x006F
134#define SCAN_F21 0x0070
135#define SCAN_F22 0x0071
136#define SCAN_F23 0x0072
137#define SCAN_F24 0x0073
138#define SCAN_MUTE 0x007F
139#define SCAN_VOLUME_UP 0x0080
140#define SCAN_VOLUME_DOWN 0x0081
141#define SCAN_BRIGHTNESS_UP 0x0100
142#define SCAN_BRIGHTNESS_DOWN 0x0101
143#define SCAN_SUSPEND 0x0102
144#define SCAN_HIBERNATE 0x0103
145#define SCAN_TOGGLE_DISPLAY 0x0104
146#define SCAN_RECOVERY 0x0105
147#define SCAN_EJECT 0x0106
293 IN VOID *NotificationHandle
unsigned char BOOLEAN
Logical Boolean.
unsigned char UINT8
1-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
#define VOID
Undeclared type.
EFI_GUID gEfiSimpleTextInputExProtocolGuid
struct _EFI_KEY_STATE EFI_KEY_STATE
UINT8 EFI_KEY_TOGGLE_STATE
EFI_KEY_TOGGLE_STATE.
struct _EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL
EFI_STATUS(EFIAPI * EFI_INPUT_RESET_EX)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
The Reset() function resets the input device hardware.
EFI_STATUS(EFIAPI * EFI_KEY_NOTIFY_FUNCTION)(IN EFI_KEY_DATA *KeyData)
The function will be called when the key sequence is typed specified by KeyData.
EFI_STATUS(EFIAPI * EFI_INPUT_READ_KEY_EX)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, OUT EFI_KEY_DATA *KeyData)
The function reads the next keystroke from the input device.
EFI_STATUS(EFIAPI * EFI_SET_STATE)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN EFI_KEY_TOGGLE_STATE *KeyToggleState)
The SetState() function allows the input device hardware to have state settings adjusted.
EFI_STATUS(EFIAPI * EFI_REGISTER_KEYSTROKE_NOTIFY)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN EFI_KEY_DATA *KeyData, IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction, OUT VOID **NotifyHandle)
The RegisterKeystrokeNotify() function registers a function which will be called when a specified key...
EFI_STATUS(EFIAPI * EFI_UNREGISTER_KEYSTROKE_NOTIFY)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN VOID *NotificationHandle)
The UnregisterKeystrokeNotify() function removes the notification which was previously registered.
Simple Text Input protocol from the UEFI 2.0 specification.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
EFI_INPUT_KEY Key
The EFI scan code and Unicode value returned from the input device.
EFI_KEY_STATE KeyState
The current state of various toggled attributes as well as input modifier values.
EFI_KEY_TOGGLE_STATE KeyToggleState
Reflects the current internal state of various toggled attributes.
UINT32 KeyShiftState
Reflects the currently pressed shift modifiers for the input device.
The EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL is used on the ConsoleIn device.
EFI_EVENT WaitForKeyEx
Event to use with WaitForEvent() to wait for a key to be available.
EFI_INPUT_READ_KEY_EX ReadKeyStrokeEx
EFI_REGISTER_KEYSTROKE_NOTIFY RegisterKeyNotify
EFI_UNREGISTER_KEYSTROKE_NOTIFY UnregisterKeyNotify