Home
last modified time | relevance | path

Searched refs:ScanCode (Results 1 – 25 of 58) sorted by relevance

123

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DTerminalConIn.c172 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in IsKeyRegistered()
848 Output->ScanCode = SCAN_NULL; in EfiKeyFiFoRemoveOneKey()
1067 Key.ScanCode = SCAN_ESC; in UnicodeToEfiKeyFlushState()
1073 Key.ScanCode = SCAN_NULL; in UnicodeToEfiKeyFlushState()
1079 Key.ScanCode = SCAN_NULL; in UnicodeToEfiKeyFlushState()
1085 Key.ScanCode = SCAN_NULL; in UnicodeToEfiKeyFlushState()
1091 Key.ScanCode = SCAN_NULL; in UnicodeToEfiKeyFlushState()
1234 Key.ScanCode = SCAN_NULL; in UnicodeToEfiKey()
1240 Key.ScanCode = SCAN_F1; in UnicodeToEfiKey()
1243 Key.ScanCode = SCAN_F2; in UnicodeToEfiKey()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/SimpleTextInOutSerial/
DSimpleTextInOut.c313 Key->ScanCode = SCAN_NULL; in ReadKeyStroke()
320 Key->ScanCode = SCAN_UP; in ReadKeyStroke()
323 Key->ScanCode = SCAN_DOWN; in ReadKeyStroke()
326 Key->ScanCode = SCAN_RIGHT; in ReadKeyStroke()
329 Key->ScanCode = SCAN_LEFT; in ReadKeyStroke()
332 Key->ScanCode = SCAN_HOME; in ReadKeyStroke()
336 Key->ScanCode = SCAN_END; in ReadKeyStroke()
340 Key->ScanCode = SCAN_INSERT; in ReadKeyStroke()
344 Key->ScanCode = SCAN_DELETE; in ReadKeyStroke()
349 Key->ScanCode = SCAN_PAGE_DOWN; in ReadKeyStroke()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/
DWinNtGopScreen.c147 case VK_HOME: Key->ScanCode = SCAN_HOME; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
148 case VK_END: Key->ScanCode = SCAN_END; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
149 case VK_LEFT: Key->ScanCode = SCAN_LEFT; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
150 case VK_RIGHT: Key->ScanCode = SCAN_RIGHT; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
151 case VK_UP: Key->ScanCode = SCAN_UP; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
152 case VK_DOWN: Key->ScanCode = SCAN_DOWN; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
153 case VK_DELETE: Key->ScanCode = SCAN_DELETE; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
154 case VK_INSERT: Key->ScanCode = SCAN_INSERT; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
155 case VK_PRIOR: Key->ScanCode = SCAN_PAGE_UP; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
156 case VK_NEXT: Key->ScanCode = SCAN_PAGE_DOWN; Flag = TRUE; break; in WinNtGopConvertParamToEfiKey()
[all …]
DWinNtGopInput.c136 if (Key->Key.ScanCode == SCAN_NULL && Key->Key.UnicodeChar == CHAR_NULL) { in GopPrivateDeleteQ()
196 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in GopPrivateIsKeyRegistered()
518 if (KeyData->Key.ScanCode == SCAN_NULL && KeyData->Key.UnicodeChar == CHAR_NULL) { in GopPrivateReadKeyStrokeWorker()
595 if (KeyData.Key.ScanCode == SCAN_NULL && KeyData.Key.UnicodeChar == CHAR_NULL) { in WinNtGopSimpleTextInReadKeyStroke()
659 if (Private->QueueForRead.Q[Private->QueueForRead.Front].Key.ScanCode == SCAN_NULL && in WinNtGopSimpleTextInWaitForKey()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DX11GraphicsWindow.c259 KeyData.Key.ScanCode = 0; in handleKeyEvent()
331 case XK_Home: KeyData.Key.ScanCode = SCAN_HOME; break; in handleKeyEvent()
334 case XK_End: KeyData.Key.ScanCode = SCAN_END; break; in handleKeyEvent()
337 case XK_Left: KeyData.Key.ScanCode = SCAN_LEFT; break; in handleKeyEvent()
340 case XK_Right: KeyData.Key.ScanCode = SCAN_RIGHT; break; in handleKeyEvent()
343 case XK_Up: KeyData.Key.ScanCode = SCAN_UP; break; in handleKeyEvent()
346 case XK_Down: KeyData.Key.ScanCode = SCAN_DOWN; break; in handleKeyEvent()
349 case XK_Delete: KeyData.Key.ScanCode = SCAN_DELETE; break; in handleKeyEvent()
352 case XK_Insert: KeyData.Key.ScanCode = SCAN_INSERT; break; in handleKeyEvent()
355 case XK_Page_Up: KeyData.Key.ScanCode = SCAN_PAGE_UP; break; in handleKeyEvent()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/
DPs2KbdCtrller.c18 UINT8 ScanCode; ///< follows value defined in Scan Code Set1 member
1157 UINT16 ScanCode; in KeyGetchar() local
1213 ScanCode = ScancodeArr[ScancodeArrPos]; in KeyGetchar()
1219 switch (ScanCode) { in KeyGetchar()
1335 if (ScanCode >= SCANCODE_MAX_MAKE) { in KeyGetchar()
1347 ScanCode == SCANCODE_DELETE_MAKE in KeyGetchar()
1374 KeyData.Key.ScanCode = SCAN_NULL; in KeyGetchar()
1380 if (Extend0 && ScanCode == 0x35) { in KeyGetchar()
1382 KeyData.Key.ScanCode = SCAN_NULL; in KeyGetchar()
1387 } else if (Extend1 && ScanCode == SCANCODE_NUM_LOCK_MAKE) { in KeyGetchar()
[all …]
DPs2KbdTextIn.c106 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in IsKeyRegistered()
288 if (KeyData.Key.ScanCode == SCAN_NULL && KeyData.Key.UnicodeChar == CHAR_NULL) { in KeyboardReadKeyStroke()
349 if (KeyData.Key.ScanCode == SCAN_NULL && KeyData.Key.UnicodeChar == CHAR_NULL) { in KeyboardWaitForKey()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
DPlatformSetupDxe.c393 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
410 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
429 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
441 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
446 if (Key.ScanCode == SCAN_ESC) { in SystemConfigCallback()
518 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
585 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
605 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
679 } while ((Key.ScanCode != SCAN_ESC) && (Key.UnicodeChar != CHAR_CARRIAGE_RETURN)); in SystemConfigCallback()
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DMain.c417 } else if ((Char == '\b') || (Key.ScanCode == SCAN_LEFT) || (Key.ScanCode == SCAN_DELETE)){ in GetCmd()
425 } else if ((Key.ScanCode == SCAN_UP) || Key.ScanCode == SCAN_DOWN) { in GetCmd()
426 History = GetCmdHistory (Key.ScanCode); in GetCmd()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/
DDxeTrEEPhysicalPresenceLib.c180 if (Key.ScanCode == SCAN_ESC) { in TrEEReadUserKey()
181 InputKey = Key.ScanCode; in TrEEReadUserKey()
183 if ((Key.ScanCode == SCAN_F10) && !CautionKey) { in TrEEReadUserKey()
184 InputKey = Key.ScanCode; in TrEEReadUserKey()
186 if ((Key.ScanCode == SCAN_F12) && CautionKey) { in TrEEReadUserKey()
187 InputKey = Key.ScanCode; in TrEEReadUserKey()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/
DBdsHelper.c47 if (Key.ScanCode == SCAN_NULL) { in EditHIInputStr()
59 …} else if ((Key.UnicodeChar == L'\b') || (Key.ScanCode == SCAN_LEFT) || (Key.ScanCode == SCAN_DELE… in EditHIInputStr()
64 } else if ((Key.ScanCode == SCAN_ESC) || (Char == 0x1B) || (Char == 0x0)) { in EditHIInputStr()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/
DBiosKeyboard.c1470 UINT16 ScanCode; member
1629 IN UINT16 ScanCode in ConvertToEFIScanCode() argument
1641 …mConvertTable) / sizeof (CONVERT_TABLE_ENTRY)) && (mConvertTable[Index].ScanCode != TABLE_END); In… in ConvertToEFIScanCode()
1642 if (ScanCode == mConvertTable[Index].ScanCode) { in ConvertToEFIScanCode()
1780 KeyData.Key.ScanCode = (UINT16) Regs.H.AH; in BiosKeyboardTimerHandler()
1785 KeyData.Key.ScanCode, in BiosKeyboardTimerHandler()
1903 KeyData.Key.ScanCode = ConvertToEFIScanCode (KeyData.Key.UnicodeChar, KeyData.Key.ScanCode); in BiosKeyboardTimerHandler()
1906 KeyData.Key.ScanCode = SCAN_NULL; in BiosKeyboardTimerHandler()
1927 KeyData.Key.ScanCode, in BiosKeyboardTimerHandler()
2020 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in IsKeyRegistered()
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcBoot.c201 if (InputKey.ScanCode == 0) { in PxeBcSelectBootPrompt()
221 switch (InputKey.ScanCode) { in PxeBcSelectBootPrompt()
367 if (InputKey.ScanCode == 0) { in PxeBcSelectBootMenu()
370 InputKey.ScanCode = SCAN_ESC; in PxeBcSelectBootMenu()
382 InputKey.ScanCode = SCAN_DOWN; in PxeBcSelectBootMenu()
388 InputKey.ScanCode = SCAN_UP; in PxeBcSelectBootMenu()
392 InputKey.ScanCode = 0; in PxeBcSelectBootMenu()
396 switch (InputKey.ScanCode) { in PxeBcSelectBootMenu()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DHotkey.c163 if ((KeyData->Key.ScanCode == HotkeyData->Key.ScanCode) && in HotkeyCallback()
370 KeyData->Key.ScanCode = InputKey[Index].ScanCode; in HotkeyInsertList()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleTextIn/
DSimpleTextIn.h39 UINT16 ScanCode; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DSimpleTextIn.h42 UINT16 ScanCode; member
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c232 Enter.ScanCode = SCAN_NULL; in PlatformBootManagerBeforeConsole()
239 F2.ScanCode = SCAN_F2; in PlatformBootManagerBeforeConsole()
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c207 Enter.ScanCode = SCAN_NULL; in PlatformBootManagerBeforeConsole()
213 F2.ScanCode = SCAN_F2; in PlatformBootManagerBeforeConsole()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/
DInputHandler.c175 switch (Key.ScanCode) { in ReadString()
741 Key.ScanCode = gDirection; in GetNumericInput()
766 Key.ScanCode = SCAN_RIGHT; in GetNumericInput()
768 Key.ScanCode = SCAN_LEFT; in GetNumericInput()
776 switch (Key.ScanCode) { in GetNumericInput()
790 if (Key.ScanCode == SCAN_LEFT) { in GetNumericInput()
808 } else if (Key.ScanCode == SCAN_RIGHT) { in GetNumericInput()
1490 Key.ScanCode = gDirection; in GetSelectionInputPopUp()
1551 switch (Key.ScanCode) { in GetSelectionInputPopUp()
1554 if (Key.ScanCode == SCAN_UP) { in GetSelectionInputPopUp()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/
DdaConsole.c263 Key.ScanCode = SCAN_NULL; in da_ConRawRead()
269 if (Key.ScanCode != 0) { in da_ConRawRead()
270 if (Key.ScanCode == SCAN_ESC) { in da_ConRawRead()
280 RetChar = TtyFunKeyMax - Key.ScanCode; in da_ConRawRead()
/device/linaro/bootloader/edk2/EmulatorPkg/EmuGopDxe/
DGopInput.c43 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in GopPrivateIsKeyRegistered()
193 if ((KeyData.Key.ScanCode == 0) && (KeyData.Key.UnicodeChar == 0)) { in EmuGopSimpleTextInReadKeyStroke()
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/
DUserProfileAdd.c55 if (Key.ScanCode == SCAN_NULL) { in GetUserNameInput()
88 if (Key.ScanCode == SCAN_ESC) { in GetUserNameInput()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/
DEfiKey.c705 if (KeyData.Key.ScanCode == CHAR_NULL && KeyData.Key.UnicodeChar == SCAN_NULL) { in USBKeyboardReadKeyStroke()
767 if (KeyData.Key.ScanCode == SCAN_NULL && KeyData.Key.UnicodeChar == CHAR_NULL) { in USBKeyboardWaitForKey()
871 if ((RegsiteredData->Key.ScanCode != InputData->Key.ScanCode) || in IsKeyRegistered()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/
DDxeTcg2PhysicalPresenceLib.c382 if (Key.ScanCode == SCAN_ESC) { in Tcg2ReadUserKey()
383 InputKey = Key.ScanCode; in Tcg2ReadUserKey()
385 if ((Key.ScanCode == SCAN_F10) && !CautionKey) { in Tcg2ReadUserKey()
386 InputKey = Key.ScanCode; in Tcg2ReadUserKey()
388 if ((Key.ScanCode == SCAN_F12) && CautionKey) { in Tcg2ReadUserKey()
389 InputKey = Key.ScanCode; in Tcg2ReadUserKey()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c1705 if (InputKey.ScanCode == 0) { in PxeBcSelectBootPrompt()
1723 switch (InputKey.ScanCode) { in PxeBcSelectBootPrompt()
1859 if (InputKey.ScanCode != 0) { in PxeBcSelectBootMenu()
1862 InputKey.ScanCode = SCAN_ESC; in PxeBcSelectBootMenu()
1874 InputKey.ScanCode = SCAN_DOWN; in PxeBcSelectBootMenu()
1880 InputKey.ScanCode = SCAN_UP; in PxeBcSelectBootMenu()
1884 InputKey.ScanCode = 0; in PxeBcSelectBootMenu()
1888 switch (InputKey.ScanCode) { in PxeBcSelectBootMenu()

123