usb 2.0.0-alpha.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/.gitmodules +1 -1
  2. package/CHANGELOG.md +100 -0
  3. package/README.md +573 -0
  4. package/binding.gyp +12 -2
  5. package/dist/index.d.ts +4 -4
  6. package/dist/index.js +14 -8
  7. package/dist/index.js.map +1 -1
  8. package/dist/usb/bindings.d.ts +13 -0
  9. package/dist/usb/bindings.js +2 -1
  10. package/dist/usb/bindings.js.map +1 -1
  11. package/dist/usb/index.js +86 -2
  12. package/dist/usb/index.js.map +1 -1
  13. package/dist/usb/interface.js.map +1 -1
  14. package/dist/webusb/index.d.ts +32 -19
  15. package/dist/webusb/index.js +163 -67
  16. package/dist/webusb/index.js.map +1 -1
  17. package/dist/webusb/webusb-device.d.ts +1 -1
  18. package/dist/webusb/webusb-device.js +27 -15
  19. package/dist/webusb/webusb-device.js.map +1 -1
  20. package/libusb/.private/pre-commit.sh +7 -1
  21. package/libusb/.travis.yml +49 -0
  22. package/libusb/AUTHORS +44 -3
  23. package/libusb/Brewfile +4 -0
  24. package/libusb/ChangeLog +74 -2
  25. package/libusb/README.md +32 -0
  26. package/libusb/TODO +1 -1
  27. package/libusb/Xcode/common.xcconfig +12 -0
  28. package/libusb/Xcode/config.h +25 -0
  29. package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +959 -1
  30. package/libusb/android/README +4 -2
  31. package/libusb/android/config.h +75 -0
  32. package/libusb/appveyor.yml +41 -0
  33. package/libusb/appveyor_cygwin.bat +11 -0
  34. package/libusb/appveyor_minGW.bat +19 -0
  35. package/libusb/autogen.sh +1 -1
  36. package/libusb/bootstrap.sh +3 -16
  37. package/libusb/configure.ac +108 -80
  38. package/libusb/doc/doxygen.cfg.in +1785 -739
  39. package/libusb/examples/Makefile.am +1 -1
  40. package/libusb/examples/dpfp.c +3 -1
  41. package/libusb/examples/dpfp_threaded.c +23 -10
  42. package/libusb/examples/ezusb.c +3 -3
  43. package/libusb/examples/ezusb.h +2 -2
  44. package/libusb/examples/fxload.c +31 -9
  45. package/libusb/examples/hotplugtest.c +35 -7
  46. package/libusb/examples/listdevs.c +3 -1
  47. package/libusb/examples/sam3u_benchmark.c +3 -3
  48. package/libusb/examples/testlibusb.c +277 -0
  49. package/libusb/examples/xusb.c +40 -34
  50. package/libusb/libusb/Makefile.am +49 -23
  51. package/libusb/libusb/core.c +855 -457
  52. package/libusb/libusb/descriptor.c +72 -78
  53. package/libusb/libusb/hotplug.c +122 -76
  54. package/libusb/libusb/hotplug.h +42 -25
  55. package/libusb/libusb/io.c +625 -390
  56. package/libusb/libusb/libusb-1.0.def +12 -0
  57. package/libusb/libusb/libusb.h +218 -150
  58. package/libusb/libusb/libusbi.h +346 -176
  59. package/libusb/libusb/os/darwin_usb.c +604 -319
  60. package/libusb/libusb/os/darwin_usb.h +61 -20
  61. package/libusb/libusb/os/haiku_pollfs.cpp +367 -0
  62. package/libusb/libusb/os/haiku_usb.h +113 -0
  63. package/libusb/libusb/os/haiku_usb_backend.cpp +533 -0
  64. package/libusb/libusb/os/haiku_usb_raw.cpp +267 -0
  65. package/libusb/libusb/os/haiku_usb_raw.h +188 -0
  66. package/libusb/libusb/os/linux_netlink.c +186 -146
  67. package/libusb/libusb/os/linux_udev.c +36 -14
  68. package/libusb/libusb/os/linux_usbfs.c +426 -225
  69. package/libusb/libusb/os/linux_usbfs.h +5 -3
  70. package/libusb/libusb/os/netbsd_usb.c +21 -77
  71. package/libusb/libusb/os/openbsd_usb.c +32 -115
  72. package/libusb/libusb/os/poll_posix.c +38 -5
  73. package/libusb/libusb/os/poll_posix.h +3 -0
  74. package/libusb/libusb/os/poll_windows.c +277 -626
  75. package/libusb/libusb/os/poll_windows.h +11 -44
  76. package/libusb/libusb/os/sunos_usb.c +1695 -0
  77. package/libusb/libusb/os/sunos_usb.h +80 -0
  78. package/libusb/libusb/os/threads_posix.c +24 -26
  79. package/libusb/libusb/os/threads_posix.h +73 -21
  80. package/libusb/libusb/os/threads_windows.c +71 -157
  81. package/libusb/libusb/os/threads_windows.h +68 -44
  82. package/libusb/libusb/os/wince_usb.c +276 -420
  83. package/libusb/libusb/os/wince_usb.h +23 -28
  84. package/libusb/libusb/os/windows_common.h +78 -58
  85. package/libusb/libusb/os/windows_nt_common.c +1010 -0
  86. package/libusb/libusb/os/windows_nt_common.h +110 -0
  87. package/libusb/libusb/os/windows_nt_shared_types.h +147 -0
  88. package/libusb/libusb/os/windows_usbdk.c +830 -0
  89. package/libusb/libusb/os/windows_usbdk.h +103 -0
  90. package/libusb/libusb/os/windows_winusb.c +4391 -0
  91. package/libusb/libusb/os/windows_winusb.h +783 -0
  92. package/libusb/libusb/strerror.c +41 -7
  93. package/libusb/libusb/sync.c +41 -13
  94. package/libusb/libusb/version.h +1 -1
  95. package/libusb/libusb/version_nano.h +1 -1
  96. package/libusb/libusb-1.0.pc.in +1 -1
  97. package/libusb/msvc/appveyor.bat +27 -0
  98. package/libusb/msvc/config.h +5 -4
  99. package/libusb/msvc/ddk_build.cmd +87 -43
  100. package/libusb/msvc/fxload_2010.vcxproj +24 -104
  101. package/libusb/msvc/fxload_2012.vcxproj +24 -107
  102. package/libusb/msvc/fxload_2013.vcxproj +24 -107
  103. package/libusb/msvc/fxload_2015.vcxproj +91 -0
  104. package/libusb/msvc/fxload_2017.vcxproj +114 -0
  105. package/libusb/msvc/fxload_sources +1 -1
  106. package/libusb/msvc/getopt_2010.vcxproj +16 -75
  107. package/libusb/msvc/getopt_2012.vcxproj +16 -79
  108. package/libusb/msvc/getopt_2013.vcxproj +16 -79
  109. package/libusb/msvc/getopt_2015.vcxproj +73 -0
  110. package/libusb/msvc/getopt_2017.vcxproj +98 -0
  111. package/libusb/msvc/getopt_sources +6 -2
  112. package/libusb/msvc/hotplugtest_2010.vcxproj +18 -99
  113. package/libusb/msvc/hotplugtest_2012.vcxproj +18 -102
  114. package/libusb/msvc/hotplugtest_2013.vcxproj +18 -102
  115. package/libusb/msvc/hotplugtest_2015.vcxproj +83 -0
  116. package/libusb/msvc/hotplugtest_2017.vcxproj +106 -0
  117. package/libusb/msvc/hotplugtest_sources +1 -1
  118. package/libusb/msvc/libusb_2005.sln +20 -20
  119. package/libusb/msvc/libusb_2010.sln +57 -46
  120. package/libusb/msvc/libusb_2012.sln +57 -46
  121. package/libusb/msvc/libusb_2013.sln +57 -50
  122. package/libusb/msvc/libusb_2015.sln +59 -52
  123. package/libusb/msvc/libusb_2017.sln +186 -0
  124. package/libusb/msvc/libusb_dll.dsp +2 -2
  125. package/libusb/msvc/libusb_dll_2005.vcproj +30 -2
  126. package/libusb/msvc/libusb_dll_2010.vcxproj +26 -90
  127. package/libusb/msvc/libusb_dll_2012.vcxproj +28 -96
  128. package/libusb/msvc/libusb_dll_2013.vcxproj +28 -96
  129. package/libusb/msvc/libusb_dll_2015.vcxproj +107 -0
  130. package/libusb/msvc/libusb_dll_2017.vcxproj +134 -0
  131. package/libusb/msvc/libusb_dll_wince.vcproj +9 -1
  132. package/libusb/msvc/libusb_sources +10 -5
  133. package/libusb/msvc/libusb_static.dsp +2 -2
  134. package/libusb/msvc/libusb_static_2005.vcproj +32 -4
  135. package/libusb/msvc/libusb_static_2010.vcxproj +24 -83
  136. package/libusb/msvc/libusb_static_2012.vcxproj +25 -87
  137. package/libusb/msvc/libusb_static_2013.vcxproj +25 -87
  138. package/libusb/msvc/libusb_static_2015.vcxproj +98 -0
  139. package/libusb/msvc/libusb_static_2017.vcxproj +117 -0
  140. package/libusb/msvc/libusb_static_wince.vcproj +20 -26
  141. package/libusb/msvc/libusb_wince.sln +88 -88
  142. package/libusb/msvc/listdevs_2010.vcxproj +16 -99
  143. package/libusb/msvc/listdevs_2012.vcxproj +16 -102
  144. package/libusb/msvc/listdevs_2013.vcxproj +16 -102
  145. package/libusb/msvc/listdevs_2015.vcxproj +83 -0
  146. package/libusb/msvc/listdevs_2017.vcxproj +106 -0
  147. package/libusb/msvc/listdevs_sources +2 -1
  148. package/libusb/msvc/stress_2010.vcxproj +20 -101
  149. package/libusb/msvc/stress_2012.vcxproj +20 -104
  150. package/libusb/msvc/stress_2013.vcxproj +20 -104
  151. package/libusb/msvc/stress_2015.vcxproj +87 -0
  152. package/libusb/msvc/stress_2017.vcxproj +110 -0
  153. package/libusb/msvc/stress_sources +21 -0
  154. package/libusb/msvc/testlibusb_2010.vcxproj +82 -0
  155. package/libusb/msvc/testlibusb_2012.vcxproj +83 -0
  156. package/libusb/msvc/testlibusb_2013.vcxproj +83 -0
  157. package/libusb/msvc/testlibusb_2015.vcxproj +83 -0
  158. package/libusb/msvc/testlibusb_2017.vcxproj +106 -0
  159. package/libusb/msvc/testlibusb_sources +20 -0
  160. package/libusb/msvc/xusb_2010.vcxproj +17 -98
  161. package/libusb/msvc/xusb_2012.vcxproj +17 -101
  162. package/libusb/msvc/xusb_2013.vcxproj +17 -101
  163. package/libusb/msvc/xusb_2015.vcxproj +83 -0
  164. package/libusb/msvc/xusb_2017.vcxproj +106 -0
  165. package/libusb/msvc/xusb_sources +1 -1
  166. package/libusb/tests/stress.c +2 -2
  167. package/libusb/tests/testlib.c +0 -4
  168. package/libusb/travis-autogen.sh +39 -0
  169. package/libusb.gypi +21 -2
  170. package/package.json +18 -13
  171. package/prebuilds/android-arm/node.napi.node +0 -0
  172. package/prebuilds/android-arm64/node.napi.node +0 -0
  173. package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  174. package/prebuilds/linux-arm/node.napi.node +0 -0
  175. package/prebuilds/linux-arm64/node.napi.node +0 -0
  176. package/prebuilds/linux-ia32/node.napi.node +0 -0
  177. package/prebuilds/linux-x64/node.napi.node +0 -0
  178. package/prebuilds/win32-ia32/node.napi.node +0 -0
  179. package/prebuilds/win32-x64/node.napi.node +0 -0
  180. package/src/device.cc +7 -7
  181. package/src/node_usb.cc +43 -1
  182. package/src/node_usb.h +1 -0
  183. package/src/uv_async_queue.h +33 -25
  184. package/test/usb.coffee +6 -0
  185. package/tsc/index.ts +13 -7
  186. package/tsc/usb/bindings.ts +19 -1
  187. package/tsc/usb/index.ts +67 -19
  188. package/tsc/usb/interface.ts +2 -2
  189. package/tsc/webusb/index.ts +197 -74
  190. package/tsc/webusb/webusb-device.ts +30 -17
  191. package/.github/workflows/prebuild.yml +0 -48
  192. package/Readme.md +0 -339
  193. package/dist/webusb/typed-event-target.d.ts +0 -11
  194. package/dist/webusb/typed-event-target.js +0 -21
  195. package/dist/webusb/typed-event-target.js.map +0 -1
  196. package/docs/assets/css/main.css +0 -2660
  197. package/docs/assets/images/icons.png +0 -0
  198. package/docs/assets/images/icons@2x.png +0 -0
  199. package/docs/assets/images/widgets.png +0 -0
  200. package/docs/assets/images/widgets@2x.png +0 -0
  201. package/docs/assets/js/main.js +0 -248
  202. package/docs/assets/js/search.js +0 -1
  203. package/docs/classes/usb_bindings.device.html +0 -1338
  204. package/docs/classes/usb_bindings.libusbexception.html +0 -234
  205. package/docs/classes/usb_bindings.transfer.html +0 -344
  206. package/docs/classes/usb_capability.capability.html +0 -297
  207. package/docs/classes/usb_device.extendeddevice.html +0 -766
  208. package/docs/classes/usb_endpoint.endpoint.html +0 -472
  209. package/docs/classes/usb_endpoint.inendpoint.html +0 -766
  210. package/docs/classes/usb_endpoint.outendpoint.html +0 -582
  211. package/docs/classes/usb_interface.interface.html +0 -648
  212. package/docs/classes/webusb.webusb-1.html +0 -615
  213. package/docs/classes/webusb_mutex.mutex.html +0 -270
  214. package/docs/classes/webusb_typed_event_target.typedeventtarget.html +0 -443
  215. package/docs/classes/webusb_webusb_device.webusbdevice.html +0 -904
  216. package/docs/index.html +0 -500
  217. package/docs/interfaces/usb.deviceevents.html +0 -242
  218. package/docs/interfaces/usb_descriptors.bosdescriptor.html +0 -293
  219. package/docs/interfaces/usb_descriptors.capabilitydescriptor.html +0 -274
  220. package/docs/interfaces/usb_descriptors.configdescriptor.html +0 -388
  221. package/docs/interfaces/usb_descriptors.devicedescriptor.html +0 -464
  222. package/docs/interfaces/usb_descriptors.endpointdescriptor.html +0 -370
  223. package/docs/interfaces/usb_descriptors.interfacedescriptor.html +0 -407
  224. package/docs/interfaces/webusb.usboptions.html +0 -226
  225. package/docs/modules/index.html +0 -304
  226. package/docs/modules/usb.html +0 -173
  227. package/docs/modules/usb_bindings.html +0 -2248
  228. package/docs/modules/usb_capability.html +0 -156
  229. package/docs/modules/usb_descriptors.html +0 -176
  230. package/docs/modules/usb_device.html +0 -156
  231. package/docs/modules/usb_endpoint.html +0 -164
  232. package/docs/modules/usb_interface.html +0 -156
  233. package/docs/modules/webusb.html +0 -165
  234. package/docs/modules/webusb_mutex.html +0 -156
  235. package/docs/modules/webusb_typed_event_target.html +0 -156
  236. package/docs/modules/webusb_webusb_device.html +0 -156
  237. package/docs/modules.html +0 -156
  238. package/libusb/INSTALL +0 -234
  239. package/libusb/README +0 -28
  240. package/libusb/libusb/os/windows_usb.c +0 -5347
  241. package/libusb/libusb/os/windows_usb.h +0 -971
  242. package/libusb/msvc/fxload_2010.vcxproj.filters +0 -25
  243. package/libusb/msvc/fxload_2012.vcxproj.filters +0 -25
  244. package/libusb/msvc/getopt_2010.vcxproj.filters +0 -26
  245. package/libusb/msvc/getopt_2012.vcxproj.filters +0 -26
  246. package/libusb/msvc/hotplugtest_2010.vcxproj.filters +0 -14
  247. package/libusb/msvc/hotplugtest_2012.vcxproj.filters +0 -14
  248. package/libusb/msvc/libusb_dll_2010.vcxproj.filters +0 -81
  249. package/libusb/msvc/libusb_dll_2012.vcxproj.filters +0 -84
  250. package/libusb/msvc/libusb_static_2010.vcxproj.filters +0 -74
  251. package/libusb/msvc/libusb_static_2012.vcxproj.filters +0 -74
  252. package/libusb/msvc/listdevs_2010.vcxproj.filters +0 -14
  253. package/libusb/msvc/listdevs_2012.vcxproj.filters +0 -14
  254. package/libusb/msvc/stress_2010.vcxproj.filters +0 -25
  255. package/libusb/msvc/stress_2012.vcxproj.filters +0 -25
  256. package/libusb/msvc/xusb_2010.vcxproj.filters +0 -14
  257. package/libusb/msvc/xusb_2012.vcxproj.filters +0 -14
  258. package/tsc/webusb/typed-event-target.ts +0 -23
