Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Hold capslock to slow your mouse to speed 1
- Release your mouse to go back to normal speed.
- Useful for drawing with mouse, editing images in general, 3D modelling, etc.
- */
- capslock::
- mousemoveprecise:
- if originalMouseSpeed=
- DllCall("SystemParametersInfo", UInt, SPI_GETMOUSESPEED, UInt, 0, UIntP, OriginalMouseSpeed, UInt, 0)
- 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