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

Detection delay #137

Open
DocMAX opened this issue Jan 18, 2018 · 3 comments
Open

Detection delay #137

DocMAX opened this issue Jan 18, 2018 · 3 comments

Comments

@DocMAX
Copy link

DocMAX commented Jan 18, 2018

My Xbox Controller is detected by Kodi with a delay of about 5 sec. With the xboxdrv driver there is no delay and the controller works imedatelly after connection/Kodi start.

@garbear
Copy link
Member

garbear commented Jan 18, 2018

Wireless controller, right? If you push a button it should detect immediately, though the first button press won't have any effect. This is a problem with the joystick driver.

@DocMAX
Copy link
Author

DocMAX commented Jan 21, 2018

Yes wireless. I have to push a button and then wait a few seconds. I dont have this effect with xboxdrv, but with xpad driver.

@garbear
Copy link
Member

garbear commented Jan 21, 2018

When the wireless receiver is connected, xpad shows 4 joysticks, even though one 1 is connected. (This might be fixed in recent kernels). To solve this, wireless Xbox controllers are only detected in Kodi once the first button is pressed. However, once you press a button the controller should be detected immediately, and the second button press should work right away. This part seems to be broken, so just in case I added a failsafe scan every 5 seconds.

I'll look into why the first button press doesn't activate the controller immediately. If xpad has been fixed, then I'll remove this workaround completely.

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

2 participants