Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disable keyboard delay
#1
How can I disable the delay when depressing a key on the keyboard so that pressing and holding any key immediately causes it to repeat?

Is it possible to disable the repeating itself?

Is it possible to clear the cache of keyboard entries, so that they don't get backed up and cause irritating beeps and pauses?
astrator of Crocodiles
Reply
#2
yeah

http://rel.betterwebber.com/MyProgs/AFTut.zip

Check out the keyhandler. ;*)
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#3
im just saying it is possible but it's too late for me to find the answer.

edit: answer to late
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#4
Check out port 60h. It is the keyboard command port.
Reply
#5
That's the typematic rate (also known as a repeat rate) and is the amount of time a computer will repeat a single character when its key is held down. You can change that value via port &H60 as Neo said.

This changes the typematic rate for me in dos. I grabbed this off a qbasic news group. I think the original poster was named brainsawx.

Code:
OUT &H60, &HF3
FOR delay = 1 TO 1500: NEXT
OUT &H60, value%

The delay may have to be longer on faster pc's. The value% is the new typematic to set. I think &H2B is the system default.

- Dav
Reply
#6
Use 0 for value% if you want the fastest mode.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)