Here's the code that worked before while playing on keyboard
Code: Select all
$q::
send, {w down}
sleep, 0
send, {w up}
sleep, 10
send, {d down}
sleep, 0
send, {d up}
sleep, 0
send, {d down}
sleep, 0
send, {d up}
sleep, 0
send, {d down}
sleep, 0
send, {d up}
sleep, 0
send, {d down}
sleep, 0
send, {d up}
return
$up::
send, {d down}
sleep, 0
send, {d up}
sleep, 0
send, {d down}
sleep, 0
send, {d up}
sleep, 0
send, {d down}
sleep, 0
send, {d up}
sleep, 0
send, {d down}
sleep, 0
send, {d up}
return
Here's what the settings in keyboard splitter look like https://ibb.co/tbrqKJg
So "d" (gas) is now button A, and "w"(brake) is Left Trigger button. Is there any way I can make macro so that works the same way as it worked before - that when I press button Q i get quick "wdddd" (or better to say button A, LT, LT, LT ,LT), and when I press UP i get quick "dddd (LT, LT, LT, LT)"? Is that something which is even possible?
I found this thread viewtopic.php?t=5705 but since I'm new at all this I didn't quite understand everything and I couldn't make it work. Any help is appreciated. Thanks!
[Mod edit: Moved topic from AHK v2 help to v1 help since this is v1 code.]