[Web MIDI API] MIDIEvent should have a port attribute

In situations where there are multiple sources attached to a device, it is important to distinguish which MIDI output emitted a particular message. As such, I recommend adding a port attribute to the MIDIEvent interface:

interface MIDIPort : EventTarget {
    readonly attribute MIDIPort  port; 
...
}
  

-- 
Marcos Caceres
http://datadriven.com.au

Received on Sunday, 23 December 2012 20:34:37 UTC