]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
Change the SimpleTextInEx implementation to return CTRL+C when CTRL and C are both...
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / Ps2KeyboardDxe / Ps2KbdCtrller.c
index e8f474a3268b43f4c36f5c51cd0da77f5909bc0f..4ad80c17c12928aec6a3a9a70acbc53a7f0da8c3 100644 (file)
@@ -1470,17 +1470,6 @@ KeyGetchar (
     }\r
   }\r
 \r
-  //\r
-  // Translate the CTRL-Alpha characters to their corresponding control value (ctrl-a = 0x0001 through ctrl-Z = 0x001A)\r
-  //\r
-  if (ConsoleIn->LeftCtrl || ConsoleIn->RightCtrl) {\r
-    if (KeyData.Key.UnicodeChar >= L'a' && KeyData.Key.UnicodeChar <= L'z') {\r
-      KeyData.Key.UnicodeChar = (UINT16) (KeyData.Key.UnicodeChar - L'a' + 1);\r
-    } else if (KeyData.Key.UnicodeChar >= L'A' && KeyData.Key.UnicodeChar <= L'Z') {\r
-      KeyData.Key.UnicodeChar = (UINT16) (KeyData.Key.UnicodeChar - L'A' + 1);\r
-    }\r
-  }\r
-\r
   PushEfikeyBufTail (&ConsoleIn->EfiKeyQueue, &KeyData);\r
 }\r
 \r