Alan Ott
b20777fc0c
testgui: more robust handling of report length fields
...
Improve logic of report length field handling for empty fields.
Add column headers for data and length fields.
Add documentation statement about length fields.
Increase window size.
Add message boxes when invalid values are entered.
memset() buffers to zero.
2012-11-26 22:27:24 -05:00
Michael Pisarski
1fba3f98f0
testgui: Add fields for lengths of reports
...
Windows platforms return errors When you do not specify the proper buffer
size and length.
2012-11-26 22:27:24 -05:00
Alex Dupre
1fd27eaa25
testgui: Fix signed/unsigned warning
2012-05-02 18:55:37 -04:00
Alan Ott
9d50cf35d0
Add hid_close() and hid_exit() to test gui at exit time.
2011-09-13 02:42:16 +08:00
Alan Ott
265cefb1d3
Print error when hid_read() fails.
2011-02-09 08:37:11 -05:00
Alan Ott
f5dceac5b9
Support for Usage Page and Usage for each device in the hid_device_info struct.
2011-01-11 23:38:15 -05:00
Alan Ott
3ba5b6c914
Fixed some errors that Valgrind pointed out.
2010-10-08 18:24:26 -04:00
Alan Ott
b14d227de7
Getting Feature Reports, and a Re-scan devices button.
2010-09-28 16:30:47 -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
0ab5194f0e
Prettied up the error message
2010-08-10 15:03:09 -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
89aaf14bff
Implemented the Send Feature Report section of the GUI. Tested in Linux.
2010-08-10 14:11:17 -04:00
Alan Ott
f41f06cadd
Update mac implementation.
...
Made a Mac Application Bundle (TestGUI.app) for this application.
Handle dock actions properly for Quit and Show (single click) events.
2010-08-01 16:08:34 -04:00
Alan Ott
794b95e232
Cleaned up the output (printf()).
...
Made the connect/disconnect button enable/disable when connections are made.
2010-07-28 21:40:44 -04:00
Alan Ott
da1ab35011
Fixed up the header comments.
2010-07-28 20:32:41 -04:00
Alan Ott
33b946eb39
Added warning disable on Windows.
2010-07-28 20:22:06 -04:00
Alan Ott
aa3d51925a
Changed the interface to use a pointer instead of an int as the device handle.
...
This is only implemented on Linux so far.
2010-07-24 11:05:36 -04:00
Alan Ott
c9edddd830
Added a test GUI for hidapi.
2010-07-22 19:28:04 -04:00