OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleKeyMapAggregator.h File Reference

Go to the source code of this file.

Data Structures

struct  APPLE_KEY_MAP_AGGREGATOR_PROTOCOL
 

Macros

#define APPLE_KEY_MAP_AGGREGATOR_PROTOCOL_REVISION   0x00010000
 
#define APPLE_KEY_MAP_AGGREGATOR_PROTOCOL_GUID
 

Typedefs

typedef struct APPLE_KEY_MAP_AGGREGATOR_PROTOCOL APPLE_KEY_MAP_AGGREGATOR_PROTOCOL
 
typedef EFI_STATUS(EFIAPI * KEY_MAP_GET_KEY_STROKES) (IN APPLE_KEY_MAP_AGGREGATOR_PROTOCOL *This, OUT APPLE_MODIFIER_MAP *Modifiers, IN OUT UINTN *NumberOfKeyCodes, OUT APPLE_KEY_CODE *KeyCodes OPTIONAL)
 
typedef EFI_STATUS(EFIAPI * KEY_MAP_CONTAINS_KEY_STROKES) (IN APPLE_KEY_MAP_AGGREGATOR_PROTOCOL *This, IN APPLE_MODIFIER_MAP Modifiers, IN UINTN NumberOfKeyCodes, IN OUT APPLE_KEY_CODE *KeyCodes, IN BOOLEAN ExactMatch)
 

Variables

EFI_GUID gAppleKeyMapAggregatorProtocolGuid
 

Detailed Description

Copyright (C) 2014 - 2016, Download-Fritz. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file AppleKeyMapAggregator.h.

Macro Definition Documentation

◆ APPLE_KEY_MAP_AGGREGATOR_PROTOCOL_GUID

#define APPLE_KEY_MAP_AGGREGATOR_PROTOCOL_GUID
Value:
{ 0x5B213447, 0x6E73, 0x4901, \
{ 0xA4, 0xF1, 0xB8, 0x64, 0xF3, 0xB7, 0xA1, 0x72 } }

Definition at line 22 of file AppleKeyMapAggregator.h.

◆ APPLE_KEY_MAP_AGGREGATOR_PROTOCOL_REVISION

#define APPLE_KEY_MAP_AGGREGATOR_PROTOCOL_REVISION   0x00010000

Definition at line 19 of file AppleKeyMapAggregator.h.

Typedef Documentation

◆ APPLE_KEY_MAP_AGGREGATOR_PROTOCOL

typedef struct APPLE_KEY_MAP_AGGREGATOR_PROTOCOL APPLE_KEY_MAP_AGGREGATOR_PROTOCOL

Definition at line 28 of file AppleKeyMapAggregator.h.

◆ KEY_MAP_CONTAINS_KEY_STROKES

typedef EFI_STATUS(EFIAPI * KEY_MAP_CONTAINS_KEY_STROKES) (IN APPLE_KEY_MAP_AGGREGATOR_PROTOCOL *This, IN APPLE_MODIFIER_MAP Modifiers, IN UINTN NumberOfKeyCodes, IN OUT APPLE_KEY_CODE *KeyCodes, IN BOOLEAN ExactMatch)

Returns whether or not a list of keys and their modifiers are part of the database of pressed keys.

Parameters
[in]ThisProtocol instance pointer.
[in]ModifiersThe modifiers manipulating the given keys.
[in]NumberOfKeyCodesThe number of keys present in KeyCodes.
[in,out]KeyCodesThe list of keys to check for. The children may be sorted in the process.
[in]ExactMatchSpecifies whether Modifiers and KeyCodes should be exact matches or just contained.
Return values
EFI_SUCCESSThe queried keys are part of the database.
EFI_NOT_FOUNDThe queried keys could not be found.

Definition at line 77 of file AppleKeyMapAggregator.h.

◆ KEY_MAP_GET_KEY_STROKES

typedef EFI_STATUS(EFIAPI * KEY_MAP_GET_KEY_STROKES) (IN APPLE_KEY_MAP_AGGREGATOR_PROTOCOL *This, OUT APPLE_MODIFIER_MAP *Modifiers, IN OUT UINTN *NumberOfKeyCodes, OUT APPLE_KEY_CODE *KeyCodes OPTIONAL)

Returns all pressed keys and key modifiers into the appropiate buffers.

Parameters
[in]ThisA pointer to the protocol instance.
[out]ModifiersThe modifiers manipulating the given keys.
[in,out]NumberOfKeyCodesOn input the number of keys allocated. On output the number of keys returned into KeyCodes.
[out]KeyCodesA Pointer to a caller-allocated buffer in which the pressed keys get returned.
Return values
EFI_SUCCESSThe pressed keys have been returned into KeyCodes.
EFI_BUFFER_TOO_SMALLThe memory required to return the value exceeds the size of the allocated Buffer. The required number of keys to allocate to complete the operation has been returned into NumberOfKeyCodes.
otherAn error returned by a sub-operation.

Definition at line 52 of file AppleKeyMapAggregator.h.

Variable Documentation

◆ gAppleKeyMapAggregatorProtocolGuid

EFI_GUID gAppleKeyMapAggregatorProtocolGuid
extern

Definition at line 14 of file UserGlobalVar.c.