Fix the keypad speed

by Sylvain D, improved by Vivek

(safe method)