I don't know anything about Streamdeck, but KM can detect and use a "normal" keypress vs a "long key press". These are keyboard keys. Here's a macro do to this. You will have to figure out how/if you can use with Streamdeck.
MACRO: Trigger Option Using Long Press of HotKey [Example]
Tags: »Trigger »LongPress »HotKey