According to the Unity discussion linked below, the answer you are looking for is:
Keyboard.current[Key.Space].wasPressedThisFrame
https://discussions.unity.com/t/solved-creating-a-similar-input-to-input-getkeydown/784576