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

Go to the source code of this file.

Macros

#define POINTER_POLL_DEFAULT   0
 
#define POINTER_POLL_ALL_MASK   (UINT32)(-1)
 

Functions

APPLE_EVENT_PROTOCOLOcAppleEventInstallProtocol (IN BOOLEAN Install, IN BOOLEAN Reinstall, IN BOOLEAN CustomDelays, IN UINT16 KeyInitialDelay, IN UINT16 KeySubsequentDelay, IN BOOLEAN GraphicsInputMirroring, IN UINT32 PointerPollMin, IN UINT32 PointerPollMax, IN UINT32 PointerPollMask, IN UINT16 PointerSpeedDiv, IN UINT16 PointerSpeedMul, IN UINT16 PointerDwellClickTimeout, IN UINT16 PointerDwellDoubleClickTimeout, IN UINT16 PointerDwellRadius)
 

Detailed Description

Copyright (C) 2019, 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 OcAppleEventLib.h.

Macro Definition Documentation

◆ POINTER_POLL_ALL_MASK

#define POINTER_POLL_ALL_MASK   (UINT32)(-1)

Definition at line 22 of file OcAppleEventLib.h.

◆ POINTER_POLL_DEFAULT

#define POINTER_POLL_DEFAULT   0

Definition at line 21 of file OcAppleEventLib.h.

Function Documentation

◆ OcAppleEventInstallProtocol()

APPLE_EVENT_PROTOCOL * OcAppleEventInstallProtocol ( IN BOOLEAN Install,
IN BOOLEAN Reinstall,
IN BOOLEAN CustomDelays,
IN UINT16 KeyInitialDelay,
IN UINT16 KeySubsequentDelay,
IN BOOLEAN GraphicsInputMirroring,
IN UINT32 PointerPollMin,
IN UINT32 PointerPollMax,
IN UINT32 PointerPollMask,
IN UINT16 PointerSpeedDiv,
IN UINT16 PointerSpeedMul,
IN UINT16 PointerDwellClickTimeout,
IN UINT16 PointerDwellDoubleClickTimeout,
IN UINT16 PointerDwellRadius )

Install and initialise Apple Event protocol.

Parameters
[in]InstallIf false, do not install even when no suitable OEM version found.
[in]ReinstallIf true, force overwrite installed protocol. If false, use Apple OEM protocol where possible.
[in]CustomDelaysIf true, use key delays specified. If false, use Apple OEM default key delay values. OC builtin AppleEvent only.
[in]KeyInitialDelayKey repeat initial delay in 10ms units.
[in]KeySubsequentDelayKey repeat subsequent delay in 10ms units. If zero, warn and use 1.
[in]GraphicsInputMirroringIf true, disable Apple default behaviour which can prevent keyboard input reaching non-Apple GUI UEFI apps. OC builtin AppleEvent only.
[in]PointerPollMinPointer polling minimal period in ms.
[in]PointerPollMaxPointer polling maximum period in ms.
[in]PointerPollMaskPointer polling mask to choose polled handles.
[in]PointerSpeedDivPointer speed divisor. If zero, warn and use 1.
[in]PointerSpeedMulPointer speed multiplier.
[in]PointerDwellClickTimeoutPointer dwell-clicking single left click timeout.
[in]PointerDwellDoubleClickTimeoutPointer dwell-clicking single left double click timeout.
[in]PointerDwellRadiusPointer dwell-clicking tolerance radius in pixels.
Return values
installedor located protocol or NULL.

Definition at line 556 of file OcAppleEventLib.c.