-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX: VirtualMouseInput not supporting UI scaling other than constant. #1119
Conversation
@@ -31,7 +31,7 @@ internal class RemoteInputPlayerConnection : | |||
{ | |||
public static readonly Guid kNewDeviceMsg = new Guid("fcd9651ded40425995dfa6aeb78f1f1c"); | |||
public static readonly Guid kNewLayoutMsg = new Guid("fccfec2b7369466d88502a9dd38505f4"); | |||
public static readonly Guid kNewEventsMsg = new Guid("34d9b47f923142ff847c0d1f8b0554d9"); | |||
public static readonly Guid kNewEventsMsg = new Guid("53546641df1347bc8aa315278a603586"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated fix but so minor I didn't bother routing it in separately. This one was a copypaste mistake where I ended up inadvertently reusing a GUID from the docs. Which then someone discovered because another Unity system had done the same :D
/// and the system mouse. This may, for example, interfere with automatic control scheme switching (which is why the disabling | ||
/// is on by default). | ||
/// </remarks> | ||
public bool disableSystemMouse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A user got caught off guard that the system mouse wouldn't work if VirtualMouseInput is used. This is intentional and IMO the better thing to do in the current setup. However, I can see how that can be quite undesirable so I opted for just exposing an option to toggle the behavior off. Default is on so behavior is unchanged from before.
Bouncing this to after 1.0. I thought I had the very test that is failing here green and everything working after the change but now seems the positioning of the mouse got broken. |
Rene Damm seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Out of curiosity, what is the status of this issue from what I can see, this still exists in the latest InputSystem? |
Will continue in #1639 |
Integrates #1078.