1.调整左alt, 用 KeyTweak(安装程序200k), 映射到右alt.
2.解决释放EQ后镜头往前走, 设k=拾取,ft=EQ,yhgj=上下左右
#UseHook
A_MenuMaskKey := "vkE8"
RButton::Send("{RButton down}"), keywait("RButton"), Send("{RButton up}{WheelDown 3}")
t::Send("{t down}"), keywait("t"), Send("{WheelDown 3}")
f::Send("{f down}"), keywait("f"), Send("{WheelDown 3}") ;释放E后缩放视角且不干扰长按
<!f::send("{blind}4"), keywait("f"), send("{wheeldown 3}")
<!g::send("{blind}3"), keywait("g"), send("{wheeldown 3}")
<!y::send("{blind}2"), keywait("y"), send("{wheeldown 3}")
<!j::send("{blind}1"), keywait("j"), send("{wheeldown 3}")
Space & f::4 ;右alt旁边是fn, AHK捕捉不到, 只能用空格作修饰键
Space & g::3
Space & y::2
Space & j::1
#w::msgbox(WinGetTitle("A") "`n" WinGetClass("A")) ;显示当前窗口标题, 如Mozilla Firefox
Space & d::ControlSend("{space}", , "Mozilla Firefox") ;发送空格至火狐浏览器窗口, 一边看视频一边游戏
Space up::Send("{Space}"), Send("{WheelDown 3}") ;空格原功能
k:: ;连续拾取
{loop 100
Send("k"), sleep(50)
until !getkeystate("k","p")
}
XButton1:: ;追忆甘雨E后4次蓄力射, 长按鼠标左右键中断
{Send("f"), sleep(465)
loop 4
Send("{LButton down}"), sleep(1700), Send("{LButton up}"), sleep(215)
until getkeystate("XButton1","p") or getkeystate("LButton","p") or getkeystate("RButton","p")
}