On Sep 30, 2009, at 6:12 AM, Gabriel Rossetti wrote:
I am trying to get the report size from my device (in python). I
tried (omitted tests & Co.):
hid.hid_init()
__hidDevice = hid.hid_new_HIDInterface()
matcher = hid.HIDInterfaceMatcher()
matcher.vendor_id = vendorId
matcher.product_id = productId
hid.hid_force_open(__hidDevice, 0, matcher, 5)
minReportSize = __hidDevice.hid_data.PhyMin <-- error here
maxReportSize = __hidDevice.hid_data.PhyMax
but I get an error.
What error do you get?
What does 'print dir(__hidDevice.hid_data)' return?
_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/