AH-99 Key repeats are now optional!

When checking if the new parameter prevValue equals zero then there is no key repeats.
Merge remote-tracking branch 'origin/master' into AH-99_KeyRepeats