Commit Graph

  • 17c4c9251c Changed hid_error() to return const. Alan Ott 2010-08-21 13:22:03 -04:00
  • 4214841ae3 Added the get_*_string() functions for the libusb implementation. Alan Ott 2010-08-21 13:09:23 -04:00
  • 0c07642ab5 Support for getting USB Strings using the applications locale. If the locale's language is not supported by the device, it defaults to the first language available on the device. Alan Ott 2010-08-19 22:53:53 -04:00
  • 2dedc16309 Fixed get_usb_string() to use the first language the device says it supports. Alan Ott 2010-08-18 21:54:45 -04:00
  • 28ab1e6ac1 Changed to use pkg-config Alan Ott 2010-08-17 22:50:31 -04:00
  • bf76531664 Makefile fix for using pkg-config Alan Ott 2010-08-17 22:15:23 -04:00
  • 32d785dbfe Changed to use pkg-config for libusb and fixed the position of libusb_close() in hid_enumerate(). Alan Ott 2010-08-17 22:13:54 -04:00
  • 35a8d0aecc Made the input loop only try to read endpoint->wMaxPacketSize. This way, messages don't get queued up, and are reported immediately. Alan Ott 2010-08-16 23:49:43 -04:00
  • 89d84b1e02 Don't send the report number if it's not needed for feature and output reports. Alan Ott 2010-08-16 23:32:20 -04:00
  • 461963e4b7 Libusb implementation for Linux. Alan Ott 2010-08-16 17:02:20 -04:00
  • 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(). Alan Ott 2010-08-14 14:12:43 -04:00
  • 0ab5194f0e Prettied up the error message Alan Ott 2010-08-10 15:03:09 -04:00
  • 65331407a7 Made the hid_error() return wchar_t* so we can get translated error messages. Alan Ott 2010-08-10 14:58:59 -04:00
  • 7309d191cc Fixed path for hidapi.h Alan Ott 2010-08-10 14:14:22 -04:00
  • 89aaf14bff Implemented the Send Feature Report section of the GUI. Tested in Linux. Alan Ott 2010-08-10 14:11:17 -04:00
  • a1d25da0e5 Updated binary. Alan Ott 2010-08-01 23:45:11 -04:00
  • f631e8108d Made it respond to the event generated by CMD-Tab. Alan Ott 2010-08-01 23:44:12 -04:00
  • 8691af7564 Forgot to add the executable itself. Alan Ott 2010-08-01 16:21:54 -04:00
  • 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. Alan Ott 2010-08-01 16:08:34 -04:00
  • 54c8061ec5 Fixed compile warning. Alan Ott 2010-07-28 21:43:51 -04:00
  • 65264446c3 Cleaned up output (printf()) Alan Ott 2010-07-28 21:43:11 -04:00
  • 794b95e232 Cleaned up the output (printf()). Made the connect/disconnect button enable/disable when connections are made. Alan Ott 2010-07-28 21:40:44 -04:00
  • 208de82ec1 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-28 21:31:56 -04:00
  • 3c19a45952 Implemented the following for Mac OS X: hid_get_manufacturer_string() hid_get_product_string() hid_get_serial_number_string() Alan Ott 2010-07-28 21:30:09 -04:00
  • ca9d652e4a Added .gitignore to linux/ directory. Alan Ott 2010-07-28 21:17:03 -04:00
  • 6983cb4da0 Made hid_close() NULL-tolerant. Alan Ott 2010-07-28 21:14:36 -04:00
  • d2c01f9000 Updated .gitignore to include generated files on Unix. Alan Ott 2010-07-28 20:57:46 -04:00
  • 228ec0cc25 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-28 20:54:01 -04:00
  • 306e3a6058 Updated to the new API. Alan Ott 2010-07-28 20:53:21 -04:00
  • 8348b17b82 Updated README to reflect recent changes. Alan Ott 2010-07-28 20:45:48 -04:00
  • bfda043aa3 Updated built test GUI on windows. Alan Ott 2010-07-28 20:33:20 -04:00
  • da1ab35011 Fixed up the header comments. Alan Ott 2010-07-28 20:32:41 -04:00
  • d5d0b59005 Make hid_close NULL-safe, like delete and free() are. Alan Ott 2010-07-28 20:24:36 -04:00
  • e561beba37 Fixed the Windows build files to have the proper paths. Alan Ott 2010-07-28 20:23:14 -04:00
  • 33b946eb39 Added warning disable on Windows. Alan Ott 2010-07-28 20:22:06 -04:00
  • e21e31d1c2 Shifted stuff around and cleaned it up in the windows/ folder. Alan Ott 2010-07-28 20:19:07 -04:00
  • 4b6cde335a Deleted generated files which are no longer needed. Alan Ott 2010-07-28 19:40:13 -04:00
  • 80ad44b7cf Moved Windows build files to windows/ Alan Ott 2010-07-28 19:38:45 -04:00
  • ea75ea6e89 Updated to be in sync with the other .gitignore files. Alan Ott 2010-07-27 22:57:52 -04:00
  • 3301d7a91e .gitignore to ignore generated files Alan Ott 2010-07-27 22:57:10 -04:00
  • a06a7dc3f3 Brought the hidapi project into this solution. Alan Ott 2010-07-27 22:51:53 -04:00
  • 2097e314fc Modified the windows build to not require the DDK to build the DLL. Alan Ott 2010-07-27 22:28:42 -04:00
  • 5dafc59018 Changed to not use the DDK to build the library. Alan Ott 2010-07-27 21:42:19 -04:00
  • 5ff108a94b Changed name from hidapi/ to windows/ Alan Ott 2010-07-27 21:40:17 -04:00
  • 03fe2dc9ac Updated Windows binary. Alan Ott 2010-07-25 23:21:53 -04:00
  • 30b7a910c5 New Windows Binaries. Alan Ott 2010-07-25 23:20:49 -04:00
  • f3380552ee Checking in latest built files for Windows. Alan Ott 2010-07-25 23:16:23 -04:00
  • d522d26d5c Added support for building the Windows version without the DDL by loading the hid.dll functions dynamically. Alan Ott 2010-07-25 23:07:17 -04:00
  • 1e14d11afa Added the DLL to the ignore list. Alan Ott 2010-07-25 22:21:54 -04:00
  • 567a5d15f2 Added generated files to the ignore list. Alan Ott 2010-07-25 22:20:34 -04:00
  • 49e5aedc06 Converted the Windows implementation over to use the new interface. Alan Ott 2010-07-25 22:11:50 -04:00
  • 0e67d54581 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-25 20:56:27 -04:00
  • f4aec028de Moved the \n so that NULL wide strings wouldn't mess up the stream. Alan Ott 2010-07-25 20:56:14 -04:00
  • a0e06333c6 Updated for the new hidapi interface. Alan Ott 2010-07-25 20:52:05 -04:00
  • a55cfb7674 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-24 11:06:29 -04:00
  • aa3d51925a Changed the interface to use a pointer instead of an int as the device handle. This is only implemented on Linux so far. Alan Ott 2010-07-24 11:05:36 -04:00
  • 124cddf681 Pre-built Test GUI. Alan Ott 2010-07-22 21:04:02 -04:00
  • 9d52b2c0ba Don't copy zlib and libpng here as they are not needed. Alan Ott 2010-07-22 21:03:22 -04:00
  • ae5085bb94 Added message about copying hidapi.dll to this folder. Alan Ott 2010-07-22 21:02:32 -04:00
  • d203142362 Add Windows build files. Alan Ott 2010-07-22 20:59:07 -04:00
  • a6e78b8523 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-22 20:30:08 -04:00
  • 6b64b9ee16 Added a README for the test GUI. Alan Ott 2010-07-22 20:29:51 -04:00
  • 86b54c6a58 Added a Makefile to automatically call the platform Makefile. Alan Ott 2010-07-22 20:21:26 -04:00
  • 2e6e96b39c Fixed all: target name. Alan Ott 2010-07-22 20:17:48 -04:00
  • 8c799d3cf0 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-22 19:37:22 -04:00
  • ee1c791fc9 Moved the Makefile to Makefile.linux Makefile.mac Alan Ott 2010-07-22 19:36:51 -04:00
  • e726410309 Changed name of executable. Alan Ott 2010-07-22 19:31:02 -04:00
  • c9edddd830 Added a test GUI for hidapi. Alan Ott 2010-07-22 19:28:04 -04:00
  • d9b62de1cb Updated test program to match sources. Alan Ott 2010-07-10 22:03:26 -04:00
  • 23c43b0e84 Added some checking. Alan Ott 2010-07-10 22:01:43 -04:00
  • 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. Alan Ott 2010-07-10 21:52:33 -04:00
  • 844fd35c0c Set/Get Feature Support for Linux. Alan Ott 2010-07-10 21:48:24 -04:00
  • d2489f8755 Support for getting USB strings (Manufacturer, Product, Serial) from the device during runtime (as opposed to enumerate-time). Alan Ott 2010-07-07 23:48:29 -04:00
  • ca717d8553 Made hid_read() thread-safe on Mac. Alan Ott 2010-07-07 21:01:46 -04:00
  • 044ddb1295 Added support for Feature Reports to OSX version. Alan Ott 2010-07-05 23:26:18 -04:00
  • 21ad843545 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-05 22:50:51 -04:00
  • fc29fa93c9 Initial cut at a Mac OS X version. Not fully complete, but functional for read/write open and close. Alan Ott 2010-07-05 22:48:23 -04:00
  • e78f74041b Merge branch 'master' of github.com:signal11/hidapi hidapi-0.3.0 Alan Ott 2010-07-05 16:36:09 -04:00
  • 32f9cb6c3c Added support for Set/Get Feature reports for Windows. Alan Ott 2010-07-05 16:35:42 -04:00
  • 642d00274c Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-03 15:37:42 -04:00
  • b898757a00 Made the hid_read() call take a more robust argument for length. Alan Ott 2010-07-03 15:35:35 -04:00
  • d6db1ec8ca Worked around a problem in Linux kernels prior to 2.6.34. Fixed non-blocking operation. Alan Ott 2010-07-03 15:31:21 -04:00
  • 0782bc31f0 README and Makefile for Linux. Alan Ott 2010-07-03 15:26:16 -04:00
  • 96aca32ec8 Implemented the Manufacturer and Product strings in the hid_device struct on Windows. Alan Ott 2010-07-01 17:56:46 -04:00
  • ebc18502b7 Added the hidapi_enumerate() interface on Linux. Added manufacturer and product strings to the hid_device struct. Alan Ott 2010-07-01 17:39:24 -04:00
  • a7160b8f49 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2010-07-01 17:12:28 -04:00
  • 6c0ee6befc Made the hidapi_enumerate() functional. Added non-blocking operation. Alan Ott 2010-07-01 17:10:45 -04:00
  • 0cc06e1f02 Added the hidapi_enumerate() interface to the Windows implementation. Alan Ott 2010-07-01 16:56:15 -04:00
  • a1769df365 Ported to Linux and added the hidapi_enumerate() interface. Alan Ott 2010-06-30 22:46:55 -04:00
  • c506c71bb8 Enumeration interface and hidapi_open_path(). Alan Ott 2010-06-30 22:08:21 -04:00
  • 353308641d Whitespace update hidapi-0.2.4 Alan Ott 2010-05-30 15:52:40 -04:00
  • 0a76c844ac Updated test program EXEs. hidapi-0.2.3 Alan Ott 2010-05-30 15:46:46 -04:00
  • 35ec5feb49 Updates to the Visual Studio Project and Test program. Alan Ott 2010-05-30 15:45:56 -04:00
  • 03179fe661 Updated README files. hidapi-0.2.2 Alan Ott 2010-05-30 15:23:01 -04:00
  • 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). Alan Ott 2010-05-30 15:18:39 -04:00
  • 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. Alan Ott 2010-05-30 15:10:55 -04:00
  • 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. Alan Ott 2010-05-30 15:09:47 -04:00
  • 2fb125f4bf Cleanup of hidtest.cpp Fixes for Release mode in hidtest-vc8.vcproj hidapi-0.1.0 Alan Ott 2010-04-11 19:39:30 -04:00
  • 8c85933124 Added copying of the hidapi.dll to the post build script. Added a system(pause) to the end of the test program. Alan Ott 2010-04-11 17:58:39 -04:00
  • bb8298c2f9 HACKING file. Alan Ott 2010-04-11 17:34:12 -04:00