Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Mouse position aligned to screen #12

Open
paewie opened this issue Feb 29, 2016 · 0 comments
Open

Mouse position aligned to screen #12

paewie opened this issue Feb 29, 2016 · 0 comments

Comments

@paewie
Copy link

paewie commented Feb 29, 2016

I was updating MonoGame DesktopGL to the newest Development snapshot when experiencing the following:
My Mouse.GetState() call returned the mouse's position relative to the Top-Left corner of the screen, not the GameWindow as before and expected.
Tracking this further I ended up with OpenTK.Input.Mouse.GetCursorState() returning this misaligned position which is simply copied to the MonoGame-struct's variables. Therefore I'm assuming this is a bug or whatever within this certain function. I was able to reproduce this exact behavior on two completely different Windows 10 x64 machines, no idea whether it appears on other systems, too.
Let me know if I can help or if it's my problem,
regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant