I’m pretty sure this has been answered before, but I can’t seem to find the thread. At least, the search results I found aren’t exactly the answer I’m looking for.
Is there a way to set a macro to toggle holding down a key? For example, in gaming: I want to set autorun for games that don’t have this feature. So, tap a button and it holds the Forward key (probably w for most), then releases the key when pressing the same key assigned to that macro.
Also, can it repeatedly tap e while holding this key down? So, this would help with games with a Gather ability, such as resources. I’d like to tap one key to set autorun while rapidly tapping the gather key, then disable the functions completely by tapping the same key again.
I just updated my Gaming Config (Tips & Tricks?) thread. Check out the “Double-Tap to sprint/crouch” and “Auto-Walk” sections.
I’m not sure how to autoRepeat tapKey e without manually holding down the macro key…
I also don’t know if repeating a steady tapKey will trigger any anti-cheat systems.
Here’s a modification to my to Auto-Walk macro to include persistent e. I tried it in Once Human, but persistent e seems like it’s just interpreted as a held key and ignored after the initial action. The auto-walk part still works fine though…
Anyway this was my attempt:
Auto-Walk and Gather
toggleKey persistent w
toggleKey persistent e
That should just toggle holding w and e. I’d place it on backtick.
Then these will cancel the persistent w & persistent e when tapping the w or s keys, but make them work as normal otherwise:
Place the following on your W key: Auto-Walk and Gather release persistent (W)
pressKey w
releaseKey persistent w
releaseKey persistent e
holdKey w
Place this one on your S key: Auto-Walk and Gather release persistent (S)
pressKey s
releaseKey persistent w
releaseKey persistent e
holdKey s
Maybe also place the following on your E key, to cancel only the persistent e, while continuing to auto-walk: