]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/Include/Library/KeyMapLib.h
45dbfa4f18ee97c97eb58df763eab46e123a60cf
[mirror_edk2.git] / EmulatorPkg / Include / Library / KeyMapLib.h
1 /*++ @file
2
3 Copyright (c) 2011, Apple Inc. All rights reserved.
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 **/
13
14 #include <Protocol/SimpleTextInEx.h>
15
16
17 /**
18 KeyMapMake gets called on key presses.
19
20 @param KeyData Key that was pressed.
21
22 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
23
24 **/
25 EFI_STATUS
26 EFIAPI
27 KeyMapMake (
28 IN EFI_KEY_DATA *KeyData
29 );
30
31 /**
32 KeyMapBreak gets called on key releases.
33
34 @param KeyData Key that was pressed.
35
36 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
37
38 **/
39 EFI_STATUS
40 EFIAPI
41 KeyMapBreak (
42 IN EFI_KEY_DATA *KeyData
43 );