10 simple pointer protocol, Efi_simple_pointer_protocol, Simple_pointer – Intel Extensible Firmware Interface User Manual

Page 340: Simple pointer, Protocol, Simple pointer protocol

Advertising
background image

Extensible Firmware Interface Specification

10-46

12/01/02

Version 1.10

10.10 Simple Pointer Protocol

This section defines the Simple Pointer Protocol and a detailed description of the

EFI_SIMPLE_POINTER_PROTOCOL

. The intent of this section is to specify a simple method

for accessing pointer devices. This would include devices such as mice and trackballs.

The

EFI_SIMPLE_POINTER_PROTOCOL

allows information about a pointer device to be

retrieved. This would include the status of buttons and the motion of the pointer device since the
last time it was accessed. This protocol is attached the device handle of a pointer device, and can
be used for input from the user in the preboot environment.

EFI_SIMPLE_POINTER_PROTOCOL

Summary

Provides services that allow information about a pointer device to be retrieved.

GUID

#define EFI_SIMPLE_POINTER_PROTOCOL_GUID \

{0x31878c87,0xb75,0x11d5,0x9a,0x4f,0x0,0x90,0x27,0x3f,0xc1,0x4d}

Protocol Interface Structure

typedef struct _EFI_SIMPLE_POINTER_PROTOCOL {

EFI_SIMPLE_POINTER_RESET

Reset;

EFI_SIMPLE_POINTER_GET_STATE

GetState;

EFI_EVENT

WaitForInput;

EFI_SIMPLE_INPUT_MODE

*Mode;

} EFI_SIMPLE_POINTER_PROTOCOL;

Parameters

Reset

Resets the pointer device. See the

Reset()

function

description.

GetState

Retrieves the current state of the pointer device. See the

GetState()

function description.

WaitForInput

Event to use with

WaitForEvent()

to wait for input from the

pointer device.

Mode

Pointer

to

EFI_SIMPLE_POINTER_MODE

data. The type

EFI_SIMPLE_POINTER_MODE

is defined in “Related

Definitions” below.

Advertising