Oct-31-2016, 05:56 PM
When I plug a USB keyboard into my computer, I can interface with it using standard python print and read statements. The keyboard is of course a USB HID device.
If I plug in a USB HID game controller into my computer, how would I access the data to/from the controller. Is there a python library that helps in this effort? I would like to read the joystick positions for example.
If I plug in a USB HID game controller into my computer, how would I access the data to/from the controller. Is there a python library that helps in this effort? I would like to read the joystick positions for example.