Commit Graph

120 Commits

Author SHA1 Message Date
Bastaan Veelo
ba51d59a4e hid_device_info with bcdDevice release number. 2011-01-18 18:38:35 -05:00
Alan Ott
3a4192eb45 Support for Usage Page and Usage for each device in the hid_device_info struct. 2011-01-11 23:59:12 -05:00
Alan Ott
7650ac65b2 Merge branch 'master' of github.com:signal11/hidapi 2010-09-13 11:16:35 -04:00
Alan Ott
09cb41aada Additional licenses. HIDAPI is now GPLv3, BSD, or the original license,
at the discretion of the user. This should provide maximum flexibility and
freedom.
2010-09-13 11:15:24 -04:00
Alan Ott
5fa9bf37c4 Changes made for Cygwin. The _stdcall had to come out. I'm not sure about taking this out, but it's the only way I've found so far to make Cygwin work. 2010-09-07 14:13:41 -04:00
Alan Ott
57c6eebe56 Made windows/hid.cpp work on MinGW. In the process, cleaned up some unnecessary initializations, and cleaned up a warning. 2010-09-06 14:58:26 -04:00
Alan Ott
cc51331c6c Make sure only one report is returned per call to hid_read(). 2010-08-23 15:11:42 -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
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