How to press a button twice in quick succession to Dash?

I want the player to press any movement button twice, within a very short period of time to dash. I currently have it set up with the D key.

Also is there a way to get the character to dash, but dash along the x axis and then drop. Instead of dropping while the dash is happening?

Ill attach an image of my set up, in case this helps.