How to set up a "double tap and hold" function in aixsinput

Hi folks I’m looking for a way to setup a double tap function for input aixsinput.
Right now I can press “shift” to make my character sprint, what I’m trying to achieve is to double tap “shift” and hold it to make the character run faster.
Is there a way to do it?
Thank you

I’m curious to find this out as well

Check this video out it helped me greatly!