View Single Post
Old 10-17-2018, 06:01 AM   #5
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

Quote:
Originally Posted by Claudiohbsantos View Post
the API function kbd_OnMidiEvent(MIDI_event_t* evt, int dev_index)
The API functions with "on" in their names are not callback functions that can be set by the extension plugin or script code to be called by Reaper when something happens. They are simply functions to be called from the extension or script code. The naming convention is weird and unfortunate but I suppose it can no longer be changed. (There is in fact very minimal support in the Reaper API to get callbacks of any kind, especially on the ReaScript side but the situation isn't great for C++ plugins either.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote