Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added missing files from previous commits
  • Loading branch information
slouken committed Aug 9, 2018
1 parent 31b0224 commit 4f41f07
Show file tree
Hide file tree
Showing 71 changed files with 13,922 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/hidapi/AUTHORS.txt
@@ -0,0 +1,16 @@

HIDAPI Authors:

Alan Ott <alan@signal11.us>:
Original Author and Maintainer
Linux, Windows, and Mac implementations

Ludovic Rousseau <rousseau@debian.org>:
Formatting for Doxygen documentation
Bug fixes
Correctness fixes


For a comprehensive list of contributions, see the commit list at github:
http://github.com/signal11/hidapi/commits/master

15 changes: 15 additions & 0 deletions src/hidapi/HACKING.txt
@@ -0,0 +1,15 @@
This file is mostly for the maintainer.

1. Build hidapi.dll
2. Build hidtest.exe in DEBUG and RELEASE
3. Commit all

4. Run the Following
export VERSION=0.1.0
export TAG_NAME=hidapi-$VERSION
git tag $TAG_NAME
git archive --format zip --prefix $TAG_NAME/ $TAG_NAME >../$TAG_NAME.zip
5. Test the zip file.
6. Run the following:
git push origin $TAG_NAME

26 changes: 26 additions & 0 deletions src/hidapi/LICENSE-bsd.txt
@@ -0,0 +1,26 @@
Copyright (c) 2010, Alan Ott, Signal 11 Software
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Signal 11 Software nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
674 changes: 674 additions & 0 deletions src/hidapi/LICENSE-gpl3.txt

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/hidapi/LICENSE-orig.txt
@@ -0,0 +1,9 @@
HIDAPI - Multi-Platform library for
communication with HID devices.

Copyright 2009, Alan Ott, Signal 11 Software.
All Rights Reserved.

This software may be used by anyone for any reason so
long as the copyright notice in the source files
remains intact.
13 changes: 13 additions & 0 deletions src/hidapi/LICENSE.txt
@@ -0,0 +1,13 @@
HIDAPI can be used under one of three licenses.

1. The GNU General Public License, version 3.0, in LICENSE-gpl3.txt
2. A BSD-Style License, in LICENSE-bsd.txt.
3. The more liberal original HIDAPI license. LICENSE-orig.txt

The license chosen is at the discretion of the user of HIDAPI. For example:
1. An author of GPL software would likely use HIDAPI under the terms of the
GPL.

2. An author of commercial closed-source software would likely use HIDAPI
under the terms of the BSD-style license or the original HIDAPI license.

85 changes: 85 additions & 0 deletions src/hidapi/Makefile.am
@@ -0,0 +1,85 @@

ACLOCAL_AMFLAGS = -I m4

if OS_FREEBSD
pkgconfigdir=$(prefix)/libdata/pkgconfig
else
pkgconfigdir=$(libdir)/pkgconfig
endif

if OS_LINUX
pkgconfig_DATA=pc/hidapi-hidraw.pc pc/hidapi-libusb.pc
else
pkgconfig_DATA=pc/hidapi.pc
endif

SUBDIRS=

if OS_LINUX
SUBDIRS += linux libusb
endif

if OS_DARWIN
SUBDIRS += mac
endif

if OS_IOS
SUBDIRS += ios
endif

if OS_FREEBSD
SUBDIRS += libusb
endif

if OS_KFREEBSD
SUBDIRS += libusb
endif

if OS_WINDOWS
SUBDIRS += windows
endif

SUBDIRS += hidtest

if BUILD_TESTGUI
SUBDIRS += testgui
endif

EXTRA_DIST = udev doxygen

dist_doc_DATA = \
README.txt \
AUTHORS.txt \
LICENSE-bsd.txt \
LICENSE-gpl3.txt \
LICENSE-orig.txt \
LICENSE.txt

SCMCLEAN_TARGETS= \
aclocal.m4 \
config.guess \
config.sub \
configure \
config.h.in \
depcomp \
install-sh \
ltmain.sh \
missing \
mac/Makefile.in \
testgui/Makefile.in \
libusb/Makefile.in \
Makefile.in \
linux/Makefile.in \
windows/Makefile.in \
m4/libtool.m4 \
m4/lt~obsolete.m4 \
m4/ltoptions.m4 \
m4/ltsugar.m4 \
m4/ltversion.m4

SCMCLEAN_DIR_TARGETS = \
autom4te.cache

scm-clean: distclean
rm -f $(SCMCLEAN_TARGETS)
rm -Rf $(SCMCLEAN_DIR_TARGETS)

0 comments on commit 4f41f07

Please sign in to comment.