MSKLC : How to associate a country to a custom keyboard layout

╄→尐↘猪︶ㄣ 提交于 2020-12-05 10:30:47

问题


I made a custom keyboard layout with MSKLC. I thought I followed the instructions carefully and chose appropriate values for the LOCALENAME and LOCALID parameters.

However, in the switch-keyboard popup that is displayed by pressing Win+Space or on the TaskBar, the country associated with my custom layout is not displayed.

How to I author my layout so that Windows knows about the country it should be associated with?


回答1:


From some experiments I've done with a custom keyboard of mine, you have to change the registry.

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts\0000040c

change

"Layout File"="KBDFR.dll"

to

"Layout File"="YourDll.dll"

and then set the

"Layout Display Name"="@%SystemRoot%\system32\YourDll.dll,-1000"

Now if you reboot you should see both the keyboard type and the correct first row. As an added bonus, the Remote Desktop won't default to english keyboard, and it will simply use the "basic" French keyboard.



来源:https://stackoverflow.com/questions/59151426/msklc-how-to-associate-a-country-to-a-custom-keyboard-layout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!