Commit Graph

13 Commits

Author SHA1 Message Date
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 7309d191cc Fixed path for hidapi.h 2010-08-10 14:14:22 -04:00
Alan Ott da1ab35011 Fixed up the header comments. 2010-07-28 20:32:41 -04:00
Alan Ott d5d0b59005 Make hid_close NULL-safe, like delete and free() are. 2010-07-28 20:24:36 -04:00
Alan Ott e561beba37 Fixed the Windows build files to have the proper paths. 2010-07-28 20:23:14 -04:00
Alan Ott e21e31d1c2 Shifted stuff around and cleaned it up in the windows/ folder. 2010-07-28 20:19:07 -04:00
Alan Ott 80ad44b7cf Moved Windows build files to windows/ 2010-07-28 19:38:45 -04:00
Alan Ott 3301d7a91e .gitignore to ignore generated files 2010-07-27 22:57:10 -04:00
Alan Ott 2097e314fc Modified the windows build to not require the DDK to build the DLL.
Also moved the windows hid.cpp file to windows/ from hidapi/. hidapi/ now
only contains the library header file.
2010-07-27 22:28:42 -04:00
Alan Ott 5dafc59018 Changed to not use the DDK to build the library. 2010-07-27 21:42:19 -04:00
Alan Ott 5ff108a94b Changed name from hidapi/ to windows/ 2010-07-27 21:40:17 -04:00