You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: