1
0
Fork 0
qmk_firmware/docs/internals_midi_device_setup...

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