geekhack

geekhack Community => Keyboards => Topic started by: Logicus on Wed, 07 August 2013, 05:50:59

Title: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: Logicus on Wed, 07 August 2013, 05:50:59
I just came across a post on StackOverflow (http://stackoverflow.com/questions/171326/how-can-i-increase-the-key-repeat-rate-beyond-the-oss-limit (http://stackoverflow.com/questions/171326/how-can-i-increase-the-key-repeat-rate-beyond-the-oss-limit)), and a guy named Mud posted a command-line utility which lets you specify milliseconds for repeat delay and repeat rate, which at least affects both DOS and Windows-based programs for me under Win7 x64.

It's here: http://tetzfiles.com/eric/code/keyrate.zip (http://tetzfiles.com/eric/code/keyrate.zip) (includes C source, .exe is only 3kB.)

I'm using "keyrate 200 1" now for a 200ms delay and then very fast repeat.  ^-^
Title: Re: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: longweight on Wed, 07 August 2013, 05:57:09
Why?
Title: Re: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: Logicus on Wed, 07 August 2013, 06:02:47
Not sure if that's a serious question, since I'm new here..

Mostly so I can scroll web pages faster with the arrow keys, and scroll around quicker in my Warcraft 3 games... Basically, if I'm going to hold down a non-modifier key, it's almost always with the intent of it repeating as quickly as possible, otherwise I wouldn't be holding it.  :D
Title: Re: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: Danule on Wed, 07 August 2013, 07:15:55
cheating in warcraft eh? not a fan of that.
Title: Re: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: longweight on Wed, 07 August 2013, 07:36:33
Fair enough, didn't realise that WoW allowed hacks like that.
Title: Re: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: Logicus on Wed, 07 August 2013, 07:46:41
Cheating?  (Warcraft 3, by the way, not World of Warcraft)  The game already lets you use either arrow keys to scroll around and look at different parts of the map, or you can just click the minimap to instantly jump to a different spot.  It even lets you adjust how fast the scroll goes, and you can edit the config file to adjust it higher than the in-game GUI maxes out at.  It doesn't let you get anywhere faster than you could get by just clicking the spot, I just generally prefer to use the keyboard.

The point is, you can repeat keypresses faster, in whatever program -- no reason to focus on ways to use it to cheat/hack, with my prime example probably being: scrolling through webpages faster.

If you go into the Windows control panel, under Keyboard, there are options just like this, this keyrate program just gives you more control over it.
Title: Re: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: laffindude on Wed, 07 August 2013, 07:46:56
http://geekhack.org/index.php?topic=41881.0
Title: Re: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: Logicus on Wed, 07 August 2013, 07:50:07
Aha, very nice.  :D
Title: Re: Increasing keyboard repeat rate in Windows beyond what registry hacks do
Post by: rowdy on Wed, 07 August 2013, 16:56:40
There was a hack like this for Half-Life2.

If you jump while walking forwards, you will accelerate slightly.  If you can jump exactly as you land, you will jump and accelerate a little bit more.

If you can repeat this, you will end up bouncing along at super speed.

All you need to do is speed up the space bar repeat rate.