Open scarlettekk opened 1 year ago
I am surprised no one has reported this sooner. This is probably because wayland does not support teleporting the mouse.
If you are the focused surface, it definitely does. See https://wayland.app/protocols/pointer-constraints-unstable-v1
This bug is affecting my usage of amulet too. I'll try switching to switch while using amulet until a fix is available...
Bug Report
Current Behaviour:
When running under wayland, mouse input is very erratic and has an unusably high sensitivity. The further the mouse pointer is from the center of the screen, the worse the problem becomes. The video is even with sensitivity set to 1, the lowest option.
Expected behavior:
The mouse input runs at a reasonable rate and is easy to use.
Steps To Reproduce:
Launch program under wayland (I used Hyprland, on arch linux), make sure the program does not run under xwayland. Load a world and try using the mouse to rotate the viewport (right click + drag)
Environment:
Additional context
The problem does not occur under Xwayland, confirming it is something to do with wayland
Attachments
Screenshots
https://github.com/Amulet-Team/Amulet-Map-Editor/assets/42524580/c3827f45-8995-45d7-b672-31e39ec44879
Worlds