code: function()
          {
              if ( zMIDI.isConnected() )
              {
                  var inputs = /** @type {Array.<MIDIInput>} */ ( [] );
                  var iface  = zMIDI._interface;
  
                  if ( typeof iface.inputs === "function" )
                  {
                      inputs = iface.inputs();
                  }
                  else
                  {
                      var it = iface.inputs[ "values" ]();
  
                      for ( var o = it[ "next" ](); !o[ "done" ]; o = it[ "next" ]() ) {
                          inputs.push( o[ "value" ] );
                      }
                  }
                  return inputs;
              }
              zMIDI._handleConnectionFailure();
              return null;
          }
docs: retrieve all available MIDI inputs
  
  @public
  @return {Array.<MIDIInput>}