Skip to content

Comments

CHANGE: Added Windows Input tests to ensure Mouse movement works usin…#1080

Merged
karljj1 merged 5 commits intodevelopfrom
se/input/rdp-mouse-position-fix
May 11, 2020
Merged

CHANGE: Added Windows Input tests to ensure Mouse movement works usin…#1080
karljj1 merged 5 commits intodevelopfrom
se/input/rdp-mouse-position-fix

Conversation

@karljj1
Copy link
Collaborator

@karljj1 karljj1 commented Mar 3, 2020

Added a test to go with the fix in https://ono.unity3d.com/unity/unity/pull-request/102187/_/se/input/rdp-mouse-position-fix

CHANGE: Added Windows Input tests to ensure Mouse movement works using RDP.

@karljj1 karljj1 requested a review from Rene-Damm March 3, 2020 16:21
@karljj1
Copy link
Collaborator Author

karljj1 commented Mar 3, 2020

The tests are expected to fail until the fix lands

Copy link
Contributor

@Rene-Damm Rene-Damm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this goes end-to-end, would prefer to have this as part of IntegrationTests.

Also, I assume this can't land until we've landed the fix on the native side?

[Category("WindowsInput")]
public IEnumerator WindowsInput_RemoteDesktopMouseMovements_AreDetected()
{
var mouse = InputSystem.GetDevice<Mouse>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mouse.current

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You want it moved into the IntegrationTests folder?

@karljj1
Copy link
Collaborator Author

karljj1 commented Mar 25, 2020

Wont be able to backport this fix further than 2019.3 so these tests wont pass. Ill have a think about a solution, maybe move the test into trunk.

karljj1 added 3 commits April 27, 2020 11:23
The fix is not available in lower versions.
Due to error in tests
[UPM-CI-UTILS] ERROR - Usage of Bintray registry https://api.bintray.com/npm/unity/unity-npm will become obsolete by May 2020. Please, change the npm url https://api.bintray.com/npm/unity/unity-npm in /Users/builduser/build/output/Unity-Technologies/InputSystem/.yamato/upm-ci.yml for 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm'
@karljj1 karljj1 merged commit 4dff741 into develop May 11, 2020
@karljj1 karljj1 deleted the se/input/rdp-mouse-position-fix branch May 11, 2020 09:34
js-dignitas added a commit to js-dignitas/InputSystem that referenced this pull request Jul 5, 2021
* github/develop:
  CHANGE: Move Unity min version up to 2019.4 LTS (Unity-Technologies#1168).
  FIX: Stack overflow in SwithCurrentActionMap (case 1232893, Unity-Technologies#1164).
  FIX: Gravity, LinearAcceleration, and Attitude not initialized on iOS (case 1251382, Unity-Technologies#1160).
  FIX: Control picker empty when using 'Supported Devices' (case 1254150, Unity-Technologies#1163).
  NEW: Add concept of 'precompiled layouts' (Unity-Technologies#1156).
  FIX: Missing HelpURLs (Unity-Technologies#1157).
  FIX: Actions not triggering with axis controls that have no limits (Unity-Technologies#1128).
  FIX: Broken CI (Unity-Technologies#1159).
  FIX: CHANGELOG dates not conforming to ISO 8601 (Unity-Technologies#1141).
  FIX: No input coming through in UnityTests (Unity-Technologies#1139).
  FIX: Drag-reordering losing bindings (case 1228000, Unity-Technologies#1150).
  CHANGE: Added Windows Input tests to ensure Mouse movement works usin… (Unity-Technologies#1080)
  FIX: Broken CI from NPM server changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants