- Joy10:: ; right stick button press (not on his axis)
- KeyWait, Joy10, T1 ; Wait 1 seconds
- if (ErrorLevel = 1)
- ;Send, % "#" "d" ;get back to the desktop
- Winactivate, ahk_exe explorer.exe ; activate explorer.exe, you dont go back to desktop, test as windowed game, not in fullscreen
- ;MsgBox Held
- ;MsgBox Tapped
- run C:\Users\clement\Desktop\JoystickMouse.ahk ; activate the joystickmouse script. if you have your own version of joymouse script,
- ; add a way to exit it. i did it in my version at the end of the script.
- ; there is a way to do it from here, but i can't make it work,
- ; would need the id process of the ahk script or something else.
RAW Paste Data