Freelook left/right keybinds for FPS

Ask gaming related questions (AHK v1.1 and older)
Monomoy
Posts: 34
Joined: 27 Aug 2019, 11:11

Freelook left/right keybinds for FPS

Post by Monomoy » 01 May 2022, 13:28

Code: Select all

F22::
SetStoreCapsLockMode, Off
SetMouseDelay, 1
SetKeyDelay, 25
SetDefaultMouseSpeed, 1
MouseGetPos, x, y
Send {F13 down}
MouseMove, 4000, 0, 15, R
Send {F13 up}
Return
Thought it would be a lot easier to bind left/right freelook glances to the mousewheel side-clicks, rather than manually holding the freelook key and moving the camera

So far the problem I am having is, MouseMove (relative) isn't causing mouse movement in-game, but works for sending mouse movement outside of the game ...

I read that sending a dllcall mouse event might work :?

Return to “Gaming Help (v1)”