The Edit Controls feature used to be a tool script, and that code can still be found in the VFXPedia archive here:
https://www.steakunderwater.com/VFXPedi ... yeonscriptThat script is old enough that it won't run in Fusion 8 or later, but you can glean some useful information from it. Specifically, look for the function AddControl().
Each User Control is described by a Lua table assigned to a variable, which is the control's script name. This page has a description of most controls and the attributes used to set them up:
https://www.steakunderwater.com/VFXPedi ... r_Controls