Where to find documentation for writing a MIDI Device Script for Logic Pro?

I'm trying to write a MIDI device script (MDS) for Logic Pro, as is (briefly) discussed here: https://support.apple.com/en-kg/guide/logicpro/ctls718dd5b2/mac

I can see other such scripts bundled with Logic and that they're written in Lua. However, I cannot find any documentation this anywhere.

Could someone kindly point me towards any documentation that might help me?

Post not yet marked as solved Up vote post of guygizmo Down vote post of guygizmo
1.1k views