Phe*_*nom 3 autohotkey game-controller
我可以像这样映射游戏手柄上的按钮:
Joy2::
Send {Up down} ; Hold down the left-arrow key.
KeyWait Joy2 ; Wait for the user to release the joystick button.
Send {Up up} ; Release the left-arrow key.
return
Run Code Online (Sandbox Code Playgroud)
但是我想重新映射方向键来做同样的事情。我怎样才能做到这一点?
Autohotkey Joystick 轴教程; http://www.autohotkey.com/docs/KeyList.htm#Joystick
或者您可以使用 KeyHistory 查找密钥的 Autoit 名称;
key_detect.ahk:
!k::
#InstallKeybdHook
KeyHistory
return
Run Code Online (Sandbox Code Playgroud)
运行,按 Alt+K。调出检测到的键列表。
归档时间: |
|
查看次数: |
11320 次 |
最近记录: |