tap and untap !! (QTE) ?

hi to all …
i want to make almost a QTE event for my game.
but i don’t know what i should to do.
for example i think you have play last tomb rider.
in first level when she want to get her bow … she try and pull her hands to get bow if we tap E.
how i can do this ?
it means play a animation by tap E and stop this (or change animation in idle) when untap E !
i don’t know how we can detect repeatedly press a key with no repeatedly !
please hellp me.

Maybe something like this: