Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/
DWinNtGopInput.c204 if (RegsiteredData->KeyState.KeyShiftState != 0 && in GopPrivateIsKeyRegistered()
205 RegsiteredData->KeyState.KeyShiftState != InputData->KeyState.KeyShiftState) { in GopPrivateIsKeyRegistered()
208 if (RegsiteredData->KeyState.KeyToggleState != 0 && in GopPrivateIsKeyRegistered()
209 RegsiteredData->KeyState.KeyToggleState != InputData->KeyState.KeyToggleState) { in GopPrivateIsKeyRegistered()
292 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID; in GopPrivateAddKey()
293 KeyData.KeyState.KeyToggleState = EFI_TOGGLE_STATE_VALID; in GopPrivateAddKey()
299 KeyData.KeyState.KeyShiftState |= EFI_LEFT_CONTROL_PRESSED; in GopPrivateAddKey()
302 KeyData.KeyState.KeyShiftState |= EFI_RIGHT_CONTROL_PRESSED; in GopPrivateAddKey()
305 KeyData.KeyState.KeyShiftState |= EFI_LEFT_ALT_PRESSED; in GopPrivateAddKey()
308 KeyData.KeyState.KeyShiftState |= EFI_RIGHT_ALT_PRESSED; in GopPrivateAddKey()
[all …]
DWinNtGop.h142 EFI_KEY_STATE KeyState; member
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DX11GraphicsWindow.c67 EFI_KEY_STATE KeyState; member
261 KeyData.KeyState.KeyShiftState = 0; in handleKeyEvent()
267 Drv->KeyState.KeyToggleState &= ~EFI_CAPS_LOCK_ACTIVE; in handleKeyEvent()
270 Drv->KeyState.KeyToggleState |= EFI_CAPS_LOCK_ACTIVE; in handleKeyEvent()
279 Drv->KeyState.KeyShiftState |= EFI_RIGHT_CONTROL_PRESSED; in handleKeyEvent()
281 Drv->KeyState.KeyShiftState &= ~EFI_RIGHT_CONTROL_PRESSED; in handleKeyEvent()
286 Drv->KeyState.KeyShiftState |= EFI_LEFT_CONTROL_PRESSED; in handleKeyEvent()
288 Drv->KeyState.KeyShiftState &= ~EFI_LEFT_CONTROL_PRESSED; in handleKeyEvent()
294 Drv->KeyState.KeyShiftState |= EFI_RIGHT_SHIFT_PRESSED; in handleKeyEvent()
296 Drv->KeyState.KeyShiftState &= ~EFI_RIGHT_SHIFT_PRESSED; in handleKeyEvent()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/
DBiosKeyboard.c1416 …if ((KeyData.KeyState.KeyShiftState & (EFI_LEFT_CONTROL_PRESSED | EFI_RIGHT_CONTROL_PRESSED)) != 0… in BiosKeyboardReadKeyStroke()
1810 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID; in BiosKeyboardTimerHandler()
1811 KeyData.KeyState.KeyToggleState = EFI_TOGGLE_STATE_VALID; in BiosKeyboardTimerHandler()
1886 KeyData.KeyState.KeyToggleState |= EFI_CAPS_LOCK_ACTIVE; in BiosKeyboardTimerHandler()
1889 KeyData.KeyState.KeyToggleState |= EFI_NUM_LOCK_ACTIVE; in BiosKeyboardTimerHandler()
1892 KeyData.KeyState.KeyToggleState |= EFI_SCROLL_LOCK_ACTIVE; in BiosKeyboardTimerHandler()
1899 …KeyData.KeyState.KeyShiftState |= ((KbFlag2 & KB_LEFT_ALT_PRESSED) == KB_LEFT_ALT_PRESSED) ? EFI_… in BiosKeyboardTimerHandler()
1902 …KeyData.KeyState.KeyShiftState |= ((KbFlag2 & KB_LEFT_CTRL_PRESSED) == KB_LEFT_CTRL_PRESSED) ? EF… in BiosKeyboardTimerHandler()
1905 KeyData.KeyState.KeyShiftState |= EFI_LEFT_SHIFT_PRESSED; in BiosKeyboardTimerHandler()
1908 KeyData.KeyState.KeyShiftState |= EFI_RIGHT_SHIFT_PRESSED; in BiosKeyboardTimerHandler()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/
DPs2KbdTextIn.c114 if (RegsiteredData->KeyState.KeyShiftState != 0 && in IsKeyRegistered()
115 RegsiteredData->KeyState.KeyShiftState != InputData->KeyState.KeyShiftState) { in IsKeyRegistered()
118 if (RegsiteredData->KeyState.KeyToggleState != 0 && in IsKeyRegistered()
119 RegsiteredData->KeyState.KeyToggleState != InputData->KeyState.KeyToggleState) { in IsKeyRegistered()
295 …if ((KeyData.KeyState.KeyShiftState & (EFI_LEFT_CONTROL_PRESSED | EFI_RIGHT_CONTROL_PRESSED)) != 0… in KeyboardReadKeyStroke()
DPs2KbdCtrller.c1319 KeyData.KeyState.KeyShiftState = (UINT32) (EFI_SHIFT_STATE_VALID in KeyGetchar()
1331 KeyData.KeyState.KeyToggleState = (EFI_KEY_TOGGLE_STATE) (EFI_TOGGLE_STATE_VALID in KeyGetchar()
1385 KeyData.KeyState.KeyShiftState &= ~(EFI_LEFT_SHIFT_PRESSED | EFI_RIGHT_SHIFT_PRESSED); in KeyGetchar()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/
DPs2KbdTextIn.c114 if (RegsiteredData->KeyState.KeyShiftState != 0 && in IsKeyRegistered()
115 RegsiteredData->KeyState.KeyShiftState != InputData->KeyState.KeyShiftState) { in IsKeyRegistered()
118 if (RegsiteredData->KeyState.KeyToggleState != 0 && in IsKeyRegistered()
119 RegsiteredData->KeyState.KeyToggleState != InputData->KeyState.KeyToggleState) { in IsKeyRegistered()
295 …if ((KeyData.KeyState.KeyShiftState & (EFI_LEFT_CONTROL_PRESSED | EFI_RIGHT_CONTROL_PRESSED)) != 0… in KeyboardReadKeyStroke()
DPs2KbdCtrller.c1355 KeyData.KeyState.KeyShiftState = (UINT32) (EFI_SHIFT_STATE_VALID in KeyGetchar()
1367 KeyData.KeyState.KeyToggleState = (EFI_KEY_TOGGLE_STATE) (EFI_TOGGLE_STATE_VALID in KeyGetchar()
1421 KeyData.KeyState.KeyShiftState &= ~(EFI_LEFT_SHIFT_PRESSED | EFI_RIGHT_SHIFT_PRESSED); in KeyGetchar()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/
DEfiKey.c729 …if ((KeyData.KeyState.KeyShiftState & (EFI_LEFT_CONTROL_PRESSED | EFI_RIGHT_CONTROL_PRESSED)) != 0… in USBKeyboardReadKeyStroke()
896 if (RegsiteredData->KeyState.KeyShiftState != 0 && in IsKeyRegistered()
897 RegsiteredData->KeyState.KeyShiftState != InputData->KeyState.KeyShiftState) { in IsKeyRegistered()
900 if (RegsiteredData->KeyState.KeyToggleState != 0 && in IsKeyRegistered()
901 RegsiteredData->KeyState.KeyToggleState != InputData->KeyState.KeyToggleState) { in IsKeyRegistered()
950 UsbKeyboardDevice->KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID; in USBKeyboardResetEx()
951 UsbKeyboardDevice->KeyState.KeyToggleState = EFI_TOGGLE_STATE_VALID; in USBKeyboardResetEx()
1019 …if (((UsbKeyboardDevice->KeyState.KeyToggleState & EFI_TOGGLE_STATE_VALID) != EFI_TOGGLE_STATE_VAL… in USBKeyboardSetState()
1048 UsbKeyboardDevice->KeyState.KeyToggleState = *KeyToggleState; in USBKeyboardSetState()
DKeyBoard.c1622 KeyData->KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID; in UsbKeyCodeToEfiInputKey()
1623 KeyData->KeyState.KeyToggleState = EFI_TOGGLE_STATE_VALID; in UsbKeyCodeToEfiInputKey()
1626 KeyData->KeyState.KeyShiftState |= EFI_LEFT_CONTROL_PRESSED; in UsbKeyCodeToEfiInputKey()
1629 KeyData->KeyState.KeyShiftState |= EFI_RIGHT_CONTROL_PRESSED; in UsbKeyCodeToEfiInputKey()
1632 KeyData->KeyState.KeyShiftState |= EFI_LEFT_ALT_PRESSED; in UsbKeyCodeToEfiInputKey()
1635 KeyData->KeyState.KeyShiftState |= EFI_RIGHT_ALT_PRESSED; in UsbKeyCodeToEfiInputKey()
1638 KeyData->KeyState.KeyShiftState |= EFI_LEFT_SHIFT_PRESSED; in UsbKeyCodeToEfiInputKey()
1641 KeyData->KeyState.KeyShiftState |= EFI_RIGHT_SHIFT_PRESSED; in UsbKeyCodeToEfiInputKey()
1644 KeyData->KeyState.KeyShiftState |= EFI_LEFT_LOGO_PRESSED; in UsbKeyCodeToEfiInputKey()
1647 KeyData->KeyState.KeyShiftState |= EFI_RIGHT_LOGO_PRESSED; in UsbKeyCodeToEfiInputKey()
[all …]
DEfiKey.h148 EFI_KEY_STATE KeyState; member
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Keyboard/VirtualKeyboardDxe/
DVirtualKeyboard.c461 if (RegsiteredData->KeyState.KeyShiftState != 0 && in IsKeyRegistered()
462 RegsiteredData->KeyState.KeyShiftState != InputData->KeyState.KeyShiftState) { in IsKeyRegistered()
465 if (RegsiteredData->KeyState.KeyToggleState != 0 && in IsKeyRegistered()
466 RegsiteredData->KeyState.KeyToggleState != InputData->KeyState.KeyToggleState) { in IsKeyRegistered()
711 …if ((KeyData.KeyState.KeyShiftState & (EFI_LEFT_CONTROL_PRESSED | EFI_RIGHT_CONTROL_PRESSED)) != 0… in VirtualKeyboardReadKeyStroke()
996 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID; in VirtualKeyboardTimerHandler()
997 KeyData.KeyState.KeyToggleState = EFI_TOGGLE_STATE_VALID; in VirtualKeyboardTimerHandler()
/device/linaro/bootloader/edk2/EmulatorPkg/EmuGopDxe/
DGopInput.c51 if (RegsiteredData->KeyState.KeyShiftState != 0 && in GopPrivateIsKeyRegistered()
52 RegsiteredData->KeyState.KeyShiftState != InputData->KeyState.KeyShiftState) { in GopPrivateIsKeyRegistered()
55 if (RegsiteredData->KeyState.KeyToggleState != 0 && in GopPrivateIsKeyRegistered()
56 RegsiteredData->KeyState.KeyToggleState != InputData->KeyState.KeyToggleState) { in GopPrivateIsKeyRegistered()
DGop.h105 EFI_KEY_STATE KeyState; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DHotkey.c165 (((KeyData->KeyState.KeyShiftState & EFI_SHIFT_STATE_VALID) != 0) ? in HotkeyCallback()
166 (KeyData->KeyState.KeyShiftState == HotkeyData->KeyState.KeyShiftState) : TRUE in HotkeyCallback()
372 KeyData->KeyState.KeyShiftState = KeyShiftStateLeft; in HotkeyInsertList()
395 KeyData->KeyState.KeyShiftState = KeyShiftStateRight; in HotkeyInsertList()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmHotkey.c393 (((KeyData->KeyState.KeyShiftState & EFI_SHIFT_STATE_VALID) != 0) ? in BmHotkeyCallback()
394 (KeyData->KeyState.KeyShiftState == HotkeyData->KeyState.KeyShiftState) : TRUE in BmHotkeyCallback()
570 Hotkey->KeyData[Index].KeyState.KeyShiftState, in BmRegisterHotkeyNotify()
571 Hotkey->KeyData[Index].KeyState.KeyToggleState, in BmRegisterHotkeyNotify()
700 Hotkey->KeyData[KeyIndex].KeyState.KeyShiftState = KeyShiftStates[Index]; in BmProcessKeyOption()
1113 ShiftState = Hotkey->KeyData[Index].KeyState.KeyShiftState; in EfiBootManagerDeleteKeyOptionVariable()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DSimpleTextInEx.h95 EFI_KEY_STATE KeyState; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleTextInputEx/
DSimpleTextInputEx.h54 EFI_KEY_STATE KeyState; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DTerminalConIn.c48 KeyData->KeyState.KeyShiftState = 0; in ReadKeyStrokeWorker()
49 KeyData->KeyState.KeyToggleState = 0; in ReadKeyStrokeWorker()
637 KeyData.KeyState.KeyShiftState = 0; in KeyNotifyProcessHandler()
638 KeyData.KeyState.KeyToggleState = 0; in KeyNotifyProcessHandler()
966 KeyData.KeyState.KeyShiftState = 0; in EfiKeyFiFoInsertOneKey()
967 KeyData.KeyState.KeyToggleState = 0; in EfiKeyFiFoInsertOneKey()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/ConSplitterDxe/
DConSplitter.c323 if (((KeyData->KeyState.KeyToggleState & KEY_STATE_VALID_EXPOSED) == KEY_STATE_VALID_EXPOSED) && in ToggleStateSyncKeyNotify()
324 (KeyData->KeyState.KeyToggleState != mConIn.PhysicalKeyToggleState)) { in ToggleStateSyncKeyNotify()
331 &KeyData->KeyState.KeyToggleState in ToggleStateSyncKeyNotify()
334 mConIn.PhysicalKeyToggleState = KeyData->KeyState.KeyToggleState; in ToggleStateSyncKeyNotify()
375 KeyData.KeyState.KeyShiftState = 0; in ToggleStateSyncInitialization()
376 KeyData.KeyState.KeyToggleState = 0; in ToggleStateSyncInitialization()
3631 if (RegsiteredData->KeyState.KeyShiftState != 0 && in IsKeyRegistered()
3632 RegsiteredData->KeyState.KeyShiftState != InputData->KeyState.KeyShiftState) { in IsKeyRegistered()
3635 if (RegsiteredData->KeyState.KeyToggleState != 0 && in IsKeyRegistered()
3636 RegsiteredData->KeyState.KeyToggleState != InputData->KeyState.KeyToggleState) { in IsKeyRegistered()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DriverSampleDxe/
DDriverSample.c178 KeyData.KeyState.KeyToggleState = 0; in InternalStartMonitor()
180 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_LEFT_CONTROL_PRESSED; in InternalStartMonitor()
192 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_RIGHT_CONTROL_PRESSED; in InternalStartMonitor()
237 KeyData.KeyState.KeyToggleState = 0; in InternalStopMonitor()
239 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_LEFT_CONTROL_PRESSED; in InternalStopMonitor()
251 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_RIGHT_CONTROL_PRESSED; in InternalStopMonitor()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellProtocol.c3837 …(KeyData->KeyState.KeyShiftState == (EFI_SHIFT_STATE_VALID|EFI_LEFT_CONTROL_PRESSED) || KeyData->K… in NotificationFunction()
3845 …(KeyData->KeyState.KeyShiftState == (EFI_SHIFT_STATE_VALID|EFI_LEFT_CONTROL_PRESSED) || KeyData-> in NotificationFunction()
3889 KeyData.KeyState.KeyToggleState = 0; in InernalEfiShellStartMonitor()
3891 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_LEFT_CONTROL_PRESSED; in InernalEfiShellStartMonitor()
3900 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_RIGHT_CONTROL_PRESSED; in InernalEfiShellStartMonitor()
3908 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_LEFT_CONTROL_PRESSED; in InernalEfiShellStartMonitor()
3917 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_RIGHT_CONTROL_PRESSED; in InernalEfiShellStartMonitor()
DConsoleLogger.c871 ((KeyData.KeyState.KeyShiftState == (EFI_SHIFT_STATE_VALID | EFI_LEFT_CONTROL_PRESSED)) || in ConsoleLoggerOutputString()
872 (KeyData.KeyState.KeyShiftState == (EFI_SHIFT_STATE_VALID | EFI_RIGHT_CONTROL_PRESSED)) in ConsoleLoggerOutputString()
DShell.c277 KeyData.KeyState.KeyToggleState = 0; in InternalEfiShellStartCtrlSMonitor()
279 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_LEFT_CONTROL_PRESSED; in InternalEfiShellStartCtrlSMonitor()
288 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_RIGHT_CONTROL_PRESSED; in InternalEfiShellStartCtrlSMonitor()
296 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_LEFT_CONTROL_PRESSED; in InternalEfiShellStartCtrlSMonitor()
306 KeyData.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID|EFI_RIGHT_CONTROL_PRESSED; in InternalEfiShellStartCtrlSMonitor()