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

Cursor events are not created if no buttton are pressed #62

Open
tormol opened this issue Oct 4, 2015 · 2 comments
Open

Cursor events are not created if no buttton are pressed #62

tormol opened this issue Oct 4, 2015 · 2 comments
Labels

Comments

@tormol
Copy link

tormol commented Oct 4, 2015

No description provided.

@chrisrharris
Copy link

Is this issue possibly the reason why set_mouse_capture on a glutin window doesn't seem to be capturing mouse movement? I changed the window back-end in the Piston cube example to glutin, and it fails to capture the mouse events for the first person camera. (Ubuntu Gnome 15)

@zmoshansky
Copy link

I just noticed e.cursor_args only works on glutin if a button is being held down when it exits the window (Works fine in SDL2). Looking at the commit where it's implemented, it looks like the code is correct. It makes me think that maybe E::MouseMoved((x, y)) isn't triggered when the mouse leaves the window unless a button is pressed.

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

No branches or pull requests

4 participants