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

Get native mouse movements #427

Open
bartatamas opened this issue Nov 25, 2022 · 0 comments
Open

Get native mouse movements #427

bartatamas opened this issue Nov 25, 2022 · 0 comments

Comments

@bartatamas
Copy link

Hi,

I need to get native mouse movement events, not screen coordinates. Now I read /dev/input/mice in Linux for this purpose but I'm looking for a platform-independent solution. I tried this library and I see that NativeMouseEvent contains screen coordinates instead of delta movements. I mean if cursor is in top left position and I move mouse to left then native movement is detected well from /dev/input/mice but this library keep sending events with x=0 and y=0. Is it possible somehow to get real delta movements?

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

1 participant