@@ -1,156 +0,0 @@
1
- <!doctype html>
2
- <html class="default no-js">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>webusb/webusb-device | Node USB</title>
7
- <meta name="description" content="Documentation for Node USB">
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
- <link rel="stylesheet" href="../assets/css/main.css">
10
- <script async src="../assets/js/search.js" id="search-script"></script>
11
- </head>
12
- <body>
13
- <header>
14
- <div class="tsd-page-toolbar">
15
- <div class="container">
16
- <div class="table-wrap">
17
- <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
18
- <div class="field">
19
- <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
20
- <input id="tsd-search-field" type="text" />
21
- </div>
22
- <ul class="results">
23
- <li class="state loading">Preparing search index...</li>
24
- <li class="state failure">The search index is not available</li>
25
- </ul>
26
- <a href="../index.html" class="title">Node USB</a>
27
- </div>
28
- <div class="table-cell" id="tsd-widgets">
29
- <div id="tsd-filter">
30
- <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
31
- <div class="tsd-filter-group">
32
- <div class="tsd-select" id="tsd-filter-visibility">
33
- <span class="tsd-select-label">All</span>
34
- <ul class="tsd-select-list">
35
- <li data-value="public">Public</li>
36
- <li data-value="protected">Public/Protected</li>
37
- <li data-value="private" class="selected">All</li>
38
- </ul>
39
- </div>
40
- <input type="checkbox" id="tsd-filter-inherited" checked />
41
- <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
42
- </div>
43
- </div>
44
- <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
45
- </div>
46
- </div>
47
- </div>
48
- </div>
49
- <div class="tsd-page-title">
50
- <div class="container">
51
- <ul class="tsd-breadcrumb">
52
- <li>
53
- <a href="../modules.html">Node USB</a>
54
- </li>
55
- <li>
56
- <a href="webusb_webusb_device.html">webusb/webusb-device</a>
57
- </li>
58
- </ul>
59
- <h1>Module webusb/webusb-device</h1>
60
- </div>
61
- </div>
62
- </header>
63
- <div class="container container-main">
64
- <div class="row">
65
- <div class="col-8 col-content">
66
- <section class="tsd-panel-group tsd-index-group">
67
- <h2>Index</h2>
68
- <section class="tsd-panel tsd-index-panel">
69
- <div class="tsd-index-content">
70
- <section class="tsd-index-section ">
71
- <h3>Classes</h3>
72
- <ul class="tsd-index-list">
73
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/webusb_webusb_device.webusbdevice.html" class="tsd-kind-icon">WebUSBDevice</a></li>
74
- </ul>
75
- </section>
76
- </div>
77
- </section>
78
- </section>
79
- </div>
80
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
81
- <nav class="tsd-navigation primary">
82
- <ul>
83
- <li class=" ">
84
- <a href="../modules.html">Exports</a>
85
- </li>
86
- <li class=" tsd-kind-module">
87
- <a href="index.html">index</a>
88
- </li>
89
- <li class=" tsd-kind-module">
90
- <a href="usb.html">usb</a>
91
- </li>
92
- <li class=" tsd-kind-module">
93
- <a href="usb_bindings.html">usb/bindings</a>
94
- </li>
95
- <li class=" tsd-kind-module">
96
- <a href="usb_capability.html">usb/capability</a>
97
- </li>
98
- <li class=" tsd-kind-module">
99
- <a href="usb_descriptors.html">usb/descriptors</a>
100
- </li>
101
- <li class=" tsd-kind-module">
102
- <a href="usb_device.html">usb/device</a>
103
- </li>
104
- <li class=" tsd-kind-module">
105
- <a href="usb_endpoint.html">usb/endpoint</a>
106
- </li>
107
- <li class=" tsd-kind-module">
108
- <a href="usb_interface.html">usb/interface</a>
109
- </li>
110
- <li class=" tsd-kind-module">
111
- <a href="webusb.html">webusb</a>
112
- </li>
113
- <li class=" tsd-kind-module">
114
- <a href="webusb_mutex.html">webusb/mutex</a>
115
- </li>
116
- <li class=" tsd-kind-module">
117
- <a href="webusb_typed_event_target.html">webusb/typed-<wbr>event-<wbr>target</a>
118
- </li>
119
- <li class="current tsd-kind-module">
120
- <a href="webusb_webusb_device.html">webusb/webusb-<wbr>device</a>
121
- </li>
122
- </ul>
123
- </nav>
124
- <nav class="tsd-navigation secondary menu-sticky">
125
- <ul class="before-current">
126
- <li class=" tsd-kind-class tsd-parent-kind-module">
127
- <a href="../classes/webusb_webusb_device.webusbdevice.html" class="tsd-kind-icon">WebUSBDevice</a>
128
- </li>
129
- </ul>
130
- </nav>
131
- </div>
132
- </div>
133
- </div>
134
- <footer>
135
- <div class="container">
136
- <h2>Legend</h2>
137
- <div class="tsd-legend-group">
138
- <ul class="tsd-legend">
139
- <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
140
- <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
141
- <li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
142
- </ul>
143
- <ul class="tsd-legend">
144
- <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
145
- <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
146
- </ul>
147
- <ul class="tsd-legend">
148
- <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
149
- </ul>
150
- </div>
151
- </div>
152
- </footer>
153
- <div class="overlay"></div>
154
- <script src="../assets/js/main.js"></script>
155
- </body>
156
- </html>
package/docs/modules.html DELETED
@@ -1,156 +0,0 @@
1
- <!doctype html>
2
- <html class="default no-js">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>Node USB</title>
7
- <meta name="description" content="Documentation for Node USB">
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
- <link rel="stylesheet" href="assets/css/main.css">
10
- <script async src="assets/js/search.js" id="search-script"></script>
11
- </head>
12
- <body>
13
- <header>
14
- <div class="tsd-page-toolbar">
15
- <div class="container">
16
- <div class="table-wrap">
17
- <div class="table-cell" id="tsd-search" data-index="assets/js/search.json" data-base=".">
18
- <div class="field">
19
- <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
20
- <input id="tsd-search-field" type="text" />
21
- </div>
22
- <ul class="results">
23
- <li class="state loading">Preparing search index...</li>
24
- <li class="state failure">The search index is not available</li>
25
- </ul>
26
- <a href="index.html" class="title">Node USB</a>
27
- </div>
28
- <div class="table-cell" id="tsd-widgets">
29
- <div id="tsd-filter">
30
- <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
31
- <div class="tsd-filter-group">
32
- <div class="tsd-select" id="tsd-filter-visibility">
33
- <span class="tsd-select-label">All</span>
34
- <ul class="tsd-select-list">
35
- <li data-value="public">Public</li>
36
- <li data-value="protected">Public/Protected</li>
37
- <li data-value="private" class="selected">All</li>
38
- </ul>
39
- </div>
40
- <input type="checkbox" id="tsd-filter-inherited" checked />
41
- <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
42
- </div>
43
- </div>
44
- <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
45
- </div>
46
- </div>
47
- </div>
48
- </div>
49
- <div class="tsd-page-title">
50
- <div class="container">
51
- <h1>Node USB</h1>
52
- </div>
53
- </div>
54
- </header>
55
- <div class="container container-main">
56
- <div class="row">
57
- <div class="col-8 col-content">
58
- <section class="tsd-panel-group tsd-index-group">
59
- <h2>Index</h2>
60
- <section class="tsd-panel tsd-index-panel">
61
- <div class="tsd-index-content">
62
- <section class="tsd-index-section ">
63
- <h3>Modules</h3>
64
- <ul class="tsd-index-list">
65
- <li class="tsd-kind-module"><a href="modules/index.html" class="tsd-kind-icon">index</a></li>
66
- <li class="tsd-kind-module"><a href="modules/usb.html" class="tsd-kind-icon">usb</a></li>
67
- <li class="tsd-kind-module"><a href="modules/usb_bindings.html" class="tsd-kind-icon">usb/bindings</a></li>
68
- <li class="tsd-kind-module"><a href="modules/usb_capability.html" class="tsd-kind-icon">usb/capability</a></li>
69
- <li class="tsd-kind-module"><a href="modules/usb_descriptors.html" class="tsd-kind-icon">usb/descriptors</a></li>
70
- <li class="tsd-kind-module"><a href="modules/usb_device.html" class="tsd-kind-icon">usb/device</a></li>
71
- <li class="tsd-kind-module"><a href="modules/usb_endpoint.html" class="tsd-kind-icon">usb/endpoint</a></li>
72
- <li class="tsd-kind-module"><a href="modules/usb_interface.html" class="tsd-kind-icon">usb/interface</a></li>
73
- <li class="tsd-kind-module"><a href="modules/webusb.html" class="tsd-kind-icon">webusb</a></li>
74
- <li class="tsd-kind-module"><a href="modules/webusb_mutex.html" class="tsd-kind-icon">webusb/mutex</a></li>
75
- <li class="tsd-kind-module"><a href="modules/webusb_typed_event_target.html" class="tsd-kind-icon">webusb/typed-<wbr>event-<wbr>target</a></li>
76
- <li class="tsd-kind-module"><a href="modules/webusb_webusb_device.html" class="tsd-kind-icon">webusb/webusb-<wbr>device</a></li>
77
- </ul>
78
- </section>
79
- </div>
80
- </section>
81
- </section>
82
- </div>
83
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
84
- <nav class="tsd-navigation primary">
85
- <ul>
86
- <li class="current ">
87
- <a href="modules.html">Exports</a>
88
- </li>
89
- <li class=" tsd-kind-module">
90
- <a href="modules/index.html">index</a>
91
- </li>
92
- <li class=" tsd-kind-module">
93
- <a href="modules/usb.html">usb</a>
94
- </li>
95
- <li class=" tsd-kind-module">
96
- <a href="modules/usb_bindings.html">usb/bindings</a>
97
- </li>
98
- <li class=" tsd-kind-module">
99
- <a href="modules/usb_capability.html">usb/capability</a>
100
- </li>
101
- <li class=" tsd-kind-module">
102
- <a href="modules/usb_descriptors.html">usb/descriptors</a>
103
- </li>
104
- <li class=" tsd-kind-module">
105
- <a href="modules/usb_device.html">usb/device</a>
106
- </li>
107
- <li class=" tsd-kind-module">
108
- <a href="modules/usb_endpoint.html">usb/endpoint</a>
109
- </li>
110
- <li class=" tsd-kind-module">
111
- <a href="modules/usb_interface.html">usb/interface</a>
112
- </li>
113
- <li class=" tsd-kind-module">
114
- <a href="modules/webusb.html">webusb</a>
115
- </li>
116
- <li class=" tsd-kind-module">
117
- <a href="modules/webusb_mutex.html">webusb/mutex</a>
118
- </li>
119
- <li class=" tsd-kind-module">
120
- <a href="modules/webusb_typed_event_target.html">webusb/typed-<wbr>event-<wbr>target</a>
121
- </li>
122
- <li class=" tsd-kind-module">
123
- <a href="modules/webusb_webusb_device.html">webusb/webusb-<wbr>device</a>
124
- </li>
125
- </ul>
126
- </nav>
127
- <nav class="tsd-navigation secondary menu-sticky">
128
- <ul class="before-current">
129
- </ul>
130
- </nav>
131
- </div>
132
- </div>
133
- </div>
134
- <footer>
135
- <div class="container">
136
- <h2>Legend</h2>
137
- <div class="tsd-legend-group">
138
- <ul class="tsd-legend">
139
- <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
140
- <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
141
- <li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
142
- </ul>
143
- <ul class="tsd-legend">
144
- <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
145
- <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
146
- </ul>
147
- <ul class="tsd-legend">
148
- <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
149
- </ul>
150
- </div>
151
- </div>
152
- </footer>
153
- <div class="overlay"></div>
154
- <script src="assets/js/main.js"></script>
155
- </body>
156
- </html>
package/libusb/INSTALL DELETED
@@ -1,234 +0,0 @@
1
- Installation Instructions
2
- *************************
3
-
4
- Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
5
- 2006 Free Software Foundation, Inc.
6
-
7
- This file is free documentation; the Free Software Foundation gives
8
- unlimited permission to copy, distribute and modify it.
9
-
10
- Basic Installation
11
- ==================
12
-
13
- Briefly, the shell commands `./configure; make; make install' should
14
- configure, build, and install this package. The following
15
- more-detailed instructions are generic; see the `README' file for
16
- instructions specific to this package.
17
-
18
- The `configure' shell script attempts to guess correct values for
19
- various system-dependent variables used during compilation. It uses
20
- those values to create a `Makefile' in each directory of the package.
21
- It may also create one or more `.h' files containing system-dependent
22
- definitions. Finally, it creates a shell script `config.status' that
23
- you can run in the future to recreate the current configuration, and a
24
- file `config.log' containing compiler output (useful mainly for
25
- debugging `configure').
26
-
27
- It can also use an optional file (typically called `config.cache'
28
- and enabled with `--cache-file=config.cache' or simply `-C') that saves
29
- the results of its tests to speed up reconfiguring. Caching is
30
- disabled by default to prevent problems with accidental use of stale
31
- cache files.
32
-
33
- If you need to do unusual things to compile the package, please try
34
- to figure out how `configure' could check whether to do them, and mail
35
- diffs or instructions to the address given in the `README' so they can
36
- be considered for the next release. If you are using the cache, and at
37
- some point `config.cache' contains results you don't want to keep, you
38
- may remove or edit it.
39
-
40
- The file `configure.ac' (or `configure.in') is used to create
41
- `configure' by a program called `autoconf'. You need `configure.ac' if
42
- you want to change it or regenerate `configure' using a newer version
43
- of `autoconf'.
44
-
45
- The simplest way to compile this package is:
46
-
47
- 1. `cd' to the directory containing the package's source code and type
48
- `./configure' to configure the package for your system.
49
-
50
- Running `configure' might take a while. While running, it prints
51
- some messages telling which features it is checking for.
52
-
53
- 2. Type `make' to compile the package.
54
-
55
- 3. Optionally, type `make check' to run any self-tests that come with
56
- the package.
57
-
58
- 4. Type `make install' to install the programs and any data files and
59
- documentation.
60
-
61
- 5. You can remove the program binaries and object files from the
62
- source code directory by typing `make clean'. To also remove the
63
- files that `configure' created (so you can compile the package for
64
- a different kind of computer), type `make distclean'. There is
65
- also a `make maintainer-clean' target, but that is intended mainly
66
- for the package's developers. If you use it, you may have to get
67
- all sorts of other programs in order to regenerate files that came
68
- with the distribution.
69
-
70
- Compilers and Options
71
- =====================
72
-
73
- Some systems require unusual options for compilation or linking that the
74
- `configure' script does not know about. Run `./configure --help' for
75
- details on some of the pertinent environment variables.
76
-
77
- You can give `configure' initial values for configuration parameters
78
- by setting variables in the command line or in the environment. Here
79
- is an example:
80
-
81
- ./configure CC=c99 CFLAGS=-g LIBS=-lposix
82
-
83
- *Note Defining Variables::, for more details.
84
-
85
- Compiling For Multiple Architectures
86
- ====================================
87
-
88
- You can compile the package for more than one kind of computer at the
89
- same time, by placing the object files for each architecture in their
90
- own directory. To do this, you can use GNU `make'. `cd' to the
91
- directory where you want the object files and executables to go and run
92
- the `configure' script. `configure' automatically checks for the
93
- source code in the directory that `configure' is in and in `..'.
94
-
95
- With a non-GNU `make', it is safer to compile the package for one
96
- architecture at a time in the source code directory. After you have
97
- installed the package for one architecture, use `make distclean' before
98
- reconfiguring for another architecture.
99
-
100
- Installation Names
101
- ==================
102
-
103
- By default, `make install' installs the package's commands under
104
- `/usr/local/bin', include files under `/usr/local/include', etc. You
105
- can specify an installation prefix other than `/usr/local' by giving
106
- `configure' the option `--prefix=PREFIX'.
107
-
108
- You can specify separate installation prefixes for
109
- architecture-specific files and architecture-independent files. If you
110
- pass the option `--exec-prefix=PREFIX' to `configure', the package uses
111
- PREFIX as the prefix for installing programs and libraries.
112
- Documentation and other data files still use the regular prefix.
113
-
114
- In addition, if you use an unusual directory layout you can give
115
- options like `--bindir=DIR' to specify different values for particular
116
- kinds of files. Run `configure --help' for a list of the directories
117
- you can set and what kinds of files go in them.
118
-
119
- If the package supports it, you can cause programs to be installed
120
- with an extra prefix or suffix on their names by giving `configure' the
121
- option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
122
-
123
- Optional Features
124
- =================
125
-
126
- Some packages pay attention to `--enable-FEATURE' options to
127
- `configure', where FEATURE indicates an optional part of the package.
128
- They may also pay attention to `--with-PACKAGE' options, where PACKAGE
129
- is something like `gnu-as' or `x' (for the X Window System). The
130
- `README' should mention any `--enable-' and `--with-' options that the
131
- package recognizes.
132
-
133
- For packages that use the X Window System, `configure' can usually
134
- find the X include and library files automatically, but if it doesn't,
135
- you can use the `configure' options `--x-includes=DIR' and
136
- `--x-libraries=DIR' to specify their locations.
137
-
138
- Specifying the System Type
139
- ==========================
140
-
141
- There may be some features `configure' cannot figure out automatically,
142
- but needs to determine by the type of machine the package will run on.
143
- Usually, assuming the package is built to be run on the _same_
144
- architectures, `configure' can figure that out, but if it prints a
145
- message saying it cannot guess the machine type, give it the
146
- `--build=TYPE' option. TYPE can either be a short name for the system
147
- type, such as `sun4', or a canonical name which has the form:
148
-
149
- CPU-COMPANY-SYSTEM
150
-
151
- where SYSTEM can have one of these forms:
152
-
153
- OS KERNEL-OS
154
-
155
- See the file `config.sub' for the possible values of each field. If
156
- `config.sub' isn't included in this package, then this package doesn't
157
- need to know the machine type.
158
-
159
- If you are _building_ compiler tools for cross-compiling, you should
160
- use the option `--target=TYPE' to select the type of system they will
161
- produce code for.
162
-
163
- If you want to _use_ a cross compiler, that generates code for a
164
- platform different from the build platform, you should specify the
165
- "host" platform (i.e., that on which the generated programs will
166
- eventually be run) with `--host=TYPE'.
167
-
168
- Sharing Defaults
169
- ================
170
-
171
- If you want to set default values for `configure' scripts to share, you
172
- can create a site shell script called `config.site' that gives default
173
- values for variables like `CC', `cache_file', and `prefix'.
174
- `configure' looks for `PREFIX/share/config.site' if it exists, then
175
- `PREFIX/etc/config.site' if it exists. Or, you can set the
176
- `CONFIG_SITE' environment variable to the location of the site script.
177
- A warning: not all `configure' scripts look for a site script.
178
-
179
- Defining Variables
180
- ==================
181
-
182
- Variables not defined in a site shell script can be set in the
183
- environment passed to `configure'. However, some packages may run
184
- configure again during the build, and the customized values of these
185
- variables may be lost. In order to avoid this problem, you should set
186
- them in the `configure' command line, using `VAR=value'. For example:
187
-
188
- ./configure CC=/usr/local2/bin/gcc
189
-
190
- causes the specified `gcc' to be used as the C compiler (unless it is
191
- overridden in the site shell script).
192
-
193
- Unfortunately, this technique does not work for `CONFIG_SHELL' due to
194
- an Autoconf bug. Until the bug is fixed you can use this workaround:
195
-
196
- CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
197
-
198
- `configure' Invocation
199
- ======================
200
-
201
- `configure' recognizes the following options to control how it operates.
202
-
203
- `--help'
204
- `-h'
205
- Print a summary of the options to `configure', and exit.
206
-
207
- `--version'
208
- `-V'
209
- Print the version of Autoconf used to generate the `configure'
210
- script, and exit.
211
-
212
- `--cache-file=FILE'
213
- Enable the cache: use and save the results of the tests in FILE,
214
- traditionally `config.cache'. FILE defaults to `/dev/null' to
215
- disable caching.
216
-
217
- `--config-cache'
218
- `-C'
219
- Alias for `--cache-file=config.cache'.
220
-
221
- `--quiet'
222
- `--silent'
223
- `-q'
224
- Do not print messages saying which checks are being made. To
225
- suppress all normal output, redirect it to `/dev/null' (any error
226
- messages will still be shown).
227
-
228
- `--srcdir=DIR'
229
- Look for the package's source code in directory DIR. Usually
230
- `configure' can determine that directory automatically.
231
-
232
- `configure' also accepts some other, not widely useful, options. Run
233
- `configure --help' for more details.
234
-
package/libusb/README DELETED
@@ -1,28 +0,0 @@
1
- libusb
2
- ======
3
-
4
- libusb is a library for USB device access from Linux, Mac OS X,
5
- Windows and OpenBSD/NetBSD userspace.
6
- It is written in C and licensed under the GNU Lesser General Public
7
- License version 2.1 or, at your option, any later version (see COPYING).
8
-
9
- libusb is abstracted internally in such a way that it can hopefully
10
- be ported to other operating systems. Please see the PORTING file
11
- for more information.
12
-
13
- libusb homepage:
14
- http://libusb.info/
15
-
16
- Developers will wish to consult the API documentation:
17
- http://api.libusb.info
18
-
19
- Use the mailing list for questions, comments, etc:
20
- http://mailing-list.libusb.info
21
-
22
- - Pete Batard <pete@akeo.ie>
23
- - Hans de Goede <hdegoede@redhat.com>
24
- - Xiaofan Chen <xiaofanc@gmail.com>
25
- - Ludovic Rousseau <ludovic.rousseau@gmail.com>
26
- - Nathan Hjelm <hjelmn@users.sourceforge.net>
27
- - Chris Dickens <christopher.a.dickens@gmail.com>
28
- (Please use the mailing list rather than mailing developers directly)