3

Is there any way to disable the delay caused when holding a key? I want it to do aaaaaaaaaaa instead of a aaaaaaaaa

EDIT: I want to do this via the command prompt.

roydbt
  • 31
  • 1
  • 1
  • 3

1 Answers1

8

How do I disable the keyboard delay?

As far as I am aware you cannot completely remove the keyboard delay. The shortest delay you can set is "approximately 250 milliseconds".

To set the shortest delay possible:

  1. "Start" > "Control Panel" > "Keyboard".

  2. In the "Keyboard Properties" dialog select the "Speed" tab.

  3. Set the "Repeat delay" to "Short" by dragging the slider to the right hand end.

    enter image description here

  4. Click "OK".


How can I set this value from a cmd shell?

Use the following command:

reg add "HKCU\Control Panel\Keyboard" /v KeyboardDelay /t REG_SZ /d "0" /f

The value "0" represents the shortest delay possible.

KeyboardDelay

Determines how long after a key is pressed and held down that the character begins to repeat. The values 0 (shortest delay; approximately 250 milliseconds) and 3 (longest delay; approximately 1 second) correspond to the four increments on the Repeat delay scale in Keyboard in Control Panel.

Source KeyboardDelay


Further Reading

DavidPostill
  • 162,382