This repository was archived by the owner on May 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ SetVisualFXPerformance # SetVisualFXAppearance
111111# EnableDarkTheme # DisableDarkTheme
112112# AddENKeyboard # RemoveENKeyboard
113113# EnableNumlock # DisableNumlock
114+ # DisableEnhPointerPrecision # EnableEnhPointerPrecision
114115# SetSoundSchemeNone # SetSoundSchemeDefault
115116# DisableStartupSound # EnableStartupSound
116117# DisableChangingSoundScheme # EnableChangingSoundScheme
Original file line number Diff line number Diff line change @@ -1711,6 +1711,22 @@ Function DisableNumlock {
17111711 }
17121712}
17131713
1714+ # Disable enhanced pointer precision
1715+ Function DisableEnhPointerPrecision {
1716+ Write-Output " Disabling enhanced pointer precision..."
1717+ Set-ItemProperty - Path " HKCU:\Control Panel\Mouse" - Name " MouseSpeed" - Type String - Value " 0"
1718+ Set-ItemProperty - Path " HKCU:\Control Panel\Mouse" - Name " MouseThreshold1" - Type String - Value " 0"
1719+ Set-ItemProperty - Path " HKCU:\Control Panel\Mouse" - Name " MouseThreshold2" - Type String - Value " 0"
1720+ }
1721+
1722+ # Enable enhanced pointer precision
1723+ Function EnableEnhPointerPrecision {
1724+ Write-Output " Enabling enhanced pointer precision..."
1725+ Set-ItemProperty - Path " HKCU:\Control Panel\Mouse" - Name " MouseSpeed" - Type String - Value " 1"
1726+ Set-ItemProperty - Path " HKCU:\Control Panel\Mouse" - Name " MouseThreshold1" - Type String - Value " 6"
1727+ Set-ItemProperty - Path " HKCU:\Control Panel\Mouse" - Name " MouseThreshold2" - Type String - Value " 10"
1728+ }
1729+
17141730# Set sound scheme to No Sounds
17151731Function SetSoundSchemeNone {
17161732 Write-Output " Setting sound scheme to No Sounds..."
You can’t perform that action at this time.
0 commit comments