タイトル通りのAutoHotKeyスクリプト。
カーソル移動、Home/End、Page Up/Down、Delだけ。ほかは自分で使わないので…
; Realforce86U で HHKBのFn風キー定義
; AppとWin(をAppにマップしたもの)を左右Fnとして使用
; Winは無いと困るので、新たにRCtrlをRWinにマップします。
#UseHook
; App(Winと入れ替わっている前提) で擬似Fn修飾
AppsKey & [::Send, {blind}{Up}
AppsKey & `;::Send, {blind}{Left}
AppsKey & '::Send, {blind}{Right}
AppsKey & /::Send, {blind}{Down}
AppsKey & k::Send, {blind}{Home}
AppsKey & ,::Send, {blind}{End}
AppsKey & l::Send, {blind}{PgUp}
AppsKey & .::Send, {blind}{PgDn}
AppsKey & BS::Send, {blind}{Del}
; スキャンコードリマップ
; 参考: http://uguisu.skr.jp/Windows/winCaps.html
; HKLMSYSTEMCurrentControlSetControlKeyboard LayoutScancode Map
; 00 00 00 00 00 00 00 00
; 04 00 00 00
; 1D 00 3A 00 ; Caps -> LCtrl
; 5C E0 1D E0 ; RCtrl -> RWin
; 5D E0 5B E0 ; LWin -> App
; 00 00 00 00

