• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 21:42
CET 03:42
KST 11:42
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket12Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA12
StarCraft 2
General
RSL Season 3: RO16 results & RO8 bracket SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
Data analysis on 70 million replays A cwal.gg Extension - Easily keep track of anyone soO on: FanTaSy's Potential Return to StarCraft [ASL20] Ask the mapmakers — Drop your questions FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread EVE Corporation Path of Exile [Game] Osu! Should offensive tower rushing be viable in RTS games?
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread The Games Industry And ATVI US Politics Mega-thread Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2148 users

[T]ip Speeding up the keyboard repeat rate

Forum Index > StarCraft 2 Strategy
Post a Reply
sixzeros
Profile Joined December 2010
72 Posts
Last Edited: 2011-02-05 18:49:41
February 05 2011 14:47 GMT
#1
A standard windows system limits the keyboard repeat rate to just 31 chars per second, this would mean that just holding your D key down for example will limit your production rate to 31 drones in a second.

In some top level replays I noticed that some players are able to produce multiple drones from multiple larvae within milliseconds of each other, whereas my replays had a noticeable delay between each drone even though I was at the max keyboard repeat rate. Could they really be pounding the keys at 100+ beats per second? Or was it some kind of gaming keyboard like a razer?

Which led me to investigate how we could speed up our keyboard repeat rate on a standard keyboard.

This AUTOHOTKEY script below tries to raise your keyboard repeat rate beyond the 31cps limit to 100cps


RepeatIt:

hyperFast:=false ;set to true if you want to put this into overdrive

if(lastHotkey!=""){
HotKey, %lastHotkey%,On
}
HotKey, %A_ThisHotKey%,Off
lastHotkey:=A_ThisHotKey
SendEvent,{%A_ThisHotKey%}
Sleep, 150 ;This is the delay in MS before the key starts to repeat
Loop
{
GetKeyState, Go, %A_ThisHotKey%,P
If (Go="D")
{
SendEvent {%A_ThisHotKey%}
if(hyperFast){
SendEvent {%A_ThisHotKey%}{%A_ThisHotKey%}{%A_ThisHotKey%}{%A_ThisHotKey%}
}
Sleep,10 ;Lower = Faster; Higher = Slower.
}
Else
Break
}
Hotkey,%A_ThisHotKey%,On
return

;you can add more keys here by placing the name of the key and two colons on a new line ->

u::
m::
a::
l::
d::
b::
e::
s::
z::
i::
r::
t::
v::
gosub RepeatIt
Hotkey,%A_ThisHotKey%,On
return


You'll need to go to the autohotkey main site, download and install autohotkey.

Once installed and running there will be a green [H] icon in your tray. Autohotkey also provides a free text editor sciTE which is a separate install and download to the main code. If sciTe is installed then you can just right click the autohotkey tray icon and select 'edit this script', and it will bring up the default code..

Just copy and paste the code above into the default code and save it out.

Restart autohotkey, by right clicking the green tray icon and select 'Reload this Script' and it should activate this code.

To test it, just open any text window, hold the the Q key say.. which should be at normal speed then hold down the D key and check the difference.

If you want to turn it off, select the green icon in your tray and just select 'exit'.

There may be problems with windows 7 permissions requiring you to put both starcraft and autohotkey into administrator mode so that they can work with each other. And the key repeat can be so fast outside of the game that typing in a forum for example is near impossible. lollllllllllllllllllllllllll
DiranMan
Profile Joined January 2011
25 Posts
February 05 2011 15:00 GMT
#2
I was looking for a way to increase my keyboard repeat rate just yesterday!
Very nice of you to find a way.
But please explain more (in details) where are we gona put this script and how to change back if we have too.
thank you very much in advance.
sixzeros
Profile Joined December 2010
72 Posts
February 05 2011 15:09 GMT
#3
Ill make a bit of an edit for it...
RainWhisper
Profile Joined May 2009
United Arab Emirates333 Posts
February 05 2011 15:18 GMT
#4
Omg, this is effin-tastic. Could really use end game , especially againt toss ifind myself alternating between spamming r so fast or just pressing and holding
Hi can i get one McGracken please?
Zarahtra
Profile Joined May 2010
Iceland4053 Posts
February 05 2011 15:57 GMT
#5
#1 off, isn't using 3rd party programs forbidden?

#2 wouldn't you be totally boned when you want to produce like 10 sets of lings and 10 drones? I don't know the exact time that it takes me to press a button, but I'm guessing it takes me more than 0.01s, so going to 100 repeats a sec would prob make 2 of stuff when I wanted to make 1...
AndyG
Profile Joined July 2010
United States22 Posts
February 05 2011 16:00 GMT
#6
On February 06 2011 00:57 Zarahtra wrote:
#1 off, isn't using 3rd party programs forbidden?

