ubuntu_xboxdrv icon indicating copy to clipboard operation
ubuntu_xboxdrv copied to clipboard

4 Controllers always showing

Open massatt212 opened this issue 6 years ago • 4 comments

if their a way to disable controllers until they are plugged in ?

massatt212 avatar Feb 01 '19 00:02 massatt212

@massatt212 Well, I know it's a weird behavior, but this service is starting xboxdrv with the possibility of 4 gamepads getting connected. The alternative would be create a dbus listener and then start a xboxdrv for each controller connected.

raelgc avatar Feb 01 '19 11:02 raelgc

Something similar was tried in #37 by @gyates100895.

raelgc avatar Feb 01 '19 11:02 raelgc

#37 is quite old, written for Upstart. I have a repo for a systemd version that does the same behavior as #37 however I haven't maintained it since roughly 16.10(?). Check it out, it worked for me back then but it's definitely not good for a release. https://github.com/gyates100895/systemd-xboxdrv

BurninTurtles avatar Jul 19 '19 23:07 BurninTurtles

Hi,

I'm trying to solve the same problem. On my system I only use one joystick and would like to predictably know where to find it. I tried removing all the --next-controller flags from the /lib/systemd/system/xboxdrv.service. As a result, I do get only one device option instead of 4, i.e. /dev/input/js0, but it looks like sometimes the joystick although plugged in is not mapped there.

Thanks in advance for any pointer.

pietropier1 avatar Dec 03 '21 23:12 pietropier1