肩凝り対策でスプリットのキーボード
BAROCCO MD770 RGBを使い始めました。英語配列なので半角と全角の切替が面倒です。デフォルトだとCapsLock+ShiftですがCapsLockだけで切り替えたいので
AutoHotKeyをインストールしました。デスクトップ上で右クリック、新規作成でAutoHotKeyの設定ファイルを新規作成して、6行目以降のの部分を追加します。
CapsLockで日本語/英語の切替、ESCキーを2回タイプで大文字/小文字を切り替えます。
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
CapsLock::
Send, {vkF3sc029}
return
Esc::
Keywait, Esc, U
Keywait, Esc, D T0.3
If (ErrorLevel=1) {
Send,{Esc}
}
else {
SetCapsLockState % !GetKeyState("CapsLock", "T")
}
return
しばらくこれで使って身体を慣らします。