Skip to content

Commit 5420396

Browse files
committed
Keyboard properties, repeat rete
1 parent bfacb9a commit 5420396

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Initialize-Machine.ps1

+11
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,16 @@ Begin
614614
}
615615

616616

617+
function SetKeyboardProperties
618+
{
619+
# Some vendors configure keyboards with a slow delay and repeat rate. This customizes those
620+
# values to be more responsive. Can be done manually via Keyboard Properties control panel
621+
$0 = 'HKCU:\Control Panel\Keyboard'
622+
Set-ItemProperty $0 -Name 'KeyboardDelay' -Value '1' -Force
623+
Set-ItemProperty $0 -Name 'KeyboardSpeed' -Value '28' -Force
624+
}
625+
626+
617627
function CreateHeadlessPowerPlan()
618628
{
619629
[CmdletBinding(HelpURI='manualcmd')] param()
@@ -703,6 +713,7 @@ Process
703713

704714
SetTimeZone
705715
SetExplorerProperties
716+
SetKeyboardProperties
706717
SetExtras
707718
DisableHomeGroups
708719
EnablePhotoViewer

0 commit comments

Comments
 (0)