OpenCore
1.0.4
OpenCore Bootloader
|
#include <IndustryStandard/AppleHid.h>
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 |
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.
#define APPLE_KEY_MAP_AGGREGATOR_PROTOCOL_GUID |
Definition at line 22 of file AppleKeyMapAggregator.h.
#define APPLE_KEY_MAP_AGGREGATOR_PROTOCOL_REVISION 0x00010000 |
Definition at line 19 of file AppleKeyMapAggregator.h.
typedef struct APPLE_KEY_MAP_AGGREGATOR_PROTOCOL APPLE_KEY_MAP_AGGREGATOR_PROTOCOL |
Definition at line 28 of file AppleKeyMapAggregator.h.
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.
[in] | This | Protocol instance pointer. |
[in] | Modifiers | The modifiers manipulating the given keys. |
[in] | NumberOfKeyCodes | The number of keys present in KeyCodes. |
[in,out] | KeyCodes | The list of keys to check for. The children may be sorted in the process. |
[in] | ExactMatch | Specifies whether Modifiers and KeyCodes should be exact matches or just contained. |
EFI_SUCCESS | The queried keys are part of the database. |
EFI_NOT_FOUND | The queried keys could not be found. |
Definition at line 77 of file AppleKeyMapAggregator.h.
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.
[in] | This | A pointer to the protocol instance. |
[out] | Modifiers | The modifiers manipulating the given keys. |
[in,out] | NumberOfKeyCodes | On input the number of keys allocated. On output the number of keys returned into KeyCodes. |
[out] | KeyCodes | A Pointer to a caller-allocated buffer in which the pressed keys get returned. |
EFI_SUCCESS | The pressed keys have been returned into KeyCodes. |
EFI_BUFFER_TOO_SMALL | The 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. |
other | An error returned by a sub-operation. |
Definition at line 52 of file AppleKeyMapAggregator.h.
|
extern |
Definition at line 14 of file UserGlobalVar.c.