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 button input hardly works on Mac #557

Closed
dylanede opened this issue Jul 29, 2015 · 3 comments
Closed

Mouse button input hardly works on Mac #557

dylanede opened this issue Jul 29, 2015 · 3 comments

Comments

@dylanede
Copy link
Contributor

I've started work on cef-rs again, and now that I've updated everything to the latest Rust nightly and library versions, I've discovered a regression since I last used Glutin mouse input 6 months ago. Currently, although mouse movement input works (though now it seems to be reporting mouse movement events when the mouse moves anywhere on the screen, not just on the window, resulting in sometimes negative mouse coordinates), mouse button input is broken. The only mouse click event I can get to show up is releasing the left mouse button, sometimes. This is simply from a for loop on display.poll_events(). Any ideas what might have broken this?

@dylanede
Copy link
Contributor Author

Having said that, I now realise that it may in fact be the case that mouse button input never worked on Mac - the last time I used mouse button input was on Windows.

@bvssvni
Copy link
Contributor

bvssvni commented Aug 15, 2015

Mouse button input works ok on OSX 10.9.5. Could you try the "user_input" example and see if there is a difference between Glutin and SDL2 on your computer? https://github.com/pistondevelopers/piston-examples/

@tomaka
Copy link
Contributor

tomaka commented Nov 3, 2016

Closing for rust-windowing/winit#51

@tomaka tomaka closed this as completed Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants