Problem with the speed of mapping Topic is solved

Ask gaming related questions (AHK v1.1 and older)
CO50

Problem with the speed of mapping  Topic is solved

28 Jun 2017, 10:22

So, I just started to fiddle with autohotkey 'cause Ryse won't let users to customise their controls.
My problem is I mapped left click as advancing (W) and right click as backing (D), and when it comes to tapping the mouse it ignores my script and attacks (previous mouse1 function) ignoring my mapping 'till I hold it pressed.

Any suggestions of what to do? Cheers in advance :thumbup: .
grant
Posts: 323
Joined: 14 Oct 2015, 17:27

Re: Problem with the speed of mapping

01 Jul 2017, 10:52

Games need a bit of time to register that a key is being pressed and AHK sends them too fast by default. You need to build a delay in between the down action and the up action. Look at Setkeydelay.

Or you can use a sleep between a down send and the up send like this:

Code: Select all

f1::
send, {w down}
sleep, 50
send, {w up}
return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 34 guests