Naemonogatari

joined 1 year ago
[–] Naemonogatari@lemmy.world 10 points 1 year ago

I love them both 🥰

[–] Naemonogatari@lemmy.world 1 points 1 year ago

Most games do have exclusive fullscreen which doesn't suffer from this problem most of the time, but depending on how the game handles alt-tabbing and such, it might not be an ideal solution

 

So back when I wrote this program, I promoted it on reddit and discord and other places. I figured since their days are probably numbered, I'd share it on here as well.

Basically, a couple years ago I wrote a program that locks the cursor to any fullscreen window while that window is in focus. This is handy for games if you have multiple monitors, as some games don't lock the cursor, or instead of doing the right thing (issuing a win32 call to lock the cursor to the window of the game while it's in focus), they have come up with their own shitty hacks, such as recentering the cursor every 50ms (looking at you, CSGO...) which works great until you need to hit a flick, drag your mouse a long way very quickly, and instead of nailing someone in the head, you end up alt-tabbing and losing the round.

Here's the link: https://github.com/blaberry/FullscreenLock

It's free of course, in any sense of the word.

Enjoy!