Closed thiblizz closed 1 year ago
@emilyinure If you toggle menu while not on the cs:go game window, then go back to game window, it will keep with low fps.
The only way to go back to normal is to unfocus the game window, untoggle back the menu, then come back to the cs:go game window.
I think menu toggling should be done in the wndproc hook, but afterwards the input should be updated in another way.
@emilyinure, not needed, but note that the wndproc hook doesn't need to be implemented.
I've fixed it but I ended up having to just check the focused window whenever scanning input. Wndproc was having some issues where keyboard input was delayed or not received at all. Wndproc is still used for mouse input as for some reason there's no delay or missed input for that.
I've fixed it but I ended up having to just check the focused window whenever scanning input. Wndproc was having some issues where keyboard input was delayed or not received at all. Wndproc is still used for mouse input as for some reason there's no delay or missed input for that.
On my side, I already implemented this check and totally removed the wndproc hook (doing everything in one hook).
@emilyinure Currently, only mouse input is not captured outside the game window, but keyboard input is still captured while you are on Windows and you could unintentionally unhook your cheat or even display the menu just by pressing keys, this is an unwanted/unnecessary behavior.
Regards,