Vladimir Panteleev
Vladimir Panteleev
> Why not? I mean a video taken with a video camera, not a game capture. Because I think you described what the problem looks like well enough, and I...
Can you compile a debug version? It will print activations and deactivations to a window, which you can place on another monitor and see what it's doing.
OK, here is a debug build: https://dump.thecybershadow.net/04f14fa7d7be5be9dd1e79ae2bb70eee/AutoMouseLock-signed.exe You can ignore the lines with just numbers; look for the lines with the words "Locking", "Unlocking", "Success" and "Failure". If you see...
Hmm, first screenshot looks a little suspicious, looks like something stole focus or you clicked on an invisible window? Have you tried closing other programs yet? Here's a debug build...
> The first screenshot was your application requesting focus What do you mean? Did you run it a second time? You should terminate past instances before running a new one....
OK. The program definitely does nothing to request focus to its console window, so it was likely the OS giving focus to the next window in the Z-order. The non-debug...
Oh, that's clears things up a bit. It means something is undoing AutoMouseLock's work and resetting the mouse clipping rectangle. Could be either the game itself or another program running...
That's misrepresenting the situation. As it is, likely one of the following two is true: 1. The game or a program that is running already has a feature to confine...
The cursor was already unlocked at the top of your screenshot. See what causes the last 2 numbers to change from (1920,1080) to (3840,1080).
Ah, OK. I could add a sound to when it changes if that would help.