3DMGAME论坛

标题: 在网上找个一个AutoHotKey完美无间宏,问下怎么通过手柄触发??? [打印本页]

作者: a851919472    时间: 2022-5-7 13:33
标题: 在网上找个一个AutoHotKey完美无间宏,问下怎么通过手柄触发???
M::
;(M=热鍵)




Send {Tab Down}
Sleep 40


Send {LButton Down}
Sleep 40
Send {LButton Up}
Sleep 40
Send {Tab Up}
Sleep 1253


Send {LButton Down}
Sleep 40
Send {LButton Up}
Sleep 890


if not getkeystate("M","P")
return


Send {LButton Down}
Sleep 40
Send {LButton Up}
Sleep 790


if not getkeystate("M","P")
return


Send {LButton Down}
Sleep 40
Send {LButton Up}
Sleep 890


if not getkeystate("M","P")
return


Send {LButton Down}
Sleep 40
Send {LButton Up}


Return




;(RButton=防)
;(LButton=輕)
这个是通过M触发的,怎么通过手柄触发?




欢迎光临 3DMGAME论坛 (https://bbs.3dmgame.com/) Powered by Discuz! X3.2