Externals: add hidapi
Current master (d17db57b9d4354752e0af42f5f33007a42ef2906) because Android support was added after the current release (0.8.0-rc1).
This commit is contained in:
1 parent
d139659ea2
commit
84467d2ff1
72 files changed
+10920
No files matched your search
@@ -0,0 +1,2 @@
|
||||
*.log
|
||||
obj*_*_*
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
LIBRARY hidapi
|
||||
EXPORTS
|
||||
hid_open @1
|
||||
hid_write @2
|
||||
hid_read @3
|
||||
hid_close @4
|
||||
hid_get_product_string @5
|
||||
hid_get_manufacturer_string @6
|
||||
hid_get_serial_number_string @7
|
||||
hid_get_indexed_string @8
|
||||
hid_error @9
|
||||
hid_set_nonblocking @10
|
||||
hid_enumerate @11
|
||||
hid_open_path @12
|
||||
hid_send_feature_report @13
|
||||
hid_get_feature_report @14
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
#############################################################################
|
||||
#
|
||||
# Copyright (C) Microsoft Corporation 1995, 1996
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# MAKEFILE for HID directory
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
!IFDEF WIN95_BUILD
|
||||
|
||||
ROOT=..\..\..\..
|
||||
|
||||
VERSIONLIST = debug retail
|
||||
IS_32 = TRUE
|
||||
IS_SDK = TRUE
|
||||
IS_PRIVATE = TRUE
|
||||
IS_SDK = TRUE
|
||||
IS_DDK = TRUE
|
||||
WIN32 = TRUE
|
||||
COMMONMKFILE = hidapi.mk
|
||||
|
||||
!include $(ROOT)\dev\master.mk
|
||||
|
||||
|
||||
!ELSE
|
||||
|
||||
#
|
||||
# DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source
|
||||
# file to this component. This file merely indirects to the real make file
|
||||
# that is shared by all the driver components of the Windows NT DDK
|
||||
#
|
||||
|
||||
!IF DEFINED(_NT_TARGET_VERSION)
|
||||
! IF $(_NT_TARGET_VERSION)>=0x501
|
||||
! INCLUDE $(NTMAKEENV)\makefile.def
|
||||
! ELSE
|
||||
# Only warn once per directory
|
||||
! INCLUDE $(NTMAKEENV)\makefile.plt
|
||||
! IF "$(BUILD_PASS)"=="PASS1"
|
||||
! message BUILDMSG: Warning : The sample "$(MAKEDIR)" is not valid for the current OS target.
|
||||
! ENDIF
|
||||
! ENDIF
|
||||
!ELSE
|
||||
! INCLUDE $(NTMAKEENV)\makefile.def
|
||||
!ENDIF
|
||||
|
||||
!ENDIF
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
TARGETNAME=hidapi
|
||||
TARGETTYPE=DYNLINK
|
||||
UMTYPE=console
|
||||
UMENTRY=main
|
||||
|
||||
MSC_WARNING_LEVEL=/W3 /WX
|
||||
|
||||
TARGETLIBS=$(SDK_LIB_PATH)\hid.lib \
|
||||
$(SDK_LIB_PATH)\setupapi.lib \
|
||||
$(SDK_LIB_PATH)\kernel32.lib \
|
||||
$(SDK_LIB_PATH)\comdlg32.lib
|
||||
|
||||
USE_MSVCRT=1
|
||||
|
||||
INCLUDES= ..\..\hidapi
|
||||
SOURCES= ..\hid.c \
|
||||
|
||||
|
||||
TARGET_DESTINATION=retail
|
||||
|
||||
MUI=0
|
||||
MUI_COMMENT="HID Interface DLL"
|
||||
|
||||
Reference in new issue
Block a user