summaryrefslogtreecommitdiff
path: root/UnixPkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-16 02:56:43 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-16 02:56:43 +0000
commit1c3b10105aeb1240486b9fe4e49ec55c03d51519 (patch)
tree29ac1457a8f918925bce1bccd12bb5ad8f09c725 /UnixPkg
parent4c891546c860b4f98b1908af096979135a3dfd47 (diff)
downloadedk2-platforms-1c3b10105aeb1240486b9fe4e49ec55c03d51519.tar.xz
Return scan code for Pause key.
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
Diffstat (limited to 'UnixPkg')
-rw-r--r--UnixPkg/Sec/UgaX11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/UnixPkg/Sec/UgaX11.c b/UnixPkg/Sec/UgaX11.c
index 5250fb3c61..74775311e8 100644
--- a/UnixPkg/Sec/UgaX11.c
+++ b/UnixPkg/Sec/UgaX11.c
@@ -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;