Fooled around with hidapi
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "hidapi"]
|
||||
path = hidapi
|
||||
url = https://github.com/libusb/hidapi
|
3
Makefile
3
Makefile
@@ -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
1
hidapi
Submodule
Submodule hidapi added at cdc473dfe4
Reference in New Issue
Block a user