KirIn 落書き帳

素人がプログラミング, FPGA, LSIをお勉強しているメモ書きです。間違いがあればご指導していただけたら幸いです。

WindowsのCtrlとCapsキーを変換する

私はUNIX配列のキーボードが好きなのでSurface Pro3のキーボードでも同じように扱えるようにCapsとCtrlを入れ替えます。

Windows SysinternalsのCtrl2capをダウンロード
Ctrl2capはカーネルモードのデバイスドライバだそうです。

ダウンロードしたファイルを解凍して管理者としてコマンドプロンプトを起動します。

#展開したファイルのディレクトリに移動する
> cd C:\Users\youruser\Downloads\Ctrl2Cap

# capsをctrlに変更する
> ctrl2cap /install
#実行結果
Ctrl2cap successfully installed. You must reboot for it to take effect.

# 元に戻す場合は
> ctrl2cap /uninstall

#実行結果
Ctrl2cap uninstalled. You must reboot for this to take effect.

再起動すると適用されます。