Anyway, I have only basic understanding of AHK, or any sort of programming for that matter, so i was wondering if there is a more elegant or resource efficient solution to this?
Code: Select all
$5joy22::
{
if GetKeyState("5joy18","p")
{
while GetKeyState("5joy22","p")
send {a down}
sleep 50
send {a up}
}
else
{
send {f down}
sleep 50
send {f up}
}
}
return