For example, tapping W twice then holding it to get a continuous input. Many games use this as a shortcut for sprinting for example. W->W(hold). I tried combo inputs but they only trigger once and also don’t like to return a completed response, which I need to handle ending the sprint. What other options do I have?
It’s amazing that one of the oldest types of gameplay inputs didn’t make the cut in the “Enhanced” system. What was your solution?
I found an example of a double tap enhanced input trigger and just modified it to continue triggering on hold and then stop on release. It worked for me to try out some stuff but it may not suit your needs. Anyway I shared it as a code snippet here. I hope it at least helps you figure some stuff out.
I forgot to mention, for some reason my input mapping context won’t save custom enhanced input triggers when I close the editor and reopen it, not sure why. You gotta watch out for it
I appreciate that. I just made two input actions, one for ‘tap’ and one for ‘released’. It’s for the classic sprinting command. Works okay on gamepad but for some reason only works in one direction for keyboard. Strange stuff.