inputs icon indicating copy to clipboard operation
inputs copied to clipboard

How can I get other USB game controllers?

Open andkirby opened this issue 4 years ago • 2 comments

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 avatar Jan 10 '22 05:01 andkirby

Exactly what I came here to ask.

wrybread avatar Jan 10 '22 18:01 wrybread

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

It was working, but having the issue https://github.com/apmorton/pyhidapi/issues/52 now.

andkirby avatar Jan 10 '22 18:01 andkirby