MIDIAccess: inputs property - Web APIs | MDN
Value
A MIDIInputMap instance.
Examples
The Navigator.requestMIDIAccess() method returns a promise that resolves with a MIDIAccess object. Printing the value of inputs to the console returns a MIDIInputMap.
js
navigator.requestMIDIAccess().then((access) => {
console.log(access.inputs);
});
Specifications
| Specification |
|---|
| Web MIDI API # dom-midiaccess-inputs |