]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Win/Host/WinGop.h
WinHost: Add SimplePointer support
[mirror_edk2.git] / EmulatorPkg / Win / Host / WinGop.h
index 7843b60b91a9e0ccebc2f8b246d634d5ea398d4d..5943ca93b22f5a0fbdbdf009f2fdbfc5a2775f8d 100644 (file)
@@ -1,13 +1,7 @@
 /** @file\r
 \r
 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 Module Name:\r
 \r
@@ -28,6 +22,7 @@ Abstract:
 \r
 #include <Protocol/EmuIoThunk.h>\r
 #include <Protocol/EmuGraphicsWindow.h>\r
+#include <Protocol/SimplePointer.h>\r
 #include <Protocol/SimpleTextIn.h>\r
 #include <Protocol/SimpleTextInEx.h>\r
 #include <Protocol/GraphicsOutput.h>\r
@@ -115,6 +110,10 @@ typedef struct {
   BOOLEAN                           ScrollLock;\r
   BOOLEAN                           CapsLock;\r
   BOOLEAN                           IsPartialKeySupport;\r
+  INT32                             PointerPreviousX;\r
+  INT32                             PointerPreviousY;\r
+  BOOLEAN                           PointerStateChanged;\r
+  EFI_SIMPLE_POINTER_STATE          PointerState;\r
 } GRAPHICS_PRIVATE_DATA;\r
 #define GRAPHICS_PRIVATE_DATA_SIGNATURE  SIGNATURE_32 ('g', 'f', 'x', 'd')\r
 #define GRAPHICS_PRIVATE_DATA_FROM_THIS(a)  \\r