You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/docs/api_midi_device_setup_proce...

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