Thứ Hai, 19 tháng 9, 2016

How to use the correct keyboard layout when you connect a USB keyboard to the computer

Symptoms:
When you connect a USB keyboard to a computer that is running Windows 7, Windows Vista or Windows XP, Windows may not use the correct keyboard layout.

For example, if you connect a USB Japanese 106/109 keyboard to the computer, or if you connect a USB ten-key keyboard to the computer, Windows may use the device as if it has an English 101/102 keyboard layout.

Resolution:
To resolve this problem, configure the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters

registry subkey to have the registry entries that appear in the following table.
Value name
Value type
Value data
LayerDriver JPN
REG_SZ
kbd106.dll
OverrideKeyboardIdentifier
REG_SZ
PCAT_106KEY
OverrideKeyboardSubtype
DWORD
2
OverrideKeyboardType
DWORD
7
To configure these registry entries yourself, follow these steps:
  1. Start the Registry Editor:

    For Windows 7 and Windows Vista:
    Click StartStart button, type regedit in the Start Search box, and then click regedit in thePrograms list.

     User Account Control permission If you are prompted for an administrator password or for confirmation, type the password, or click Continue.

    For Windows XP:
    Click Start, click Run, type regedit in the Open box, and then click OK
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
  3. Right-click LayerDriver JPN, and then click Modify.

    Note If the LayerDriver JPN registry entry does not exist, create it. To do this, right-click a blank area in the details pane, point to New, and then click String Value. Then, typeLayerDriver JPN to name the new string value.
  4. In the Value data box, delete the existing value, type kbd106.dll, and then click OK.
  5. Right-click OverrideKeyboardIdentifier, and then click Modify.

    Note If the OverrideKeyboardIdentifier registry entry does not exist, create it. To do this, right-click a blank area in the details pane, point to New, and then click String Value. Then, type OverrideKeyboardIdentifier to name the new string value.
  6. In the Value data box, delete the existing value, type PCAT_106KEY, and then click OK.
  7. Right-click OverrideKeyboardSubtype, and then click Modify.

    Note If the OverrideKeyboardSubtype registry entry does not exist, create it. To do this, right-click a blank area in the details pane, point to New, and then click DWORD (32-bit) Value. Then, type OverrideKeyboardSubtype to name the new DWORD value.
  8. In the Value data box, delete the existing value, type 2, and then click OK.
  9. Right-click OverrideKeyboardType, and then click Modify.

    Note If the OverrideKeyboardType registry entry does not exist, create it. To do this, right-click a blank area in the details pane, point to New, and then click DWORD (32-bit) Value. Then, type OverrideKeyboardType to name the new DWORD value.
  10. In the Value data box, delete the existing value, type 7, and then click OK.
  11. Exit Registry Editor. Then, restart the computer.
From https://support.microsoft.com

Không có nhận xét nào:

Đăng nhận xét