0

I am trying to combine two keys into one key. For example, a single hold of A, holds down A but a double tap and hold of A holds 1 key.

Dont reccommend Tapholdmanager please.

Below is what I so far have, it just repeats A key, it does not wait for me to release it. Any help with be appreciated.

~a::


KeyWait, a
KeyWait, a, D T.3

If (ErrorLevel)
{
Send {a down}
While GetKeyState("a", "p")
Send {a up}
}
Return

If (!ErrorLevel)
{
Send {1 down}
While GetKeyState("a", "p")
Send {1 up}
}
Return

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.