Mouse Confine/Mouse Lock API fails on certain games.

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Mouse Confine/Mouse Lock API fails on certain games.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by yum13241 » Thu Apr 27, 2023 12:44 pm

So its been a week since I installed Tiny11.
The issue has NOT come up. Which is absolutely amazing. :D
That, and your PC should be noticeably faster.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Thu Apr 27, 2023 11:52 am

So its been a week since I installed Tiny11.
The issue has NOT come up. Which is absolutely amazing. :D
Thank you for everyone who helped/try to help. ^_^

Only Windows 10 was having the issue...
My only real theory on this is Macrocrap could be silently.. Phasing out Win10 for 11, even though they are still updating it. That or my mobo doesnt like Windows 10. Who knows.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Thu Apr 20, 2023 12:16 pm

I'll be trying Tiny11 when it downloads.

I should be able to run Win11 with no issue (outside of hoping it kills this curse) seeing as it's "minimum" requirements normally is something I exceed in. (despite the PC checker saying my PC isn't good enough for it).

Its just weird, but it is a legal product key I use from the CD itself, so Activating doesnt do anything. I dont understand why one part just breaks, without giving a warning in EventViewer, in otherways it reads "its working properly and nothing is broken", when obviously something is. >_>

Re: Mouse Confine/Mouse Lock API fails on certain games.

by yum13241 » Thu Apr 20, 2023 3:08 am

Have you tried Windows 11? I use Tiny11 (windows 11 without all the bullcrap, the author of it, NTDev, has had countless ISO investigations, and they turned up nothing. It's also fully updatable. You can also give it a vanilla ISO and get the Tiny11 Builder.)
Do not blame me if your PC explodes however.

For me it works fine.

It'd be pretty screwed up if Windows disabled the API if it's not activated or smth.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Wed Apr 19, 2023 1:16 pm

Yeah, all I can give is what I said before.
It lasts a week with no issues, then the API breaks on the exact day of 1 week..
It definitely something with the OS screwing up somewhere.

After initial installation, 2 days later it installed .net framework and Security update for 22H2, Windows Update for 22H2 system (3 of them). Has not installed anything else, nor logging in with my MS acc.
I reseated/put GPU in other slot to see if that would do anything, turned off the auto-turning off USB setting-- Only reason because I was trying to see if any updates co-related to the mouse, but that didnt do much.
Always set to High Performance Power, Turn off Fast boot and sleep mode.
Installed my usual which is Geforce exp for Drivers, Chrome, Firefox, Steam, Battlenet, OBS/Streamlabs bot/Elgato Stream Deck, Razer Synapse, Malwarebytes, GoG Launcher/Epic Games.

I appreciate you trying to help me through this. ^_^ just don't know where and why it breaks. I hope it's not on all Windows versions, that'd make things worse.

I've updated the BIO's 2 months ago, couldnt see if there was a special driver for my Graphics card for my mobo, even went as far as using the base driver disc for the GPU, to no avail. ;/

Re: Mouse Confine/Mouse Lock API fails on certain games.

by yum13241 » Wed Apr 19, 2023 12:38 pm

I need more information to further help.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Wed Apr 19, 2023 10:16 am

The attempt failed. :(

Re: Mouse Confine/Mouse Lock API fails on certain games.

by yum13241 » Sat Apr 15, 2023 1:51 am

USB using tools like rufus
Not to mention Ventoy exists. It's a lifesaver.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Wed Apr 12, 2023 2:26 pm

Mk, this time I did the USB x Rufus with a iso of latest update Windows (while deleting old partition for no residual files for OS), and this time not log into MS in OS itself, so heres to hoping I dont have the issue.
and just incase, reseated my GPU in new slot, see if slot could be at fault.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by SanyaWaffles » Wed Apr 12, 2023 9:53 am

I was encountering something like this when I fresh installed Windows 10 (My Windows 10 and 11 installs before were both buggy in an unrelated way) - and GZDoom (both stock and my in-house fork for game dev) sometimes wouldn't show the cursor if I alt-tabbed a certain way while in menus.

If it happens again I'll try to reproduce it and report my findings, but it seemed to happen with the new install. Before it was fine.

(Also I have to agree with Yum, just go right to the fresh install options from USB using tools like rufus, the built in reset/in place upgrade tools are rocky at best, especially when downloading updated copies)

Re: Mouse Confine/Mouse Lock API fails on certain games.

by yum13241 » Wed Apr 12, 2023 9:01 am

but I hate how complex it is, I am so used to the applications opening instead of terminal everything to get anything to work.
You'll get used to it. In the mean time, try using graphical package managers and such. Garuda Linux also might work out for you.
I've done so many variations of Resets, from keeping files, wiping the drive clean, USB to build the OS...
DO NOT USE THE WINDOWS BUILT-IN RESET FEATURE! It cannot be trusted. Go to https://www.microsoft.com/software-download (for the MCT) or https://ave9858.github.io/msdl/ for actual isos.

Optionally verify the checksum with https://files.rg-adguard.net/.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Tue Apr 11, 2023 10:49 am

Yeah, I'm at a loss, I dont know where to find a completely clean OS Image, I've done so many variations of Resets, from keeping files, wiping the drive clean, USB to build the OS...
I have figured fully it is OS, as Ubuntu worked even after a week, but I hate how complex it is, I am so used to the applications opening instead of terminal everything to get anything to work.
I just wish I know what the hell MS does that breaks me. I even made a post on StackOverflow just to see if anyone responds (been nearly 3 weeks since posting), had Microsoft Tech email going (no response since a month).

I know it sounds like complaining, but I'm just frustrated that I can't do what I normally do. :(

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Sat Mar 11, 2023 11:24 am

The Curse continues....
Running thin on how I can fix this, even got a new mouse, just 1 week.. Or I dont know how to do the clean boot.
The only things that could be culprit is RAM, or Mobo, or GPU in some shape or form... And I cant replace either. :(

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Mon Mar 06, 2023 12:23 pm

Redneckerz wrote: Fri Mar 03, 2023 3:03 pm Just going to state that Mouse Lock API is now called Pointer Lock API, just to be clear.
Because this is ultra specific, i am going to be blunt and state that even a reinstalle of Windows does not change whatever customary change has occurred on the system since it was bought. Because, by powers of deduction, if this were a general issue, the general public would have cried wolf at this point :)

So to eliminate this, what is needed is a full on restore to the system as it was bought, or a Windows image that is completely clean.
I built the computer, order and put together myself. Just the first time worked fine, but it could also be just my mouse is old (and showing age, scroll wheel double clicks), and if an old mouse can cause the issue, then ordering a new one should "potentially" skirt the issue.
The only custom thing done to the mouse is just installing Razer software, and always set to 900 dpi, and a macro that rarely gets put on unless I play a modded Minecraft skyblock pack.

Re: Mouse Confine/Mouse Lock API fails on certain games.

by merithor » Sat Mar 04, 2023 11:19 am

Alright, I went through a completely clean image, OS installed from a portable drive and not the disc, will contact in a week if the problem happens again or if the curse finally lifts itself because clean image was the answer.

Top