Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 Controllers always showing #68

Open
massatt212 opened this issue Feb 1, 2019 · 4 comments
Open

4 Controllers always showing #68

massatt212 opened this issue Feb 1, 2019 · 4 comments

Comments

@massatt212
Copy link

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

@raelgc
Copy link
Owner

raelgc commented Feb 1, 2019

@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
Copy link
Owner

raelgc commented Feb 1, 2019

Something similar was tried in #37 by @gyates100895.

@BurninTurtles
Copy link
Contributor

#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

@pietropier1
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants