[XPERIA X1 ROM Development] xdamatt:
French Xperia X1 Layout

As I had troubles with just changing the language parameter I finally took some time to dig into a french ROM and extract all I could on the French AZERTY Keyboard Layout. I've tested it and miracle, everything works! From Fn key to Symbol Key & Accents !

Here's are the full changes (using CeRegEditor) :

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C6]
"BtnWnd"=dword:7C09D370
"WndCls"="#NETCF_AGL_BASE_"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C5]
"BtnWnd"=dword:7C09D370
"WndCls"="#NETCF_AGL_BASE_"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C4]
"BtnWnd"=dword:7C09D370
"WndCls"="#NETCF_AGL_BASE_"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C2]
"WndCls"=""
"BtnWnd"=dword:00000000
"Flags"=dword:0000000D
"Icon"="\\Windows\\IconDll.dll, 104"
"Name"="Left key"
@=""

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C1]
"BtnWnd"=dword:7C09D370
"WndCls"="#NETCF_AGL_BASE_"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C3]
"WndCls"=""
"BtnWnd"=dword:00000000
"Flags"=dword:00000004
"Icon"="\\Windows\\IconDll.dll, 103"
"Name"="Right key"
@=""

[HKEY_LOCAL_MACHINE\Software\OEM\Qwerty]
"Layout"=dword:00000000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control]

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts]

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e001040C]
"Ime File"="compime.dll"
"Layout Text"="COMP IME"
"Keyboard Layout"="0000040C"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e0010409]
"Keyboard Layout"="0000040C"
"Ime File"="compime.dll"
"Layout Text"="COMP IME"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\0000040C]
"PS2_AT"="KbdNopAll.dll"
"Layout File"="KbdNopAll.dll"
"Layout Text"="French"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\00000409]
"PS2_AT"="KbdNopAll.dll"
"Layout Text"="US"
"Layout File"="KbdNopAll.dll"

[HKEY_CURRENT_USER\ControlPanel\Keybd]
"RepeatRate"=dword:00000005
"InitialDelay"=dword:00000000
"LongEndFunction"=dword:00000001
"MuteSwitch"=dword:00000001
"ShowWarningMsg"=dword:00000001
"DefaultKeyLock"=dword:00000001

[HKEY_CURRENT_USER\ControlPanel\Keybd\ChangeHomeByPostMessage]
"Manila"=dword:00018E95

[HKEY_LOCAL_MACHINE\Services\Keypad]
"ActionDebounceTimeout"=dword:00000064
"DisableGhostKeyDetect"=dword:00000000
"DisableKeyLight"=dword:00000000
"Flags"=dword:00010000
"Order"=dword:00000015
"Index"=dword:00000001
"Dll"="keypad.dll"
"Prefix"="KBD"

[HKEY_CURRENT_USER\keyboard layout]

[HKEY_CURRENT_USER\keyboard layout\Preload]
@="e0010409"

[HKEY_CURRENT_USER\keyboard layout\Preload\1]
@="e0010409"

[HKEY_CURRENT_USER\keyboard layout\toggle]
"Hotkey"="1"

[HKEY_LOCAL_MACHINE\Software\HTC\SymPad]
"SiPTimeStampL"=dword:D20B3E80
"SipTimeStampH"=dword:01C99E59
"SipData47"=dword:0000001F
"SipData46"=dword:000000A2
"SipData45"=dword:0000001E
"SipData44"=dword:000000F8
"SipData43"=dword:00000000
"SipData42"=dword:00000000
"SipData41"=dword:0000000F
"SipData40"=dword:00000089
"SipData3"=dword:000011D1
"SipData2"=dword:0000A261
"SipData1"=dword:9D30D4D0
"SipOn"=dword:00000000

[HKEY_LOCAL_MACHINE\Security\Phone\PhoneKeyMatch]
"SmartFilterFlags"=dword:00000000
"wildcard"="none"

[HKEY_LOCAL_MACHINE\Security\Phone\PhoneKeyMatch\KeyboardMappings]
"3F"="23"
"27"="39"
"3A"="38"
"2C"="2A"
"6E"="2B"
"6D"="37"
"6C"="36"
"6B"="35"
"6A"="34"
"6F"="33"
"69"="32"
"75"="31"
"2E"="30"

[HKEY_LOCAL_MACHINE\HARDWARE]

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP]

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]
"Keyboard Function Keys"=dword:0000000C
"Keyboard SubType"=dword:00000000
"Keyboard Type"=dword:00000004
"FirstCalibration"=dword:00000001
"CurLang"=dword:0000040C
"TaskManVKey"=dword:0000002E
"ContMoreVKey"=dword:00000000
"ContLessVKey"=dword:00000000
"CalVKey"=dword:00000000
"DriverName"="KbdNopAll.dll"

[HKEY_LOCAL_MACHINE\HARDWARE\OEM]

[HKEY_LOCAL_MACHINE\HARDWARE\OEM\KEYBD]
"KeyLock"=dword:00000001

Hope it'll help some of the french users and others with an AZERTY Keyboard Layout !

Kind regards,

Matt