Stream Deck (or any USB Device Key) "Pressed" vs "Tapped" vs "Tapped Once"

Is it feasible to distinguish between short and long? Or indeed to measure time?