You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.2 KiB
22 lines
1.2 KiB
# Description
|
|
# This script will apply MarkC's mouse acceleration fix (for 100% DPI) and
|
|
# disable some accessibility features regarding keyboard input.
|
|
|
|
echo "Apply MarkC's mouse acceleration fix"
|
|
sp "HKCU:\Control Panel\Mouse" "MouseSensitivity" "10"
|
|
sp "HKCU:\Control Panel\Mouse" "MouseSpeed" "0"
|
|
sp "HKCU:\Control Panel\Mouse" "MouseThreshold1" "0"
|
|
sp "HKCU:\Control Panel\Mouse" "MouseThreshold2" "0"
|
|
sp "HKCU:\Control Panel\Mouse" "SmoothMouseXCurve" ([byte[]](0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xCC, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x80, 0x99, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x66, 0x26, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x33, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00))
|
|
sp "HKCU:\Control Panel\Mouse" "SmoothMouseYCurve" ([byte[]](0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA8, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00))
|
|
|
|
echo "Disable easy access keyboard stuff"
|
|
sp "HKCU:\Control Panel\Accessibility\StickyKeys" "Flags" "506"
|
|
sp "HKCU:\Control Panel\Accessibility\Keyboard Response" "Flags" "122"
|
|
sp "HKCU:\Control Panel\Accessibility\ToggleKeys" "Flags" "58"
|
|
|