#2 wouldn't you be totally boned when you want to produce like 10 sets of lings and 10 drones? I don't know the exact time that it takes me to press a button, but I'm guessing it takes me more than 0.01s, so going to 100 repeats a sec would prob make 2 of stuff when I wanted to make 1...



"Sleep, 150 ;This is the delay in MS before the key starts to repeat"

^^^There has to be a distinct "hold" on the key before it begins to repeat.
ChickenLips
Profile Blog Joined May 2010
2912 Posts
February 05 2011 16:09 GMT
#7
im testing it atm

works pretty well but i dont ttttthink ()it has a significaant impact
❤Ƹ̵̡Ӝ̵̨̄Ʒ✿
Somnolence
Profile Joined August 2010
Lithuania127 Posts
February 05 2011 16:14 GMT
#8
On February 06 2011 00:57 Zarahtra wrote:
#1 off, isn't using 3rd party programs forbidden?


Yep, didn''t keyboard macros got some people banned already?
sixzeros
Profile Joined December 2010
72 Posts
February 05 2011 17:18 GMT
#9
I doubt that running software to get a faster mouse or keyboard driver is going to get you banned, but if you start to get silly and start making multi key sequences then yeah, you're asking to get banned.

Questions of morality, good sportsmanship and fairness aside, I think this particular idea falls under the category of say, a faster mouse (razer 3000dpi), a faster keyboard (razer mauraders 1000hz polling), a faster video system (software acceleration via Riva Tuner), a faster processor through software overclocking.

All that being said, there must be some kind of absolute key input limit built into starcraft anyway, so it is possible that there is only a 31 keys per second limit or possibly that you are limited to your actual video frame rate (fps).
DiranMan
Profile Joined January 2011
25 Posts
February 06 2011 23:27 GMT
#10
I copyed the script and got error on "HotKey, %A_ThisHotKey%,Off"
can you just post the script maybe in a different way so it works?
codewarrior
Profile Joined April 2010
United States52 Posts
February 06 2011 23:29 GMT
#11
Can't you just change this with the "Repeat Delay" and "Repeat Rate" settings in the Windows Control Panel??
In1t4themoney
Profile Joined April 2010
Germany77 Posts
Last Edited: 2011-02-06 23:34:49
February 06 2011 23:34 GMT
#12
If someone finds a windows glitch or setting which overrides the actual max-repeat-speed on windows and not this 3rd party program which will obviously be considered as a CHEAT let us know..
asdfghjkl
In1t4themoney
Profile Joined April 2010
Germany77 Posts
Last Edited: 2011-02-06 23:57:40
February 06 2011 23:46 GMT
#13
I did some quick research:

1. Open regedit
2. HKEY_CURRENT_USER->Control Panel->Keyboard
3. Change Keyboardspeed to whatever you like


...Max is usually 31.. I tested it with 100 but I'm not quite sure if it worked..
If you set it to ultra slow (like 3) it works.


edit: 31 is considered to be maximum.
asdfghjkl
Xanbatou
Profile Blog Joined February 2010
United States805 Posts
February 07 2011 02:37 GMT
#14
Yeah, I'd be pretty interested in this if someone finds a way of doing this without using a third-party program.
Please log in or register to reply.
Live Events Refresh
Next event in 4h 48m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 226
StarCraft: Brood War
PianO 214
Sexy 43
NaDa 26
Leta 21
Noble 10
Dota 2
NeuroSwarm98
LuMiX1
League of Legends
JimRising 518
Super Smash Bros
C9.Mang0314
Other Games
summit1g15085
fl0m663
WinterStarcraft433
ViBE174
Trikslyr64
kaitlyn15
ToD12
Organizations
Other Games
gamesdonequick868
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 113
• davetesta30
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• Azhi_Dahaki20
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22327
League of Legends
• Doublelift5007
• Rush912
Other Games
• Scarra1222
Upcoming Events
RSL Revival
4h 48m
Classic vs MaxPax
SHIN vs Reynor
herO vs Maru
WardiTV Korean Royale
9h 18m
SC Evo League
9h 48m
IPSL
14h 18m
Julia vs Artosis
JDConan vs DragOn
OSC
14h 18m
BSL 21
17h 18m
TerrOr vs Aeternum
HBO vs Kyrie
RSL Revival
1d 4h
Wardi Open
1d 11h
IPSL
1d 17h
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
1d 17h
StRyKeR vs Artosis
OyAji vs KameZerg
[ Show More ]
OSC
1d 20h
OSC
2 days
Monday Night Weeklies
2 days
OSC
2 days
Wardi Open
3 days
Replay Cast
4 days
Wardi Open
4 days
Tenacious Turtle Tussle
4 days
The PondCast
5 days
Replay Cast
5 days
LAN Event
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-16
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.