text: E.setUSBHID({reportDescriptor:[5,1,9,6,161,1,117,1,149,8,5,7,25,224,41,231,21,0,37,1,129,2,149,1,117,8,129,3,149,5,117,1,5,8,25,1,41,5,145,2,149,1,117,3,145,3,149,6,117,8,21,0,37,104,5,7,25,0,41,104,129,0,192]});var d={A:4,B:5,C:6,D:7,E:8,F:9,G:10,H:11,I:12,J:13,K:14,L:15,M:16,N:17,O:18,P:19,Q:20,R:21,S:22,T:23,U:24,V:25,W:26,X:27,Y:28,Z:29,1:30,2:31,3:32,4:33,5:34,6:35,7:36,8:37,9:38,0:39,ENTER:40,"\n":40,ESC:41,BACKSPACE:42,"\t":43," ":44,"-":45,"=":46,"[":47,"]":48,"\\":49,NUMBER:50,
  ";":51,"'":52,"~":53,",":54,".":55,"/":56,CAPS_LOCK:57,F1:58,F2:59,F3:60,F4:61,F5:62,F6:63,F7:64,F8:65,F9:66,F10:67,F11:68,F12:69,PRINTSCREEN:70,SCROLL_LOCK:71,PAUSE:72,INSERT:73,HOME:74,PAGE_UP:75,DELETE:76,END:77,PAGE_DOWN:78,RIGHT:79,LEFT:80,DOWN:81,UP:82,NUM_LOCK:83,PAD_SLASH:84,PAD_ASTERIX:85,PAD_MINUS:86,PAD_PLUS:87,PAD_ENTER:88,PAD_1:89,PAD_2:90,PAD_3:91,PAD_4:92,PAD_5:93,PAD_6:94,PAD_7:95,PAD_8:96,PAD_9:97,PAD_0:98,PAD_PERIOD:99};exports.KEY=d;exports.MODIFY={CTRL:1,SHIFT:2,ALT:4,GUI:8,LEFT_CTRL:1,
  LEFT_SHIFT:2,LEFT_ALT:4,LEFT_GUI:8,RIGHT_CTRL:16,RIGHT_SHIFT:32,RIGHT_ALT:64,RIGHT_GUI:128};var c=0;exports.setModifiers=function(a,b){c=a;E.sendUSBHID([c,0,0,0,0,0,0,0]);b&&setTimeout(b,10)};exports.tap=function(a,b){E.sendUSBHID([c,0,a,0,0,0,0,0]);setTimeout(function(){E.sendUSBHID([c,0,0,0,0,0,0,0]);b&&setTimeout(b,10)},10)};exports.type=function(a,b){var c=setInterval(function(){a.length?(a[0]in d&&exports.tap(d[a[0]]),a=a.substr(1)):(clearInterval(c),b&&b())},20)}