可行,不过只能用于右键按住的情况下,因为滚轮毕竟是常用按键,还得滚动物品栏之类的不是,如果全反向就乱了。
代码入下,自己安装一个autohotkey,代码保存为.ahk文件,运行即可。
groupadd, stalker, ahk_exe AnomalyDX11AVX.exe
groupadd, stalker, ahk_exe AnomalyDX10AVX.exe
groupadd, stalker, ahk_exe AnomalyDX9AVX.exe
groupadd, stalker, ahk_exe AnomalyDX11.exe
groupadd, stalker, ahk_exe AnomalyDX10.exe
groupadd, stalker, ahk_exe AnomalyDX9.exe
#ifwinactive ahk_group stalker
$wheeldown::
$wheelup::
key:=trim(a_thishotkey, "$")
if (getkeystate("Rbutton", "p")) {
sendinput % key == "wheeldown" ? "{wheelup 8}" : "{wheeldown 8}"
}
return
#ifwinactive