So I got bored and started working on that AHK script. I've got it working in windows but won't be able to test in game til later.
Currently I have it so that if you hold shift & RMB, it doubles your mouse sens & then when you let go of RMB it returns it to what it was. You can change the amount by adjusting the multiplier in the line "Mouse_Speed_Slow := Mouse_Speed_Orig * 2". Change the 2 to whatever you want. If you set it below 1 it will slow your mouse while holding RMB.
If you want to get rid of the shift modifier, remove the "+" before "RButton::" Note that removing the shift modifier will prevent right click from working in windows while the script is running.
I'll post an update once I get a chance to confirm this works in game. Some games block AHK scripts.
http://pastebin.com/PEbaAsCt
Code:; GET INTIAL MOUSE SPEED: ; 0x70 (SPI_GETMOUSESPEED), third parameter is the speed (range is 1-20, 10 is default) DllCall("SystemParametersInfo", UInt, 0x70, UInt, 0, UIntP, Mouse_Speed_Orig, UInt, 0) Mouse_Speed_Slow := Mouse_Speed_Orig * 2 Mouse_Speed_Slow := Floor(Mouse_Speed_Slow) ; Or directly set the speed: Mouse_Speed_Slow =5 Return +RButton:: toggleMouseSpeed() KeyWait RButton toggleMouseSpeed() Return toggleMouseSpeed() { global ; 0x71 (SPI_SETMOUSESPEED), third parameter is the speed (range is 1-20, 10 is default) DllCall("SystemParametersInfo", UInt, 0x70, UInt, 0, UIntP, Mouse_Speed_Now, UInt, 0) If Mouse_Speed_Now =%Mouse_Speed_Orig% DllCall("SystemParametersInfo", UInt, 0x71, UInt, 0, UInt, Mouse_Speed_Slow, UInt, 0) Else DllCall("SystemParametersInfo", UInt, 0x71, UInt, 0, UInt, Mouse_Speed_Orig, UInt, 0) Return }


Reply With Quote
(win7)
