]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Return scan code for Pause key.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 16 May 2011 02:56:43 +0000 (02:56 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 16 May 2011 02:56:43 +0000 (02:56 +0000)
Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11659 6f19259b-4bc3-4df7-8a09-765794883524

UnixPkg/Sec/UgaX11.c

index 5250fb3c61d7f6ea7b5e203190b69a16b8ad321d..74775311e82e62369e2c3bd7ccb1f7d5bc098a43 100644 (file)
@@ -1,6 +1,6 @@
 /*++
 
-Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
 Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
 This program and the accompanying materials                          
 are licensed and made available under the terms and conditions of the BSD License         
@@ -349,6 +349,7 @@ handleKeyEvent(UGA_IO_PRIVATE *drv, XEvent *ev)
   case XK_Page_Up:    KeyData.Key.ScanCode = SCAN_PAGE_UP;    break;
   case XK_Page_Down:  KeyData.Key.ScanCode = SCAN_PAGE_DOWN;  break;
   case XK_Escape:     KeyData.Key.ScanCode = SCAN_ESC;        break;
+  case XK_Pause:      KeyData.Key.ScanCode = SCAN_PAUSE;      break;
 
   case XK_F1:   KeyData.Key.ScanCode = SCAN_F1;   break;
   case XK_F2:   KeyData.Key.ScanCode = SCAN_F2;   break;