Add time scaling for keyboard input.