On Sep 9, 2009, at 9:56 AM, Gabriel Rossetti wrote:

Charles Lepple wrote:
On Sep 9, 2009, at 7:56 AM, Gabriel Rossetti wrote:

Hello everyone,

Why is missing from the python libhid wrapper?

Please be more specific.

What version of libhid?

Did you compile from source?

If not, what OS, and which distribution?

Yes, sorry, I use version 0.2.15+20060325-2.1 (ubuntu 8.04), installed using aptitude

It does not appear that this version had HID_RET_TIMEOUT in the C code, either. It must have been added later.

In Python, you should be able to check and see if that constant is defined, and if not, assign it a value such as 'None' which will not match any of the return codes.

_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to