OpenCore
1.0.4
OpenCore Bootloader
|
#include <Uefi.h>
#include <Protocol/AppleEvent.h>
#include <Protocol/AbsolutePointer.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/DebugLib.h>
#include <Library/AppleEventLib.h>
#include <Library/OcCpuLib.h>
#include <Library/OcMiscLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
#include "../OpenCanopy.h"
#include "../GuiIo.h"
Go to the source code of this file.
Data Structures | |
struct | GUI_POINTER_CONTEXT_ |
Macros | |
#define | ABS_DOUBLE_CLICK_RADIUS 25U |
#define | IS_POWER_2(x) |
#define | POINTER_SCALE 1U |
Enumerations | |
enum | { PointerUnlocked , PointerLockedSimple , PointerLockedAbsolute } |
Functions | |
STATIC VOID | InternalQueuePointerEvent (IN OUT GUI_POINTER_CONTEXT *Context, IN UINT8 Type, IN UINT32 X, IN UINT32 Y) |
BOOLEAN | GuiPointerGetEvent (IN OUT GUI_POINTER_CONTEXT *Context, OUT GUI_PTR_EVENT *Event) |
STATIC VOID EFIAPI | InternalAppleEventNotification (IN APPLE_EVENT_INFORMATION *Information, IN VOID *NotifyContext) |
STATIC VOID EFIAPI | InternalUpdateContextAbsolute (IN EFI_EVENT Event, IN OUT VOID *NotifyContext) |
VOID | GuiPointerReset (IN OUT GUI_POINTER_CONTEXT *Context) |
VOID | GuiPointerGetPosition (IN OUT GUI_POINTER_CONTEXT *Context, OUT GUI_PTR_POSITION *Position) |
VOID | GuiPointerSetPosition (IN OUT GUI_POINTER_CONTEXT *Context, IN CONST GUI_PTR_POSITION *Position) |
GUI_POINTER_CONTEXT * | GuiPointerConstruct (IN UINT32 DefaultX, IN UINT32 DefaultY, IN UINT32 Width, IN UINT32 Height, IN UINT8 UiScale) |
VOID | GuiPointerDestruct (IN GUI_POINTER_CONTEXT *Context) |
This file is part of OpenCanopy, OpenCore GUI.
Copyright (c) 2018-2019, Download-Fritz. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
Definition in file InputSimAbsPtr.c.
#define ABS_DOUBLE_CLICK_RADIUS 25U |
Definition at line 26 of file InputSimAbsPtr.c.
#define IS_POWER_2 | ( | x | ) |
Definition at line 27 of file InputSimAbsPtr.c.
#define POINTER_SCALE 1U |
Definition at line 29 of file InputSimAbsPtr.c.
anonymous enum |
Enumerator | |
---|---|
PointerUnlocked | |
PointerLockedSimple | |
PointerLockedAbsolute |
Definition at line 50 of file InputSimAbsPtr.c.
GUI_POINTER_CONTEXT * GuiPointerConstruct | ( | IN UINT32 | DefaultX, |
IN UINT32 | DefaultY, | ||
IN UINT32 | Width, | ||
IN UINT32 | Height, | ||
IN UINT8 | UiScale ) |
Definition at line 337 of file InputSimAbsPtr.c.
VOID GuiPointerDestruct | ( | IN GUI_POINTER_CONTEXT * | Context | ) |
Definition at line 424 of file InputSimAbsPtr.c.
BOOLEAN GuiPointerGetEvent | ( | IN OUT GUI_POINTER_CONTEXT * | Context, |
OUT GUI_PTR_EVENT * | Event ) |
Definition at line 84 of file InputSimAbsPtr.c.
VOID GuiPointerGetPosition | ( | IN OUT GUI_POINTER_CONTEXT * | Context, |
OUT GUI_PTR_POSITION * | Position ) |
Definition at line 281 of file InputSimAbsPtr.c.
VOID GuiPointerReset | ( | IN OUT GUI_POINTER_CONTEXT * | Context | ) |
Definition at line 268 of file InputSimAbsPtr.c.
VOID GuiPointerSetPosition | ( | IN OUT GUI_POINTER_CONTEXT * | Context, |
IN CONST GUI_PTR_POSITION * | Position ) |
Definition at line 309 of file InputSimAbsPtr.c.
STATIC VOID EFIAPI InternalAppleEventNotification | ( | IN APPLE_EVENT_INFORMATION * | Information, |
IN VOID * | NotifyContext ) |
Definition at line 116 of file InputSimAbsPtr.c.
STATIC VOID InternalQueuePointerEvent | ( | IN OUT GUI_POINTER_CONTEXT * | Context, |
IN UINT8 | Type, | ||
IN UINT32 | X, | ||
IN UINT32 | Y ) |
Definition at line 58 of file InputSimAbsPtr.c.
STATIC VOID EFIAPI InternalUpdateContextAbsolute | ( | IN EFI_EVENT | Event, |
IN OUT VOID * | NotifyContext ) |
Definition at line 174 of file InputSimAbsPtr.c.