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

mlx_mouse_move doesn't move cursor #50

Open
aenglert42 opened this issue Jun 4, 2022 · 2 comments
Open

mlx_mouse_move doesn't move cursor #50

aenglert42 opened this issue Jun 4, 2022 · 2 comments

Comments

@aenglert42
Copy link

Does the function mlx_mouse_move work as intended? It seems like it changes the mouse position in the background (I can see that using mlx_mouse_get_pos), however the cursor (visually) doesn't move. When I move the mouse afterwards and use mlx_mouse_get_pos again, I get a position close to the original one (so it seems that the point of reference is the visual cursor, not the values I get with mlx_mouse_get_pos). Hiding and showing the cursor doesn't change that.

@Magikh42
Copy link

Magikh42 commented Nov 5, 2024

Any update or workaround ?

@clement2150005
Copy link

I had a similar issue with mlx_mouse_move not working yesterday. Turns out, since I was running the program on a VM, my actual computer mouse controlling the VM's mouse had priority over the MiniLibX mlx_mouse_move function. If anyone is having issues while running the program in a VM, they should try running it directly on a school machine to see if that fixes it.

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

3 participants