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

Cull zombie gamepads? #24

Closed
xarvh opened this issue Jul 1, 2018 · 3 comments
Closed

Cull zombie gamepads? #24

xarvh opened this issue Jul 1, 2018 · 3 comments
Labels

Comments

@xarvh
Copy link
Owner

xarvh commented Jul 1, 2018

Some gamepads persist even after being physically disconnected.
Remove them when their timestamp becomes too old?

@xarvh
Copy link
Owner Author

xarvh commented Jul 8, 2018

Raw gamepad.timestamp is not very reliable. Not sure how to implement this?

@xarvh
Copy link
Owner Author

xarvh commented Jul 8, 2018

In theory I think it could be implemented comparing gamepad.timestamps among themselves.
In practice it is a mess, the advantages are not worth the added risks.
Won't fix.

@xarvh xarvh closed this as completed Jul 8, 2018
@xarvh
Copy link
Owner Author

xarvh commented Jul 9, 2018

timestamp is updated only if the user moves the gamepad; because of this it cannot be used to recognise whether the gamepad has gone zombie or the user just isn't using it.

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

No branches or pull requests

1 participant