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

How can I get other USB game controllers? #105

Open
andkirby opened this issue Jan 10, 2022 · 2 comments
Open

How can I get other USB game controllers? #105

andkirby opened this issue Jan 10, 2022 · 2 comments

Comments

@andkirby
Copy link

Hi there,

I have many USB controllers, but the app shows only mouse and keyboard.

Can it be extended somehow?
I see there is some API to fetch inputs:

inputs.Keyboard("/dev/input/by-id/usb-A_Nice_Keyboard-event-kbd")

Can I retrieve other devices?

@andkirby andkirby changed the title It does not see other USB game controllers How can I get other USB game controllers? Jan 10, 2022
@wrybread
Copy link

Exactly what I came here to ask.

@andkirby
Copy link
Author

andkirby commented Jan 10, 2022

@wrybread
take a look at this
https://blog.thea.codes/talking-to-gamepads-without-pygame/

It was working, but having the issue apmorton/pyhidapi#52 now.

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