MRelative on Windows should automatically keep the cursor centered
Bug #1003669 reported by
coppertop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Right now, the optimal way to build mouselook for Linux and Mac is to use MRelative and do it without resetting the mouse cursor. However, the only way on Windows is manually resetting the cursor since MRelative does nothing there. It means one should either make two mouse look mechanisms, or stick to manual resetting which is redundant on Linux and Mac.
It would be great if MRelative on Windows automatically kept the cursor centered, just for the sake of consistency.
To post a comment you must log in.
Perhaps it could use a Windows API function like ClipCursor to constrain the cursor to an area in the centre of the window.