Util
Utility functions in device module.
createRefreshThread
Start a threaded refresh of the entire MIDI device.
HELP WANTED
- What do refresh threads do?
Included since API version 1
destroyRefreshThread
Stop a previously started threaded refresh.
HELP WANTED
- What do refresh threads do?
Included since API version 1
fullRefresh
Trigger a previously started threaded refresh. If there is none, the refresh is triggered immediately.
HELP WANTED
- What do refresh threads do?
Included since API version 1
isDoubleClick
Returns whether the function was called with the same index shortly before, indicating a double click.
Args
index
(int
): a unique value representing the current control.
Returns
bool
: whether the event was a double click.
Included since API version 1.
setHasMeters
Registers the controller as having peak meters, meaning that the
OnUpdateMeters()
function will be called. This function should be called
within OnInit()
.
Included since API version 1.
baseTrackSelect
Base track selection (for control surfaces). Set step
to MaxInt
to
reset.
HELP WANTED
- What does this do?
Args:
-
index
(int
): ??? -
step
(int
): ???
Included since API version 1.