I built SuperCollider, i think 3.14.0, on my Raspberry 5. I can’t get the MouseX or MouseY commands to work although my Mouse works appropriately otherwise. What’s the deal?
Thanks in Advance
I built SuperCollider, i think 3.14.0, on my Raspberry 5. I can’t get the MouseX or MouseY commands to work although my Mouse works appropriately otherwise. What’s the deal?
Thanks in Advance
MouseX / MouseY don’t work under Wayland display server (they work under X11). I don’t have RPi myself but I’m guessing that the default distribution has moved to Wayland.
We don’t have a solution to this, as it is not possible to simply grab mouse/keyboard input under Wayland.
Rpi can either use x11 or wayland. I opted for wayland because it was newer, not knowing it would break something in SuperCollider. I switched back and MouseX and MouseY work as expected. I also get to have x11 fractal screensavers, which I was missing in Wayland.
Thanks
Maybe we can add a comment to the documentation of MouseX | SuperCollider 3.14.0-dev Help and MouseY
? I think there will be more and more people using Wayland in the future.
I think so. Actually, I suggested that last year.