-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added HIDAPI library and preparation for HID support
- Loading branch information
Showing
227 changed files
with
38,856 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
environment: | ||
matrix: | ||
- BUILD_ENV: msbuild | ||
arch: x64 | ||
- BUILD_ENV: msbuild | ||
arch: Win32 | ||
- BUILD_ENV: cygwin | ||
|
||
for: | ||
- | ||
matrix: | ||
only: | ||
- BUILD_ENV: msbuild | ||
|
||
os: Visual Studio 2015 | ||
|
||
build_script: | ||
- cmd: msbuild .\windows\hidapi.sln /p:Configuration=Release /p:Platform=%arch% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" | ||
|
||
- | ||
matrix: | ||
only: | ||
- BUILD_ENV: cygwin | ||
|
||
os: Visual Studio 2022 | ||
|
||
install: | ||
- cmd: C:\cygwin64\setup-x86_64.exe --quiet-mode --no-shortcuts --upgrade-also --packages autoconf,automake | ||
|
||
build_script: | ||
- cmd: C:\cygwin64\bin\bash -exlc "cd $APPVEYOR_BUILD_FOLDER; ./bootstrap; ./configure; make" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
image: freebsd/latest | ||
packages: | ||
- autoconf | ||
- automake | ||
- gmake | ||
- libiconv | ||
- libtool | ||
- pkgconf | ||
- cmake | ||
- ninja | ||
sources: | ||
- https://github.com/libusb/hidapi | ||
tasks: | ||
- configure: | | ||
cd hidapi | ||
echo Configure Autotools build | ||
./bootstrap | ||
./configure | ||
echo Configure CMake build | ||
mkdir -p build install_cmake | ||
cmake -GNinja -B build -S . -DCMAKE_INSTALL_PREFIX=install_cmake | ||
- build-autotools: | | ||
cd hidapi | ||
make | ||
make DESTDIR=$PWD/root install | ||
make clean | ||
- build-cmake: | | ||
cd hidapi/build | ||
ninja | ||
ninja install | ||
ninja clean | ||
- build-manual: | | ||
cd hidapi/libusb | ||
gmake -f Makefile-manual |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
image: netbsd/latest | ||
packages: | ||
- cmake | ||
- pkgconf | ||
- libusb1 | ||
- libiconv | ||
sources: | ||
- https://github.com/libusb/hidapi | ||
tasks: | ||
- configure: | | ||
cd hidapi | ||
mkdir -p build install | ||
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=install | ||
- build: | | ||
cd hidapi/build | ||
make | ||
make install | ||
make clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
image: openbsd/latest | ||
packages: | ||
- cmake | ||
- pkgconf | ||
- libusb1-- | ||
- libiconv | ||
- ninja | ||
sources: | ||
- https://github.com/libusb/hidapi | ||
tasks: | ||
- configure: | | ||
cd hidapi | ||
mkdir -p build install | ||
cmake -GNinja -B build -S . -DCMAKE_INSTALL_PREFIX=install | ||
- build: | | ||
cd hidapi/build | ||
ninja | ||
ninja install | ||
ninja clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
alpine_task: | ||
container: | ||
image: alpine:latest | ||
install_script: apk add autoconf automake g++ gcc libusb-dev libtool linux-headers eudev-dev make musl-dev | ||
script: | ||
- ./bootstrap | ||
- ./configure || { cat config.log; exit 1; } | ||
- make | ||
- make install | ||
|
||
freebsd11_task: | ||
freebsd_instance: | ||
image: freebsd-11-2-release-amd64 | ||
install_script: | ||
- pkg install -y | ||
autoconf automake libiconv libtool pkgconf | ||
script: | ||
- ./bootstrap | ||
- ./configure || { cat config.log; exit 1; } | ||
- make | ||
- make install | ||
|
||
freebsd12_task: | ||
freebsd_instance: | ||
image: freebsd-12-1-release-amd64 | ||
install_script: | ||
- pkg install -y | ||
autoconf automake libiconv libtool pkgconf | ||
script: | ||
- ./bootstrap | ||
- ./configure || { cat config.log; exit 1; } | ||
- make | ||
- make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* text=auto | ||
|
||
*.sln text eol=crlf | ||
*.vcproj text eol=crlf | ||
|
||
bootstrap text eol=lf | ||
configure.ac text eol=lf |
Oops, something went wrong.