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

Go to the source code of this file.

Enumerations

enum  OC_INPUT_POINTER_MODE { OcInputPointerModeAsus , OcInputPointerModeMax }
 
enum  OC_INPUT_KEY_MODE {
  OcInputKeyModeAuto , OcInputKeyModeV1 , OcInputKeyModeV2 , OcInputKeyModeAmi ,
  OcInputKeyModeMax
}
 

Functions

EFI_STATUS OcAppleGenericInputTimerQuirkInit (IN UINT32 TimerResolution)
 
EFI_STATUS OcAppleGenericInputTimerQuirkExit (VOID)
 
EFI_STATUS OcAppleGenericInputPointerInit (IN OC_INPUT_POINTER_MODE Mode)
 
EFI_STATUS OcAppleGenericInputPointerExit (VOID)
 
EFI_STATUS OcAppleGenericInputKeycodeInit (IN OC_INPUT_KEY_MODE Mode, IN UINT8 KeyForgotThreshold, IN BOOLEAN KeySwap, IN BOOLEAN KeyFiltering)
 
EFI_STATUS OcAppleGenericInputKeycodeExit (VOID)
 

Detailed Description

OC Apple generic input library.

Copyright (c) 2019, vit9696. 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 OcInputLib.h.

Enumeration Type Documentation

◆ OC_INPUT_KEY_MODE

Enumerator
OcInputKeyModeAuto 
OcInputKeyModeV1 
OcInputKeyModeV2 
OcInputKeyModeAmi 
OcInputKeyModeMax 

Definition at line 23 of file OcInputLib.h.

◆ OC_INPUT_POINTER_MODE

Enumerator
OcInputPointerModeAsus 
OcInputPointerModeMax 

Definition at line 18 of file OcInputLib.h.

Function Documentation

◆ OcAppleGenericInputKeycodeExit()

EFI_STATUS OcAppleGenericInputKeycodeExit ( VOID )

Definition at line 283 of file AIK.c.

◆ OcAppleGenericInputKeycodeInit()

EFI_STATUS OcAppleGenericInputKeycodeInit ( IN OC_INPUT_KEY_MODE Mode,
IN UINT8 KeyForgotThreshold,
IN BOOLEAN KeySwap,
IN BOOLEAN KeyFiltering )

Definition at line 246 of file AIK.c.

◆ OcAppleGenericInputPointerExit()

EFI_STATUS OcAppleGenericInputPointerExit ( VOID )

Definition at line 596 of file AIM.c.

◆ OcAppleGenericInputPointerInit()

EFI_STATUS OcAppleGenericInputPointerInit ( IN OC_INPUT_POINTER_MODE Mode)

Definition at line 564 of file AIM.c.

◆ OcAppleGenericInputTimerQuirkExit()

EFI_STATUS OcAppleGenericInputTimerQuirkExit ( VOID )

Definition at line 73 of file AIT.c.

◆ OcAppleGenericInputTimerQuirkInit()

EFI_STATUS OcAppleGenericInputTimerQuirkInit ( IN UINT32 TimerResolution)

Definition at line 26 of file AIT.c.