20#define ANSI_MAX_LENGTH 8
123 if (
kbd->ascii >= 32 &&
kbd->ascii < 126)
194 if (ansi->
buffer[1] ==
'[')
_PUBLIC int isdigit(int c)
@ KBD_LEFT
Left arrow key.
@ KBD_DOWN
Down arrow key.
@ KBD_BACKSPACE
Backspace key.
@ KBD_RIGHT
Right arrow key.
@ KBD_PAGE_DOWN
Page Down key.
@ KBD_PAGE_UP
Page Up key.
@ KBD_MOD_CTRL
Control modifier.
static bool ansi_sending_parse(ansi_sending_t *ansi, char chr)
Parse a character for ANSI sending.
static void ansi_sending_init(ansi_sending_t *ansi)
Initialize an ANSI sending structure.
static void ansi_kbd_to_receiving(ansi_receiving_t *ansi, const event_kbd_t *kbd)
Convert a keycode to an ANSI receiving sequence.
EFI_PHYSICAL_ADDRESS buffer
_PUBLIC void * memset(void *s, int c, size_t n)
ANSI receiving structure.
char buffer[ANSI_MAX_LENGTH]
char buffer[ANSI_MAX_LENGTH]
uint8_t parameters[ANSI_MAX_LENGTH]