microsoft / microsoft/DirectX-Graphics-Samples
[MiniEngine] Remote desktop makes mouse move and camera rotation too fast
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
If we run ModelViewer in a Remote Desktop, the mouse position changes are very large, generating large yaw and pitch values for the camera. In this case, the camera is hard to handle.
Tested in Windows 10 - Version 1909, Build 18363.1801
It seems Direct Input has some issue with Remote Desktop - https://github.com/microsoft/DirectX-Graphics-Samples/blob/7bf2e124a1fa81695fb82764fe3537e74c5fc956/MiniEngine/Core/Input.cpp#L265
(Much abs larger s_MouseState.lX and s_MouseState.lY values are queried for the Remote Desktop, comparing to the local window case)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked DirectX Graphics Samples Input.cpp reference around line 265 and inspect how ModelViewer turns mouse deltas into camera yaw and pitch. Reproduce the behavior in Windows 10 over Remote Desktop, then verify that camera movement remains manageable without breaking local-window input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100