6

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?

  • Did you have something to add to this? – Jivings Mar 31 '13 at 9:46
  • @Jivings -- yes, thx, done! – Jonesome Reinstate Monica Apr 1 '13 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 Aug 2 '13 at 9:41
11

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
    Just for the record you deserve a +1 - The op thinks otherwise :( – Piotr Kula Aug 2 '13 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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