Dashing! Double Tap Directional Key to Dash.

Hello i've been searching Google and this Forum for a Plugin that allows to set
the Dashing key to Double Tapping a Directional Key, Double clicking with the Mouse or
Double Touching on your phone.

This would free up the Shift button for PC users and enable a fun way to Dash on Mobile!

I know that this is probably also possible to do with a common event but it's probably way
more Lag-Free and easier to do with a Javascript Plugin.

Thanks for any Help!

EDIT: so i have found a Script for Rpg Maker VX Ace in case anyone with
Scripting knowledge wants to get some ideas how it was solved before:

this can easy do yourtself if you know how code in js.
Just add a new listener
PHP:
document.addEventListener('keydown', yourKeyFonction);

and also scope in a timeOut to set a boolean to check if the user double click inside the timeOut.
PHP:
setTimeout(function(){ alert("Hello"); }, 400);
https://www.w3schools.com/jsref/met_win_settimeout.asp
Thanks for the Reply! But unfortunately i do not know how to code in JS :/
Bump

Original thread: https://forums.rpgmakerweb.com/threads/dashing-double-tap-directional-key-to-dash.99499/