Limit an objects moevment-per-keystroke

Hi,
How can i limit the movement effect (specifically rotation) of a set keystroke using logic blocks - currently when the user hits the key it seems to rotate a diffrent amount each time, and i think it is dependent on the length/force of the keystroke. how can i limit this to exactly X degs per press?
thanks in advance,
Sh

set the input to TAP, that means it will be active for ONE pulse, even if the input remains high