Ive noticed that KDE and Gnome has some remote desktop portal thing that takes control of the cursor when i use gyro on my dualsense controller. Has anyone found a workaround to control the cursor for tiling WMs? It seems like with the WMs I've tried with my dualsense controller (i3, sway, and niri) dont seem to have the remote desktop portal prompt to take control of the cursor. I understand the tiling WMs are a more 'bare' DE experience, but has anyone come across a workaround or know how to force the prompt in a tiling window manager?
#Is there an RDP tiling WM workaround for game controllers?
36 messages · Page 1 of 1 (latest)
@jade sable what rdp client are you using?
Im currently on niri, so im assuming it would be gtk
@jade sable that's not a client
Does xdg-desktop-portal-gtk point me in the right direction?
Sorry, I sort of saw the term online while looking around and sort of ran with it. Im referring to the remote desktop (service?) provided by xdg-desktop-portal
what is remote desktop in this context?
I can only answer that in terms of what I've done to get that prompt to show on Gnome.
- open a game in steam with steam input enabled and gyro to mouse enabled within said settings
- move controller
- prompted if I and to allow my controller access to my desktop from a window named remote desktop (where I understand remote desktop from)
photo please
Allow me a moment to change DEs
I thought i could record, but im having issues with obs. Here is the prompt im given when trying to use the gyro of my controller
@jade sable that is only a option on gnome
Once i accept it, it brings up something tracking it in the upper right with the gnome system tray stuff
So even with the desktop-portal, something like this wouldn't be possible?
hold on
that is a gnome only option
if you use a different de/wm it won't show that
Do you know if it would be possible to call in niri with the xdg-desktop-portal for gnome?
Ik i said "gtk" but again, just kinda tossed something out there.
@jade sable reboot into xfce4 and play a game
Or maybe if not calling this specific thing in the WM of choice, is it possible to emulate something like this for control over the cursor?
You'll have to give me a little bit, i don't have xfce installed rn
pacman -S xfce4
I guess i had some residue left from when i used i3, but it works fine without prompt. I am able to control my mouse with my controller
the controller stood on tho, im going to retest with turning off/on controller
Gyro to mouse still controls the cursor. No prompt either
Do you know what might give it these perms in x11? Maybe i can look around for something to bridge the gap or hack my way for it to work
Maybe no perms, but allows the controller to take control of the cursor on screen
what de/wm are you on?
@jade sable does big picture work?
I daily niri
Ik gyro still works, it just never tracks the system cursor. Game cursors seem to work fine. Through this, I've noticed some games fully take control of the mouse as a separate input allowing the mouse and the game cursor to follow gyro. Other times, it just captures the input from the system itself, not tracking the cursor, but tracking position.
I'll try it in big picture mode to confirm if it works
Gyro to mouse doesn't seem to work for me in big picture mode in either niri and xfce