Revision: 14209
          http://edk2.svn.sourceforge.net/edk2/?rev=14209&view=rev
Author:   niruiyu
Date:     2013-03-15 06:48:43 +0000 (Fri, 15 Mar 2013)
Log Message:
-----------
Add the backslash to C12 mapping in keyboard layout mapping table to fix the 
issue that backslash doesn't work when using HP KU-0316 USB key board.

Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Ting Ye <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c
    trunk/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h

Modified: trunk/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c
===================================================================
--- trunk/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c 2013-03-15 02:53:56 UTC 
(rev 14208)
+++ trunk/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c 2013-03-15 06:48:43 UTC 
(rev 14209)
@@ -1,7 +1,7 @@
 /** @file
   Helper functions for USB Keyboard Driver.
 
-Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD 
License
 which accompanies this distribution.  The full text of the license may be 
found at
@@ -79,6 +79,7 @@
     {EfiKeyD11,        '[',      '{',  0, 0,  EFI_NULL_MODIFIER,   
EFI_AFFECTED_BY_STANDARD_SHIFT},
     {EfiKeyD12,        ']',      '}',  0, 0,  EFI_NULL_MODIFIER,   
EFI_AFFECTED_BY_STANDARD_SHIFT},
     {EfiKeyD13,        '\\',     '|',  0, 0,  EFI_NULL_MODIFIER,   
EFI_AFFECTED_BY_STANDARD_SHIFT},
+    {EfiKeyC12,        '\\',     '|',  0, 0,  EFI_NULL_MODIFIER,   
EFI_AFFECTED_BY_STANDARD_SHIFT},
     {EfiKeyC10,        ';',      ':',  0, 0,  EFI_NULL_MODIFIER,   
EFI_AFFECTED_BY_STANDARD_SHIFT},
     {EfiKeyC11,        '\'',     '"',  0, 0,  EFI_NULL_MODIFIER,   
EFI_AFFECTED_BY_STANDARD_SHIFT},
     {EfiKeyE0,         '`',      '~',  0, 0,  EFI_NULL_MODIFIER,   
EFI_AFFECTED_BY_STANDARD_SHIFT},

Modified: trunk/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h
===================================================================
--- trunk/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h 2013-03-15 02:53:56 UTC 
(rev 14208)
+++ trunk/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h 2013-03-15 06:48:43 UTC 
(rev 14209)
@@ -1,7 +1,7 @@
 /** @file
   Function prototype for USB Keyboard Driver.
 
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD 
License
 which accompanies this distribution.  The full text of the license may be 
found at
@@ -18,7 +18,7 @@
 
 #include "EfiKey.h"
 
-#define USB_KEYBOARD_KEY_COUNT            104
+#define USB_KEYBOARD_KEY_COUNT            105
 
 #define USB_KEYBOARD_LANGUAGE_STR_LEN     5         // RFC4646 Language Code: 
"en-US"
 #define USB_KEYBOARD_DESCRIPTION_STR_LEN  (16 + 1)  // Description: "English 
Keyboard"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to