Commit Graph

  • 336b221429 Windows: Add a 1 second timeout to hid_write() Alan Ott 2012-05-09 09:46:21 +08:00
  • df05c6f2cc Added .gitignore for autoconf-generated files. Alan Ott 2012-05-03 03:08:07 -04:00
  • 0e935a872c Autotools integration on FreeBSD. Alan Ott 2012-05-03 03:07:37 -04:00
  • f2cbcbcb61 Add missing $ to includedir path. Alan Ott 2012-05-02 23:08:09 -04:00
  • d3b9f15718 Autotools support for mac platform. Alan Ott 2012-06-30 16:11:23 -04:00
  • 8f294eb1db pkg-config files Alan Ott 2012-06-30 11:34:26 -04:00
  • 9e71266d47 First pass at Autotools. Tested on Linux only. Alan Ott 2012-06-30 11:15:21 -04:00
  • 0a199c36ed Linux: Fix error in Makefile Alan Ott 2012-06-05 16:18:49 -04:00
  • 308ab89a26 Libusb: Prevent bailing out of read_thread() on non-critical errors Sean M. Pappalardo 2012-05-18 13:07:39 -04:00
  • c8e917f018 Windows: Fixed an incorrect return type on HidP_GetCaps() Chris Serio 2012-05-15 15:15:28 -04:00
  • 517b3acd71 Mac: Add CFRetain()/CFRelease() pair on the device handle bsupnik 2012-05-15 11:37:58 -04:00
  • e4310539ff Windows: Fix compile when using DDK Chris Serio 2012-05-14 22:33:18 -04:00
  • bdb87db5b8 Libusb: testgui: Explicitly link to libpthread. Alan Ott 2012-05-03 22:25:40 -04:00
  • 1fd27eaa25 testgui: Fix signed/unsigned warning Alex Dupre 2012-05-01 14:20:55 -04:00
  • 498fbb42f9 Libusb: Cleanup Alex Dupre 2012-05-01 14:19:03 -04:00
  • 74440e2dbb FreeBSD: Add FreeBSD implementation. Alan Ott 2012-05-01 13:39:39 -04:00
  • c30dfd8c97 Linux: add -lrt to link with librt. Alan Ott 2012-05-02 14:42:26 -04:00
  • 1bde032170 Linux/libusb: Shutdown thread if it's not possible to submit transfer Alan Ott 2012-04-23 17:54:58 -04:00
  • 992fef24d5 Fixed a typo that made the shared libraries be empty. Added the hidtest-* binaries to the list of files ignored by git. Frode Austvik 2012-03-30 00:32:04 +02:00
  • 1186ca26c7 All: Make serial_number parameter to hid_open() const. philip 2012-03-22 21:18:33 +13:00
  • 59b9428199 Linux: Clean up Makefile Alan Ott 2012-03-28 17:56:54 -04:00
  • d0b493183e Linux: Added make targets for building shared libraries. Frode Austvik 2012-03-18 02:02:43 +01:00
  • a22320f76d Mac: Fix return value for string functions get_serial_number() get_manufacturer_string() get_product_string() Nikolaj Løbner Sheller 2012-02-10 15:55:58 +01:00
  • 8717b87398 Linux/hidraw: Fix return value string functions get_serial_number() get_manufacturer_string() get_product_string() Vadim Zaliva 2011-05-03 06:07:55 +08:00
  • 7f6b496374 Linux: Took out one more setlocale() Alan Ott 2012-02-27 21:13:25 -05:00
  • b57e8f6dac Linux: Don't set locale if it's already been set Alan Ott 2012-02-27 12:10:29 -05:00
  • 240bad3b66 Remove unnecessary setlocale() on Mac Alan Ott 2012-02-27 12:05:23 -05:00
  • 991c48d70b Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2012-01-26 11:21:08 +08:00
  • e3ab121099 Windows: Don't let device disappear from hid_enumerate() when open Alan Ott 2012-01-25 11:27:59 +08:00
  • edf1183114 cleanup previous commit enumerate_fix Alan Ott 2012-01-26 11:12:22 +08:00
  • fd64a9f36b Windows: Don't let device disappear from hid_enumerate() when open Alan Ott 2012-01-25 11:27:59 +08:00
  • e8c3e8db61 Use private libusb_context for linux/libusb implementation. Mario Kleiner 2011-11-28 04:45:23 +01:00
  • 011208de6a README.txt: Clarification of what the sample program does. Alan Ott 2012-01-12 17:17:44 -05:00
  • 4a229e26c0 Fix hid_enumerate() crash on Mac OS X Alan Ott 2012-01-11 16:22:54 -05:00
  • d019a9ba4f Remove the extraneous call to IOHIDDeviceClose() in the read_thread() Alan Ott 2011-12-30 17:10:19 -05:00
  • c43255b4b3 Fix hidapi enumeration bug on OSX Vitali Lovich 2011-11-22 18:02:55 -08:00
  • f4e138ac7a Fix string copy logic in Mac backend Vitali Lovich 2011-11-22 17:55:18 -08:00
  • c26a0c13f2 Don't copy too many bytes from hid_read() in Windows. Vitali Lovich 2011-12-31 02:52:42 +08:00
  • ee4ecc02ae Fix output report length bug Vitali Lovich 2011-12-31 02:47:35 +08:00
  • e44064cf6d Added comments to udev/99-hid.rules Alan Ott 2011-10-26 17:39:00 -04:00
  • edf1899837 Updated Mac binary hidapi-0.7.0 Alan Ott 2011-10-25 20:58:17 -04:00
  • 81dd9bf36a Added sample Udev files for Linux systems. Alan Ott 2011-10-25 12:56:08 -04:00
  • 0c7d531a4a Linux/libusb: include wchar.h and define _GNU_SOURCE. Alan Ott 2011-10-20 17:28:27 -04:00
  • 7a8194b03b Disconnection fixes on Mac. Alan Ott 2011-10-04 17:03:50 -04:00
  • be40902624 Fix for hid_read*() hanging after device disconenct on Mac. Alan Ott 2011-10-04 15:54:13 -04:00
  • 51c18081bf Switch mac/hid.c to use threads. Alan Ott 2011-09-17 12:46:50 -04:00
  • 4419c3bdf4 Change windows/hid.cpp to windows/hid.c Alan Ott 2011-09-22 18:59:33 -04:00
  • 6a44b8772c Return 0 on success to lookup_functions (Windows) Alan Ott 2011-09-22 18:47:26 -04:00
  • db5cb875d3 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2011-09-21 17:27:54 -04:00
  • 2a599c2387 Fixed simple logic error. Alan Ott 2011-09-15 14:12:22 -04:00
  • 686acc0507 Implemented the USB interface number for Linux/hidraw implementation. Frode Austvik 2011-09-15 05:24:27 +02:00
  • b521a4878c Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2011-09-13 09:33:38 -04:00
  • 3001983083 Update of README.txt. Alan Ott 2011-09-13 11:33:05 +08:00
  • e02edb2909 Fixed the formatting of README.txt Alan Ott 2011-09-13 11:06:04 +08:00
  • bab22b7ac1 Convert to Cocoa for event handling on the Test GUI on Mac Alan Ott 2011-09-13 10:48:39 +08:00
  • 15c81e080e Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2011-09-12 15:06:33 -04:00
  • 1cebcb9df9 Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2011-09-12 15:01:07 -04:00
  • 9d50cf35d0 Add hid_close() and hid_exit() to test gui at exit time. Alan Ott 2011-09-13 02:42:16 +08:00
  • 6a8ed4797d Add hid_exit() to example program. Alan Ott 2011-09-13 02:39:08 +08:00
  • 0075338395 Add hid_init() and hid_exit() to Mac. Alan Ott 2011-09-13 02:37:13 +08:00
  • 2b7d08f6c6 Add hid_init() and hid_exit to Windows. Alan Ott 2011-09-12 14:09:03 -04:00
  • 816deccbd4 Add empty hid_init() and hid_exit to linux/hid.c Alan Ott 2011-09-10 17:47:08 -04:00
  • a0e77a9627 Added some info to the comments. Alan Ott 2011-09-10 17:40:31 -04:00
  • 62cd9d2999 Add hid_init() and hid_exit() Ludovic Rousseau 2011-07-19 15:18:41 +02:00
  • fe4f75b0ff Updated README.txt, removed testgui/README.txt Alan Ott 2011-09-10 17:30:38 -04:00
  • be33ec11a3 Call hid_close() at the end of testgui.cpp. Alan Ott 2011-09-10 17:20:32 -04:00
  • e85acbed71 Add hid_init() and hid_exit to Windows. Alan Ott 2011-09-12 14:09:03 -04:00
  • a6a9484649 Add empty hid_init() and hid_exit to linux/hid.c Alan Ott 2011-09-10 17:47:08 -04:00
  • 29d168c2fa Added some info to the comments. Alan Ott 2011-09-10 17:40:31 -04:00
  • bf6c3a2930 Add hid_init() and hid_exit() Ludovic Rousseau 2011-07-19 15:18:41 +02:00
  • 35dfe2a012 Updated README.txt, removed testgui/README.txt Alan Ott 2011-09-10 17:30:38 -04:00
  • 6bc4484358 Call hid_close() at the end of testgui.cpp. Alan Ott 2011-09-10 17:20:32 -04:00
  • c41e806042 Add empty hid_init() and hid_exit to linux/hid.c Alan Ott 2011-09-10 17:47:08 -04:00
  • 27a0ad59e9 Added some info to the comments. Alan Ott 2011-09-10 17:40:31 -04:00
  • 529fc51487 Add hid_init() and hid_exit() Ludovic Rousseau 2011-07-19 15:18:41 +02:00
  • a8768da46f Updated README.txt, removed testgui/README.txt Alan Ott 2011-09-10 17:30:38 -04:00
  • 3f369eb81f Call hid_close() at the end of testgui.cpp. Alan Ott 2011-09-10 17:20:32 -04:00
  • 169bc1b8d9 Change the WinIoCTL.h include in windows/hid.cpp to lower case winioctl.h Alan Ott 2011-09-10 16:13:01 -04:00
  • 2089519798 Add NTSTATUS typedef if needed Ryan Pavlik 2011-09-06 14:11:52 -05:00
  • c491f95935 Make windows/test.cpp compile in either C or C++. Alan Ott 2011-09-10 16:01:48 -04:00
  • 3fdfa78563 Support cancellation in hid_read_timeout(). Alan Ott 2011-09-07 16:02:09 -04:00
  • 193d92ff2d Linux/libusb: Make the read thread fully blocking and signal on shutdown. Alan Ott 2011-09-03 14:47:36 -04:00
  • c7f35c3a46 Try opening with sharing mode enabled on Windows if normal open fails. Alan Ott 2011-08-31 12:39:02 -04:00
  • 36c309f521 Parse the interface number out of the path on Windows where possible. Ryan Pavlik 2011-08-30 12:35:43 -05:00
  • abd82e6037 Fix memory leaks in linux/hidraw implementation. Alan Ott 2011-08-29 11:20:09 -04:00
  • 75bfadb04e linux/Makefile: Add spaces and lines for better readability Paul Menzel 2011-08-23 23:32:00 +02:00
  • 9b31061613 linux/Makefile: Add support for cross compilation Paul Menzel 2011-08-23 23:24:57 +02:00
  • 359138c8b6 linux/Makefile: Add $(LDFLAGS) to the linker calls Paul Menzel 2011-08-23 23:12:48 +02:00
  • ab3ba2e2a6 linux/Makefile: Do not override predefined CC or CXX Paul Menzel 2011-08-23 23:04:52 +02:00
  • ceb858109a linux/Makefile: Use $(CXX) instead of g++ Paul Menzel 2011-08-23 23:03:29 +02:00
  • 8a5d92ef0b Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2011-08-08 21:43:38 -04:00
  • 4f284dc2ec Check for NULL device on enumeration on Mac. signal11 2011-08-08 18:37:38 -07:00
  • 0351bb1abb Merge pull request #10 from taxilian/master signal11 2011-08-08 18:37:38 -07:00
  • 0bef94e27b Merge branch 'master' of github.com:signal11/hidapi Alan Ott 2011-08-08 21:33:34 -04:00
  • 03c407ee89 Fixed a leak where hid_open weren't freeing a device_path Camille Moncelier 2011-07-19 11:08:48 +02:00
  • 30ef96513d Merge pull request #12 from pix/fixes/fix-hid_open-leak signal11 2011-08-08 18:30:19 -07:00
  • 8066251aa8 Add ioctl definitions Alan Ott 2011-08-08 21:16:09 -04:00
  • 781efae694 hid_read_timeout() (Mac) Alan Ott 2011-08-08 20:14:12 -04:00
  • e62dba691d hid_read_timeout() (Linux and Windows). Alan Ott 2011-08-08 19:52:11 -04:00
  • 7e93a4e068 Logic error fix. Alan Ott 2011-07-25 23:42:05 -04:00