You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><imgclass="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
</div>
</div>
</div>
<divid="bodyColumn" class="span10" >
<divclass="section">
<h2><aname="Configuration"></a>Configuration</h2>
<p>The configuration options explained here are only valid for the javax-usb extension of usb4java. If you access your USB devices with the native libusb API then no configuration is needed.</p>
<divclass="section">
<h3><aname="Selecting_usb4java_as_javax-usb_implementation"></a>Selecting usb4java as javax-usb implementation</h3>
<p>To tell the USB Host Manager of <i>javax-usb</i> to use the <i>usb4java</i> implementation you have to put the following property into the <i>javax.usb.properties</i> file which must be located in the root of your classpath:</p>
<p>The default USB communication timeout of <i>usb4java</i> is 2500 milliseconds. To change this to 250 milliseconds for example add this to the properties file:</p>
<p>The default USB device scan interval of <i>usb4java</i> is 500 milliseconds. To change this to 1000 milliseconds for example add this to the properties file:</p>
<p>When you set this interval to 0 then <i>usb4java</i> only scans once during application startup. If you want to trigger a manual device <i>scan</i> you can do it by calling the scan method on the USB services class (Must be casted to the <i>usb4java</i> implementation, because this is not a javax-usb feature:</p>
<p>If you want to use <aclass="externalLink" href="https://github.com/daynix/UsbDk">USBDK</a> on Windows then you have to enable the feature with the following entry:</p>