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

Don't set the raw mouse motion input mode on macOS #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

moomba42
Copy link

Currently if you try to use the setInputModeCursor function on macOS, then GLFW will produce the following error.PlatformError: "Raw mouse motion is not supported on this system". This happens for every possible value parameter.
By checking if the platform is macOS, we can avoid this error.

Tested on Macbook Pro M1 with macOS Sonoma 14.5.

  • By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right.

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.

1 participant