MKtlLookup provides a single dictionary with unique lookup names for all hardware/network devices found or declared, so they can be used with MKtls. MKtlLookup works in the background when doing MKtl.find;
, so you will rarely encounter it, except when you debug device finding mechanisms.
The names are intentionally long to be both unique and descriptive of the source. short nicknames can and should be given in the MKtl creation:
the lookup dictionary of all device infos found
the lookup names of all device infos found
post info on all devices found
the lookup names of all device infos using that protocol
add a HIDInfo by as found by index in HID.available
add all HIDINfos currently found in HID.available
add a MIDIEndpoint as found by index in MIDIClient.sources or .destinations. type (\src or \dest) tells MKtlLookup whether it is in sources or .destinations.
add all MIDIEndpoints currently found in MIDIClient sources or destinations. Happens automatically in MIDIMktlDevice.find.
a separate dict for sorting and matching all midi ports
add an OSC source or dest. As these are not globally represented, one makes them by hand, with sendAddr, replyAddr, and (given) name.
None, MKtlLookup is a Singleton.