Set key repeat.