From 1c3b10105aeb1240486b9fe4e49ec55c03d51519 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 16 May 2011 02:56:43 +0000 Subject: 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 --- UnixPkg/Sec/UgaX11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.
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; -- cgit v1.2.3