beautypg.com

Efi_simple_pointer_mode, Data. t – Intel Extensible Firmware Interface User Manual

Page 341

background image

Protocols

— Console Support

Version 1.10

12/01/02

10-47

Related Definitions

//*******************************************************
// EFI_SIMPLE_POINTER_MODE
//*******************************************************
typedef struct {

UINT64 ResolutionX;

UINT64 ResolutionY;

UINT64 ResolutionZ;

BOOLEAN LeftButton;

BOOLEAN RightButton;

} EFI_SIMPLE_POINTER_MODE;

The following data values in the

EFI_SIMPLE_POINTER_MODE

interface are read-only and are

changed by using the appropriate interface functions:

ResolutionX

The resolution of the pointer device on the x-axis in counts/mm. If 0,
then the pointer device does not support an x-axis.

ResolutionY

The resolution of the pointer device on the y-axis in counts/mm. If 0,
then the pointer device does not support a y-axis.

ResolutionZ

The resolution of the pointer device on the z-axis in counts/mm. If 0,
then the pointer device does not support a z-axis.

LeftButton

TRUE

if a left button is present on the pointer device. Otherwise

FALSE

.

RightButton

TRUE

if a right button is present on the pointer device. Otherwise

FALSE

.

Description

The

EFI_SIMPLE_POINTER_PROTOCOL

provides a set of services for a pointer device that

can use used as an input device from an EFI application. The services include the ability to reset
the pointer device, retrieve get the state of the pointer device, and retrieve the capabilities of the
pointer device.