From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- .../Library/KeyMapLibNull/KeyMapLibNull.c | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 roms/edk2/EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.c (limited to 'roms/edk2/EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.c') diff --git a/roms/edk2/EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.c b/roms/edk2/EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.c new file mode 100644 index 000000000..2e25fa5ac --- /dev/null +++ b/roms/edk2/EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.c @@ -0,0 +1,44 @@ +/*++ @file + +Copyright (c) 2011, Apple Inc. All rights reserved. +SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include +#include + + +/** + KeyMapMake gets called on key presses. + + @param KeyData Key that was pressed. + + @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. + +**/ +EFI_STATUS +EFIAPI +KeyMapMake ( + IN EFI_KEY_DATA *KeyData + ) +{ + return EFI_SUCCESS; +} + +/** + KeyMapBreak gets called on key releases. + + @param KeyData Key that was pressed. + + @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. + +**/ +EFI_STATUS +EFIAPI +KeyMapBreak ( + IN EFI_KEY_DATA *KeyData + ) +{ + return EFI_SUCCESS; +} -- cgit 1.2.3-korg