I'm interested in disabling the w,a,s, & d keys while holding down the left mouse button. (Games such as cs:go and valorant penalize shooting while moving, so I'd like to preclude that situation entirely). I just learned about autohotkey, so I'm sorry if I offend someone with this attempt at code(which obviously doesn't work):
while (GetKeyState("LButton", "P"))
{
w::return
a::return
s::return
d::return
}
Thanks, much appreciated!