Skip to content

Instantly share code, notes, and snippets.

@zz-chen
Created October 3, 2018 02:50
Show Gist options
  • Save zz-chen/2422adc6f8b96f07cd0619857960e70c to your computer and use it in GitHub Desktop.
Save zz-chen/2422adc6f8b96f07cd0619857960e70c to your computer and use it in GitHub Desktop.
日本語キーボードなどの中国語キーボード以外のキーボードでPINYINを打つとき、Shift+2=@問題を解消。Shift+2="にする。
# Structure of the Registry
# https://docs.microsoft.com/en-us/windows/desktop/SysInfo/structure-of-the-registry
# Type Pinyin in Dvorak on Windows
# https://medium.com/@jiayu./how-to-set-your-pinyin-ime-keyboard-layout-to-dvorak-on-windows-8165ae0de6b5
Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000804"
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000804' -Name 'Layout File' -Value 'KBDJPN.DLL'
Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000804"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment