#Is there an RDP tiling WM workaround for game controllers?

36 messages · Page 1 of 1 (latest)

jade sable
#

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?

wanton birch
#

@jade sable what rdp client are you using?

jade sable
#

Im currently on niri, so im assuming it would be gtk

wanton birch
#

@jade sable that's not a client

jade sable
#

Does xdg-desktop-portal-gtk point me in the right direction?

wanton birch
#

no

#

how are you using rdp?

jade sable
#

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

wanton birch
#

what is remote desktop in this context?

jade sable
#

I can only answer that in terms of what I've done to get that prompt to show on Gnome.

  1. open a game in steam with steam input enabled and gyro to mouse enabled within said settings
  2. move controller
  3. prompted if I and to allow my controller access to my desktop from a window named remote desktop (where I understand remote desktop from)
jade sable
#

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

wanton birch
#

@jade sable that is only a option on gnome

jade sable
#

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?

wanton birch
#

hold on

#

that is a gnome only option

#

if you use a different de/wm it won't show that

jade sable
#

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.

wanton birch
#

@jade sable reboot into xfce4 and play a game

jade sable
#

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

wanton birch
#

pacman -S xfce4

jade sable
#

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

wanton birch
#

@jade sable does big picture work?

jade sable
jade sable
# wanton birch <@188497759106629632> does big picture work?

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