mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-14 07:55:28 +00:00
1.5 KiB
1.5 KiB
group midi_device_setup_process
These are method that you must use to initialize and run a device.
Summary
Members | Descriptions |
---|---|
public void midi_device_init ( MidiDevice * device) |
Initialize a device. |
public void midi_device_process ( MidiDevice * device) |
Process input data. |
Members
public void
midi_device_init
(
MidiDevice
* device)
Initialize a device.
You must call this before using the device in question.
Parameters
device
the device to initialize
public void
midi_device_process
(
MidiDevice
* device)
Process input data.
This method drives the input processing, you must call this method frequently if you expect to have your input callbacks called.
Parameters
device
the device to process