forked from forks/qmk_firmware
7c9d5ace14
* Generate api docs from source code * Add a bunch of doxygen comments * more doxygen comments * Add the in-progress api docs * script to generate docs from travis * Add doc generation to the travis job * make travis_docs.sh commit the work it does * make sure the docs script exits cleanly
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