Skip to content
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

Mouse cursor is sticky on the borders of the screen #79

Open
vanfanel opened this issue Aug 19, 2019 · 4 comments
Open

Mouse cursor is sticky on the borders of the screen #79

vanfanel opened this issue Aug 19, 2019 · 4 comments

Comments

@vanfanel
Copy link

vanfanel commented Aug 19, 2019

Hi there!

I have built latest Nuvie GIT against SDL2. I run it fullscreen, on a 1360x768 display, so SDL2 hardware-scales the game from the original 320x200 to the native display resolution, as it must be.
However, mouse cursor tends to get "sticky" when I move it to the edges of the screen: I can move the physical mouse for a while until the cursor starts moving on the screen. Maybe it could be fixed?

@DominusExult
Copy link
Member

If this is on Linux, I think this is an issue of the geaphics system/sDL2 and not Nuvie.

@vanfanel
Copy link
Author

@DominusExult : Yes, this is on GNU/Linux.
Other game engines, like scummvm, dont show this behaviour. Do you care to elaborate?

@DominusExult
Copy link
Member

I can't find it anymore. I'm pretty sure, I saw something about this somewhere some time ago. doesn't help, I know :(

@vanfanel
Copy link
Author

May it be possible that SDL2 allows mouse to move outside a 320x200 area when physical resolution exceeds this area? That would explain why mouse is sticky to the bottom and right borders...

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

No branches or pull requests

2 participants