Fooled around with hidapi

This commit is contained in:
- 2020-09-30 02:06:27 -07:00
parent 1ccf002bbf
commit 4dcb0d8f54
3 changed files with 5 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "hidapi"]
path = hidapi
url = https://github.com/libusb/hidapi

View File

@ -3,8 +3,7 @@
obj-m += hanvon.o
all:
gcc hanvon-libusb.c -L/usr/local/lib -lusb-1.0 -g
gcc hanvon-libusb.c ./hidapi/linux/hid.o -L/usr/local/lib -lusb-1.0 -ludev -g
archive:
tar f - --exclude=.git -C ../ -c hanvon | gzip -c9 > ../hanvon-`date +%Y%m%d`.tgz

1
hidapi Submodule

@ -0,0 +1 @@
Subproject commit cdc473dfe43f6432dda7ad53d7656b8ae8ff968b