tryed it with my regular controller and it works....
looked the buttons in launchbox settings for my n64 controller...start = button 10 and Z = button 8.
when i connect my n64 controller and disconnect all others, the script must be work...:
Joy8::
If GetKeyState("Joy10")
{
Process, Close, {{{StartupEXE}}}
}
but it wont work..maybe ahk handle the buttons with other numbers for my n64 controller?
//EDIT:
Finally it works
2Joy8::
If GetKeyState("2Joy10")
{
Process, Close, {{{StartupEXE}}}
}