Changing a crouch toggle to a hold-to-crouch... #906
Replies: 3 comments 3 replies
-
Turns out I was making this much more complicated than I needed to... I ended up just using Steam reamapping, and it works with no trouble. |
Beta Was this translation helpful? Give feedback.
-
for those wondering how to do this you can achive this by making an advanced assignment like this: first you assign the first key press "K" (now you are crouching while holding the button) --> second you assign a release( when held for ... ms the key assigned after release will be triggered) --> Then assign a key you want to perform when releasing the button (in this instance "K" again to stand up) |
Beta Was this translation helpful? Give feedback.
-
Have you tried with a release time of 0? |
Beta Was this translation helpful? Give feedback.
-
Changing a hold to a toggle is simple, but it is proving quite difficult to change a toggle to a hold.
In game, pressing [key] crouches, and pressing [key] a second time stands back up. I am trying to get it so that holding [key] down crouches, and releasing [key] stands back up.
I've gotten this to work natively on the keyboard using autohotkey, but when I try to send the input from a gamepad with AntimicroX (or JoytoKey just to troubleshoot), it no longer functions properly. I also couldn't get to work using the release function within AntiMicroX.
If it helps -- this is the autohotkey script that gives the correct functionality on the keyboard natively, using the K key:
*K::
Send {K Down}
Sleep 50
Send {K Up}
KeyWait K
Send {K Down}
Sleep 50
Send {K Up}
I have tried the same sequence applied with releases and delays in AntiMicroX, but I don't know if I don't have a correct understanding of how it works within the program, or if it is just not working for some other reason. Is there some basic thing I am missing about how to achieve the function I am looking for? I don't care if it is a way to make the AHK script work with the gamepad, or a way to achieve it through AntiMicroX. I just want the function. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions