]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Include/Library/KeyMapLib.h
InOsEmuPkg: Rename package to EmulatorPkg & Sec to Host
[mirror_edk2.git] / EmulatorPkg / Include / Library / KeyMapLib.h
diff --git a/EmulatorPkg/Include/Library/KeyMapLib.h b/EmulatorPkg/Include/Library/KeyMapLib.h
new file mode 100644 (file)
index 0000000..7bd29a7
--- /dev/null
@@ -0,0 +1,43 @@
+/*++ @file\r
+\r
+Copyright (c) 2011, Apple Inc. All rights reserved. \r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#include <Protocol/SimpleTextInEx.h>\r
+\r
+\r
+/**\r
+  KeyMapMake gets called on key presses.\r
+\r
+  @param  KeyData       Key that was pressed.\r
+\r
+  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+KeyMapMake (\r
+  IN EFI_KEY_DATA   *KeyData\r
+  );\r
+\r
+/**\r
+  KeyMapBreak gets called on key releases.\r
+\r
+  @param  KeyData       Key that was pressed.\r
+\r
+  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+KeyMapBreak (\r
+  IN EFI_KEY_DATA   *KeyData\r
+  );\r