Double tap system for unity new input system.
Documentation: https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/manual/Interactions.html
What i did was, set two inputs that are the same but one with a tap interaction and the other with a Release only interaction, in code, this is used to determinate if a key was tapped, pressed or is holded.