Controller Companion

Controller Companion

chouia May 8, 2015 @ 12:33pm
Slow down cursor's speed when holding CTRL. (AutoHotKey script)
This application is good by default. However, you can "set" mouse speed, but unfortunately you cannot "switch". As I'm not very good at aiming with joystick, I just use this smll AutoHotKey script (I found on internet) to be able to click with high precision. (You need AutoHotKey installed... but it's free and open-source.)
When I hold "LT" button (CTRL by default), the mouse's speed is very slow.

Maybe it could be improved, maybe it would be better to remove acceleration in "slow mode"... but it works. If you have better idea, you're welcome.

I know! the good point of "Companion Controller" is that it works out of the box, so it's crazy to have to customize. Whatever, I wanted/needed it. ;)



For AHK users, as usual: put this in a text file, use ".ahk" extension, and launch it!
DllCall("SystemParametersInfo", UInt, 0x70, UInt, 0, UIntP, Mouse_Speed_Orig, UInt, 0) Mouse_Speed_Slow := 1 Return *~Ctrl:: DllCall("SystemParametersInfo", UInt, 0x71, UInt, 0, UInt, Mouse_Speed_Slow, UInt, 0) return *~Ctrl Up:: DllCall("SystemParametersInfo", UInt, 0x71, UInt, 0, UInt, Mouse_Speed_Orig, UInt, 0) return
Last edited by chouia; May 8, 2015 @ 12:34pm
< >
Showing 1-1 of 1 comments
LegzRwheelZ Aug 15, 2022 @ 3:56am 
This is cool, not what I came here for though...I am curious if you have issues closing CC with ahk? I created a script that calls on CC when my hotkey is pressed and a hotkey that closes chrome and supposedly CC. However when I press my hotkey to close them, only Chrome closes. I have tried winkill, process,close and winclose with the ahk_exe process name but it will not kill CC. Any ideas?
< >
Showing 1-1 of 1 comments
Per page: 1530 50