Docs / MonoInput

Glossary: MidiDeviceInfo

The members of MidiDeviceInfo, in alphabetical order.

Color legend plain property method

A MIDI input device: the id to connect with, and the name to show.

A class, in the namespace BorrowedTorch.MonoInput.Inputs.Midi. Devices lists them. The MIDI page shows it in context, with code.

Names are colored by what they are: a property or a method; values and fields keep the plain color.

Properties

Id →

string · Read-only. Windows’ id for the device, to pass to TryConnectToMidiDevice.

Name →

string · Read-only. The name Windows gives the device, to show to the player.

Methods

MidiDeviceInfo() →

MidiDeviceInfo(string id, string name) · A device with the id and the name. The manager makes these from what Windows reports.

Parameter Type Description
id string Windows’ id for the device.
name string Its display name.

ToString() →

ToString() · The Name, so a device shows by its name in a list or a log.