Alan Ott
f4aec028de
Moved the \n so that NULL wide strings wouldn't mess up the stream.
2010-07-25 20:56:14 -04:00
Alan Ott
a0e06333c6
Updated for the new hidapi interface.
2010-07-25 20:52:05 -04:00
Alan Ott
a55cfb7674
Merge branch 'master' of github.com:signal11/hidapi
2010-07-24 11:06:29 -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
124cddf681
Pre-built Test GUI.
2010-07-22 21:04:02 -04:00
Alan Ott
9d52b2c0ba
Don't copy zlib and libpng here as they are not needed.
2010-07-22 21:03:22 -04:00
Alan Ott
ae5085bb94
Added message about copying hidapi.dll to this folder.
2010-07-22 21:02:32 -04:00
Alan Ott
d203142362
Add Windows build files.
2010-07-22 20:59:07 -04:00
Alan Ott
a6e78b8523
Merge branch 'master' of github.com:signal11/hidapi
2010-07-22 20:30:08 -04:00
Alan Ott
6b64b9ee16
Added a README for the test GUI.
2010-07-22 20:29:51 -04:00
Alan Ott
86b54c6a58
Added a Makefile to automatically call the platform Makefile.
2010-07-22 20:21:26 -04:00
Alan Ott
2e6e96b39c
Fixed all: target name.
2010-07-22 20:17:48 -04:00
Alan Ott
8c799d3cf0
Merge branch 'master' of github.com:signal11/hidapi
2010-07-22 19:37:22 -04:00
Alan Ott
ee1c791fc9
Moved the Makefile to Makefile.linux Makefile.mac
2010-07-22 19:36:51 -04:00
Alan Ott
e726410309
Changed name of executable.
2010-07-22 19:31:02 -04:00
Alan Ott
c9edddd830
Added a test GUI for hidapi.
2010-07-22 19:28:04 -04:00
Alan Ott
d9b62de1cb
Updated test program to match sources.
2010-07-10 22:03:26 -04:00
Alan Ott
23c43b0e84
Added some checking.
2010-07-10 22:01:43 -04:00
Alan Ott
7222c93ef9
Cleaned up main test program.
...
Removed wprintf() in favor of printf("%ls").
Added a sleep in the main read loop for demonstration.
memset-zero the buffer.
2010-07-10 21:52:33 -04:00
Alan Ott
844fd35c0c
Set/Get Feature Support for Linux.
2010-07-10 21:48:24 -04:00
Alan Ott
d2489f8755
Support for getting USB strings (Manufacturer, Product, Serial) from
...
the device during runtime (as opposed to enumerate-time).
2010-07-07 23:48:29 -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
21ad843545
Merge branch 'master' of github.com:signal11/hidapi
2010-07-05 22:50:51 -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
Alan Ott
e78f74041b
Merge branch 'master' of github.com:signal11/hidapi
2010-07-05 16:36:09 -04:00
Alan Ott
32f9cb6c3c
Added support for Set/Get Feature reports for Windows.
2010-07-05 16:35:42 -04:00
Alan Ott
642d00274c
Merge branch 'master' of github.com:signal11/hidapi
2010-07-03 15:37:42 -04:00
Alan Ott
b898757a00
Made the hid_read() call take a more robust argument for length.
2010-07-03 15:35:35 -04:00
Alan Ott
d6db1ec8ca
Worked around a problem in Linux kernels prior to 2.6.34.
...
Fixed non-blocking operation.
2010-07-03 15:33:22 -04:00
Alan Ott
0782bc31f0
README and Makefile for Linux.
2010-07-03 15:26:16 -04:00
Alan Ott
96aca32ec8
Implemented the Manufacturer and Product strings in the hid_device struct on Windows.
2010-07-01 17:56:46 -04:00
Alan Ott
ebc18502b7
Added the hidapi_enumerate() interface on Linux.
...
Added manufacturer and product strings to the hid_device struct.
2010-07-01 17:39:24 -04:00
Alan Ott
a7160b8f49
Merge branch 'master' of github.com:signal11/hidapi
2010-07-01 17:12:28 -04:00
Alan Ott
6c0ee6befc
Made the hidapi_enumerate() functional.
...
Added non-blocking operation.
2010-07-01 17:10:45 -04:00
Alan Ott
0cc06e1f02
Added the hidapi_enumerate() interface to the Windows implementation.
2010-07-01 16:56:15 -04:00
Alan Ott
a1769df365
Ported to Linux and added the hidapi_enumerate() interface.
2010-06-30 22:46:55 -04:00
Alan Ott
c506c71bb8
Enumeration interface and hidapi_open_path().
2010-06-30 22:08:21 -04:00
Alan Ott
353308641d
Whitespace update
2010-05-30 15:52:40 -04:00
Alan Ott
0a76c844ac
Updated test program EXEs.
2010-05-30 15:46:46 -04:00
Alan Ott
35ec5feb49
Updates to the Visual Studio Project and Test program.
2010-05-30 15:45:56 -04:00
Alan Ott
03179fe661
Updated README files.
2010-05-30 15:23:01 -04:00
Alan Ott
14a9c3aa3e
Added a README.txt to the Debug/ and Release/ folders, so that people will know what they need to do to run the program (without building it).
2010-05-30 15:18:39 -04:00
Alan Ott
e90278d036
Added support for Nonblocking I/O.
...
Documented the hidapi.h header.
Fixed hid_get_error() wchar_t bug.
Fixed invalid handle error in hid_open()
Updated example to show non-blocking operation.
2010-05-30 15:10:55 -04:00
Alan Ott
21920c34fa
Added support for Nonblocking I/O.
...
Documented the hidapi.h header.
Fixed hid_get_error() wchar_t bug.
Fixed invalid handle error in hid_open()
Updated example to show non-blocking operation.
2010-05-30 15:09:47 -04:00
Alan Ott
2fb125f4bf
Cleanup of hidtest.cpp
...
Fixes for Release mode in hidtest-vc8.vcproj
2010-04-11 19:41:23 -04:00
Alan Ott
8c85933124
Added copying of the hidapi.dll to the post build script.
...
Added a system(pause) to the end of the test program.
2010-04-11 17:58:39 -04:00
Alan Ott
bb8298c2f9
HACKING file.
2010-04-11 17:34:12 -04:00
Alan Ott
3f9611fe5a
Added README
2010-04-11 16:37:10 -04:00
Alan Ott
5773da50d9
Initial import of source files.
2010-04-11 16:29:01 -04:00