Commit Graph

12 Commits

Author SHA1 Message Date
Alan Ott c5993b749e Fixed Warnings. 2010-08-21 13:26:57 -04:00
Alan Ott 17c4c9251c Changed hid_error() to return const. 2010-08-21 13:22:03 -04:00
Alan Ott f53f5fb0f8 Changed hid_get_feature_report() to return the number of bytes actually read on Windows. This involved changing the implementation to use DeviceIoControl() rather than HidD_GetFeature().
Changed it on Mac as well to return the same. The Linux implementation already did this.
2010-08-14 14:12:43 -04:00
Alan Ott 65331407a7 Made the hid_error() return wchar_t* so we can get translated error messages. 2010-08-10 14:58:59 -04:00
Alan Ott 3c19a45952 Implemented the following for Mac OS X:
hid_get_manufacturer_string()
	hid_get_product_string()
	hid_get_serial_number_string()
2010-07-28 21:30:09 -04:00
Alan Ott d2c01f9000 Updated .gitignore to include generated files on Unix. 2010-07-28 20:57:46 -04:00
Alan Ott 228ec0cc25 Merge branch 'master' of github.com:signal11/hidapi 2010-07-28 20:54:01 -04:00
Alan Ott 306e3a6058 Updated to the new API. 2010-07-28 20:53:21 -04:00
Alan Ott da1ab35011 Fixed up the header comments. 2010-07-28 20:32:41 -04:00
Alan Ott ca717d8553 Made hid_read() thread-safe on Mac. 2010-07-07 21:01:46 -04:00
Alan Ott 044ddb1295 Added support for Feature Reports to OSX version. 2010-07-05 23:26:18 -04:00
Alan Ott fc29fa93c9 Initial cut at a Mac OS X version. Not fully complete, but functional for read/write open and close. 2010-07-05 22:48:23 -04:00