Space bar for "pan"

I want to assign the “space” keystroke to a deice trigger.
But for it to work, the keystoke must HOLD until release. It cannot just send the space keystroke.
Is there any way to HOLD until release of a keystroke?

thanks

No, there is no way to press and hold any key or button with Keyboard Maestro.

Try Karabiner: https://pqrs.org/osx/karabiner/