Constructor
new EventMidiDigital($type, $code)
- Description:
- Creates a new MIDI digital event.
- Source:
Example
const event = new EventMidiDigital(type, code);
Parameters:
| Name | Type | Description |
|---|---|---|
$type |
EVENT_TYPES.MIDI.MIDI_INPUT_DOWN | EVENT_TYPES.MIDI.MIDI_INPUT_UP | The event type. |
$code |
string | The event code. |
Members
code :string
- Description:
- Gets the event code.
- Source:
Gets the event code.
Type:
- string