There is a pressed() and released() signal in Keys

Cheers,
_