Home
last modified time | relevance | path

Searched refs:keydata (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/boot/efi/
Dconsole.c126 EFI_KEY_DATA keydata; in console_key_read() local
129 err = conInEx->ReadKeyStrokeEx(conInEx, &keydata); in console_key_read()
133 if (FLAGS_SET(keydata.KeyState.KeyShiftState, EFI_SHIFT_STATE_VALID)) { in console_key_read()
135 if (keydata.KeyState.KeyShiftState & EFI_SHIFT_PRESSED) in console_key_read()
137 if (keydata.KeyState.KeyShiftState & EFI_CONTROL_PRESSED) in console_key_read()
139 if (keydata.KeyState.KeyShiftState & EFI_ALT_PRESSED) in console_key_read()
141 if (keydata.KeyState.KeyShiftState & EFI_LOGO_PRESSED) in console_key_read()
146 *key = KEYPRESS(shift, keydata.Key.ScanCode, keydata.Key.UnicodeChar); in console_key_read()