Springheel replied to Is it possible to rebind the Dodgeroll key? January 29, 2023 @ 9:31:41 am PST

Originally posted by + hadji:
Originally posted by Springheel:
; Remap Left Shift to Right Mouse button and Space
LShift::
Send, {RButton}
Send, {Space}
return

Have you tried switching the order of the inputs? I do know that they are not sent at the same time, on a technical level. That might have something to do with it.

Also might and to try adding "down" and "up" indications. See the following reddit thread for examples.

https://www.reddit.com/r/AutoHotkey/comments/3yi6w1/two_keys_at_once/


You're right, that was the problem. I did the following and now it works great!

#IfWinExist, Valheim
#IfWinActive, Valheim
LShift::
Send, {RButton down}
Send, {Space down}
Sleep 20
Send {RButton up} {Space up}
return
#IfWinExist
#IfWinActive
6:13 pm, January 29, 2023
Springheel 0 comments 0 likes