1) function isePad() { var epad; if (window.document.esCapture1) { epad = window.document.esCapture1.ConnectedDevice; console.log("epad", epad); } if (!epad) { alert('Sorry epad either is not Connected or/and drivers are not installed'); } } isePad(); 2) navigator.usb.requestDevice({filters:[]}).then(function(device){ console.log(device); }); navigator.usb.getDevices().then(function(devices){ console.log(devices); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)