3 Copyright (c) 2004, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Simple Pointer protocol from the EFI 1.1 specification.
20 Abstraction of a very simple pointer device like a mice or tracekballs.
24 #ifndef _SIMPLE_POINTER_H_
25 #define _SIMPLE_POINTER_H_
27 #define EFI_SIMPLE_POINTER_PROTOCOL_GUID \
29 0x31878c87, 0xb75, 0x11d5, 0x9a, 0x4f, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d \
32 EFI_FORWARD_DECLARATION (EFI_SIMPLE_POINTER_PROTOCOL
);
38 INT32 RelativeMovementX
;
39 INT32 RelativeMovementY
;
40 INT32 RelativeMovementZ
;
43 } EFI_SIMPLE_POINTER_STATE
;
51 } EFI_SIMPLE_POINTER_MODE
;
55 (EFIAPI
*EFI_SIMPLE_POINTER_RESET
) (
56 IN EFI_SIMPLE_POINTER_PROTOCOL
* This
,
57 IN BOOLEAN ExtendedVerification
62 (EFIAPI
*EFI_SIMPLE_POINTER_GET_STATE
) (
63 IN EFI_SIMPLE_POINTER_PROTOCOL
* This
,
64 IN OUT EFI_SIMPLE_POINTER_STATE
* State
67 struct _EFI_SIMPLE_POINTER_PROTOCOL
{
68 EFI_SIMPLE_POINTER_RESET Reset
;
69 EFI_SIMPLE_POINTER_GET_STATE GetState
;
70 EFI_EVENT WaitForInput
;
71 EFI_SIMPLE_POINTER_MODE
*Mode
;
74 extern EFI_GUID gEfiSimplePointerProtocolGuid
;