6. (function watchGamepad() { vargamepads = navigator.getGamepads(); varbuttons = gamepads[0].buttons; // Do something window.requestAnimationFrame(watchGamepad); })(); 8. navigator.requestMIDIAccess().then( function(midiaccess) { // åºåãã¼ãã®MIDIPort(MIDIOutput)ãªãã¸ã§ã¯ããåå¾ varoutput_list= midiaccess.outputs(); varoutput = output_list[0]; // MIDIã¡ãã»ã¼ã¸éä¿¡(ãã¼ããªã³, ãã£ãã«0, ã(C4)ã®é³, ããã·ãã£70) output.send(new U
{{#tags}}- {{label}}
{{/tags}}