]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/Include/Library/KeyMapLib.h
EmulatorPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / EmulatorPkg / Include / Library / KeyMapLib.h
1 /*++ @file
2
3 Copyright (c) 2011, Apple Inc. All rights reserved.
4 SPDX-License-Identifier: BSD-2-Clause-Patent
5
6 **/
7
8 #include <Protocol/SimpleTextInEx.h>
9
10
11 /**
12 KeyMapMake gets called on key presses.
13
14 @param KeyData Key that was pressed.
15
16 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
17
18 **/
19 EFI_STATUS
20 EFIAPI
21 KeyMapMake (
22 IN EFI_KEY_DATA *KeyData
23 );
24
25 /**
26 KeyMapBreak gets called on key releases.
27
28 @param KeyData Key that was pressed.
29
30 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
31
32 **/
33 EFI_STATUS
34 EFIAPI
35 KeyMapBreak (
36 IN EFI_KEY_DATA *KeyData
37 );