]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h
1. Add Partial Keystroke Support in UsbKb drivers. See the Uefi2.3.1a chapter 11.2
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbKbDxe / EfiKey.h
index 8a12d0fa3f43abffde817ffd8484c0f1885904cc..3ce383b33ebec2e084beabb7d650a0d73658f08b 100644 (file)
@@ -24,6 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Protocol/DevicePath.h>\r
 \r
 #include <Guid/HiiKeyBoardLayout.h>\r
+#include <Guid/UsbKeyBoardLayout.h>\r
 \r
 #include <Library/DebugLib.h>\r
 #include <Library/ReportStatusCodeLib.h>\r
@@ -129,7 +130,7 @@ typedef struct {
   EFI_EVENT                         RepeatTimer;\r
 \r
   EFI_UNICODE_STRING_TABLE          *ControllerNameTable;\r
-  \r
+\r
   BOOLEAN                           LeftCtrlOn;\r
   BOOLEAN                           LeftAltOn;\r
   BOOLEAN                           LeftShiftOn;\r
@@ -137,10 +138,14 @@ typedef struct {
   BOOLEAN                           RightCtrlOn;\r
   BOOLEAN                           RightAltOn;\r
   BOOLEAN                           RightShiftOn;\r
-  BOOLEAN                           RightLogoOn;  \r
+  BOOLEAN                           RightLogoOn;\r
   BOOLEAN                           MenuKeyOn;\r
   BOOLEAN                           SysReqOn;\r
   BOOLEAN                           AltGrOn;\r
+\r
+  BOOLEAN                         IsSupportPartialKey;\r
+\r
+  EFI_KEY_STATE                     KeyState;\r
   //\r
   // Notification function list\r
   //\r