I’ve been trying to create a right stick moue control in godot and it seems the warp_mouse function is not working. None of them, coming from get_window, get_viewport, Input, seems to work.
The interesting thing is the mouse position seems to be updated internally but the mouse cursor is not moving at all in the screen.
Here it is a simple scene code you can use to reproduce this. Just create a basic scene with whatever root node you want, and add a script with this code. It should work and move the cursor, but in my case the cursor is not moving at all. (Added also commented code I’ve been using but nothing of that worked)
Are you experimenting the same problem? It can be related with my setup (I’m using Linux, wayland and Intel Irix iGPU), but after looking for errors like this one in every place I can’t find anyone with this specific problem, so I do not know if it is a bug or what can it be.
I’ve also tested this in Godot 4.4 and in different linux computers (Fedora Workstation with Wayland) and the code do not work in them. It seems it is a bug related with Linux/Wayland