Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; This is an Autohotkey Script that slows the mouse to speed1 when you press capslock
- ; Release capslock to return to the original speed
- ; Useful for drawing, games, 3D modelling and a bunch of other things requiring precise movements.
- DllCall("SystemParametersInfo", UInt, SPI_GETMOUSESPEED, UInt, 0, UIntP, OriginalMouseSpeed, UInt, 0)
- capslock::
- mousemoveprecise:
- DllCall("SystemParametersInfo",UInt,0x71,UInt,0,UInt,1,UInt,0)
- return
- capslock UP::
- mousemovepreciseEnd:
- ;originalMouseSpeed:=10
- ; ^ get this from your mouse options, go to the left and press right key till you get back to your current speed
- DllCall("SystemParametersInfo",UInt,0x71,UInt,0,UInt,originalMouseSpeed,UInt,0)
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement