Commit Graph

10 Commits

Author SHA1 Message Date
Ludovic Rousseau e569477ef1 README.txt: Improve sample code
- use hid_init()/hid_exit()
- include windows.h only on Windows
2012-11-26 11:21:55 -05:00
Peter Stuge 8cd443954c README: Use $HOST also in the "Build libudev" configure command 2012-08-14 22:34:18 -04:00
Alan Ott 6d50f8fa0f Add Autotools build system (automake, autconf)
This adds the familiar autotools build system and associated documentation
for Linux, FreeBSD, Mac, MinGW, and Cygwin.  The old Makefiles have been
kept, and where appropriate have been renamed Makefile-manual.

Thanks to Peter Stuge, Ludovic Rousseau, Xiaofan Chen, Alex Dupre, and
Segher Boessenkool for providing testing, review, and suggestions, and to
Ludovic Rousseau for providing patches which contributed to this commit.
2012-07-16 00:43:04 -04:00
Alan Ott 74440e2dbb FreeBSD: Add FreeBSD implementation.
This adds a FreeBSD implementation to HIDAPI using the libusb back-end. The
libusb/ folder now contains the libusb implementation and associated
Makefiles for Linux and FreeBSD. All libusb code has been removed from the
linux/ folder, so that the code in libusb/ can be shared by both (and
future) platforms.

This commit renames linux/hid-libusb.c to libusb/hid.c. Make sure to
use git log --follow to see full history of that file.

This code was written by:
 Alex Dupre <ale@FreeBSD.org>
 Alan Ott <alan@signal11.us>
2012-05-02 18:55:28 -04:00
Alan Ott 011208de6a README.txt: Clarification of what the sample program does. 2012-01-12 17:17:44 -05:00
Alan Ott 3001983083 Update of README.txt. 2011-09-13 11:33:05 +08:00
Alan Ott e02edb2909 Fixed the formatting of README.txt 2011-09-13 11:06:04 +08:00
Alan Ott fe4f75b0ff Updated README.txt, removed testgui/README.txt
README.txt is now current and contains the info which was in
testgui/README.txt. testgui/README.txt has been removed as obsolete.
2011-09-13 02:19:46 +08:00
Alan Ott 8348b17b82 Updated README to reflect recent changes. 2010-07-28 20:45:48 -04:00
Alan Ott 3f9611fe5a Added README 2010-04-11 16:37:10 -04:00