vinegarhq / sober

Runtime for Roblox on Linux
https://sober.vinegarhq.org/
280 stars 12 forks source link

Controller Support #185

Open mcgamer48ft opened 2 months ago

mcgamer48ft commented 2 months ago

If you could please add controller support. i currently have a controller but i can't use it with sober. It works everywhere else.

tunis4 commented 2 months ago

there already is controller support

tunis4 commented 2 months ago

please send your controller model and the output of flatpak --version

mcgamer48ft commented 2 months ago

Flatpak 1.15.8 https://en.tracer.eu/gamepad-tracer-recon-pc

mcgamer48ft commented 2 months ago

in lsusb it shows up as DragonRise Inc. PC TWIN SHOCK Gamepad which has drivers in the linux kernel

km9l commented 2 months ago

in lsusb it shows up as DragonRise Inc. PC TWIN SHOCK Gamepad which has drivers in the linux kernel

https://github.com/libsdl-org/SDL/blob/d4b80726142d9108f16d4806c09779d612501608/src/joystick/controller_list.h#L166

looks like its supported, does your joystick show up in /dev/input/?

mcgamer48ft commented 2 months ago

xylex@fedora:/dev/input/by-id$ ls usb-1bcf_USB_Optical_Mouse-event-mouse usb-1bcf_USB_Optical_Mouse-mouse usb-DragonRise_Inc._Generic_USB_Joystick-event-joystick usb-DragonRise_Inc._Generic_USB_Joystick-joystick

32bitx64bit commented 2 months ago

Controllers should already work. I've used them before in Sober.