And I just realized this extension probably doesn't lock it to the center of the window... I'm gonna go file a bug report.
Mx. Ace
Recent community posts
Looking back at my initial comment, I notice I worded it badly enough for me to wonder how I am the one that wrote it... Sorry about that.
The window_mouse_get_delta_x() and window_mouse_get_delta_y() functions work fine, assuming the mouse would be locked to the center of the window. The issue is window_mouse_set_locked(true) marking the mouse as locked, but not actually locking it. The only functions from this extension which I think I'll need are display_mouse_lock() and maybe display_mouse_unlock().
I also looked up XGrabPointer, but I think that only works on X11. GameMaker's built-in window_mouse_set_locked(true) already has proper support on X11 I think, I need support for Wayland.
If filing a bug report is the best option, then I'll be doing that.
I am looking for a GameMaker Studio 2 extension that lets me lock my mouse and get the movements every step for looking around in my 3D game on Linux. I am using Wayland, so GMS2's built-in functions won't work (only the window_mouse_set_locked function doesn't work, the mouse delta functions work fine, assuming the mouse would get locked to the center of the window).
While I could run the demo using Wine, I feel like that would be a bad representation of its behavior.
Could a demo for Linux be built and uploaded?