Skip to content

Commit 2551a5d

Browse files
committed
Reorganize Windows source structure
- separate HID declarations for non-DDK build into re-usable headers; - refactor initialisation/deinitialisation of HIDAPI; - make all the comments consistent (C-style only);
1 parent 6f37897 commit 2551a5d

File tree

6 files changed

+339
-200
lines changed

6 files changed

+339
-200
lines changed

windows/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
add_library(hidapi_winapi
22
${HIDAPI_PUBLIC_HEADERS}
33
hid.c
4+
hidapi_cfgmgr32.h
5+
hidapi_hidclass.h
6+
hidapi_hidpi.h
7+
hidapi_hidsdi.h
48
)
59
target_link_libraries(hidapi_winapi
610
PUBLIC hidapi_include

0 commit comments

Comments
 (0)