Browse Source

add optimize input

pull/13/head
Alex Hirsch 9 years ago
parent
commit
3032267957
  1. 13
      scripts/optimize-input.ps1

13
scripts/fix-mouse-acceleration.ps1 → scripts/optimize-input.ps1

@ -1,8 +1,10 @@
# Description # Description
# This script will apply MarkC's mouse acceleration fix (for 100% DPI). # This script will apply MarkC's mouse acceleration fix (for 100% DPI) and
# disable some accessibility features regarding keyboard input.
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1 Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1
echo "Apply MarkC's mouse acceleration fix"
Import-Registry(@" Import-Registry(@"
[HKEY_CURRENT_USER\Control Panel\Mouse] [HKEY_CURRENT_USER\Control Panel\Mouse]
"MouseSensitivity"="10" "MouseSensitivity"="10"
@ -24,3 +26,12 @@ Import-Registry(@"
"MouseThreshold1"="0" "MouseThreshold1"="0"
"MouseThreshold2"="0" "MouseThreshold2"="0"
"@) "@)
echo "Disable easy access keyboard stuff"
Import-Registry(@"
[HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys]
"Flags"="378"
[HKEY_CURRENT_USER\Control Panel\Accessibility\ToggleKeys]
"Flags"="58"
"@)
Loading…
Cancel
Save