Open Magna-Graecia opened 2 years ago
when you have "Optimize mouse for remote desktop" unchecked (default), it should capture the mouse which gives us position deltas and prevents the cursor from leaving the window. I haven't heard of issues with that functionality.
Are you actually seeing the cursor reappearing outside of the Moonlight window on your client PC while streaming without unbinding or toggling mouse mode?
Please also provide the information request in the issue template: https://github.com/moonlight-stream/moonlight-qt/blob/master/.github/ISSUE_TEMPLATE/bug_report.md
Hey Cameron. Thanks for the reply, and my apologies on not getting back to you sooner, as well as providing the information requested in the issue template. I'll do that now. One thing I will say in response to your question is whenever I go into a menu where the cursor should appear because you need it, it's always at the edge of the screen. For example, I'll be in a match where I'm controlling my character. The match ends and now goes back to the game menu where the mouse cursor shows. The mouse cursor will be at the edge of the screen. This is probably normal, but one thing I noticed is that when I'm in a match where the cursor doesn't show because I'm controlling my character, I can actually see the cursor flash at the edge of the screen.
So the bug I described above.
To reproduce it, I'm not sure. It seems to happen randomly. What I can say is that when it happens, I'll immediately stop rotating my character and keep left-clicking to fire, and nothing happens. If I now rotate my character the opposite direction that I was turning him when the issue began, I can now fire again, so this is why I believe it's something having to do with the mouse going "off the screen" or something like that.
I'm not sure if screenshots would help show the issue.
The game in question is called Predator: Hunting Grounds. I've tried moonlight with another game called The Isle where you basically control a dinosaur (it's a dinosaur survival game), and I will say that for the most part there doesn't seem to be the same issue in that game. I can't completely tell though because that game is very different and doesn't involve a lot of quick turning and constant left-clicking to fire. The dinosaurs turn slow, and they also have a steady bite pace. You can't just spam left click to bite in quick succession like you would firing a pistol in a shooter for example. Sometimes I feel like my clicks don't register, but I can't tell if that's the game or what because it can be like that sometimes with the slow bite pace. If the issue does exist in that game, then it's just not one of those where it will be as heavily noticed as it is in a game like Predator; Hunting Grounds.
I haven't tried it on iOS or Android.
I think the only settings I changed from default was putting the bitrate to max, turning off optimize game settings for streaming, and maybe setting it to 1080P if it wasn't already set there.
Client PC details: Windows 7 Home Premium Service Pack 1 (ya I know it's old, but it works and that's why I steam to it haha). Moonlight PC v4.1.0 GTX 660 ti
Server PC details: Windows 11 Home 21H2 GeForce Experience 3.25.1.27 Nvidia Graphics Driver 516.59 (RTX 3060) Only security is Windows Defender and Firewall
Not sure if a log will help with this issue, but if it will, then I'll play the game for a bit and then attach the log from that period. Let me know if you need that.
So I'm playing Predator: Hunting Grounds as the fireteam, which you play as a first-person shooter. At some moments my mouse will stop responding when I click to fire or really anything else except mouse movement. I've been able to confirm that it has something to do with the mouse pointer going off the screen because when I was able to recreate the issue, I immediately stopped moving and just kept clicking my mouse. I would get no weapon firing. I would then move my mouse in the opposite direction that I was turning and make my character do a 360. Now mouse clicking works. If I do a 360 turn back towards the direction that I turned from, then once again it doesn't work. I've tried enabling "Optimize mouse for remote desktop instead of games", and then using Ctrl+Alt+Shift+L to lock the mouse pointer to the video area, but this doesn't do anything. It's hard to tell if it even works because there's no notification.
Is anyone aware of this issue already? And is there a fix? I tried searching around, but couldn't find much. Anyway, thank you @cgutman for your amazing work on this. Everything with it works perfectly, and this is the only issue I have, albeit a pretty big one when playing an FPS. Hopefully you can help me out :)
Maybe I need to input Ctrl+Alt+Shift+M to toggle the mouse mode and then lock it?