7

Can I interact with essentially any HID device from a Pi? (displays, controllers, etc) ?

If so, is there a python example out there that shows reading from hid?

3
  • Did you have something to add to this?
    – Jivings
    Commented Mar 31, 2013 at 9:46
  • @Jivings -- yes, thx, done! Commented Apr 1, 2013 at 2:56
  • 1
    Please do not Thanks In your question! You should know by now that upvoting is thanking people. I see answers but no upvotes so you are not grateful for the help? Please read the FAQ to get up to speed with how Q&A works. Besides this is off-topic as it has nothing to do with Raspberry Pi -1
    – Piotr Kula
    Commented Aug 2, 2013 at 9:41

1 Answer 1

13

You can use the python wrapper for libusb PYUSB to programmatically read and write to a HID device from python.

Please look at my answer on this question for some ideas on how to achieve this.The library is fairly easy to use.There is also a good beginner tutorial on the website.

Please note that pyUsb can only help getting data in and out of the HID device.Decoding the data is another story.You might need to use usb loggers to decode the data.

1
  • 1
    Just for the record you deserve a +1 - The op thinks otherwise :(
    – Piotr Kula
    Commented Aug 2, 2013 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.