Current Bug is when I press two different movement keys nearly simultaneously (example: W then A within my double-tap window), the system treats it as a valid double-tap and triggers sprint. I want sprint to only trigger when the same key is pressed twice rapidly—not when different keys are pressed close together.
What I Need is a method to track which specific key was pressed last, so the double-tap validation only passes if the current key matches the previous key. Must work with Enhanced Input and four separate movement keys (W, A, S, D). Constraints
any help or tips would be greatly appreciated
(tryna cook something up with Ai help but its not going too well)
Ima try this when i get the chance tonight or tommorrow night, this is greatly appreciated. I dont think ive seen someone actually go above and beyond and just make the whole solution
are you also working on a project that also has a similar double tap sprint function?
In my project, I only use a single input key but distinguish single tap | single hold | double tap | double hold. The logic is similar, though not used for running. I might end up scrapping the idea down the line, but I recall all the searching I had to do to get it working.