I did not interpret the question as being about code to support a particular control surface, but rather whether a control surface button could be mapped to trigger a lua script rather than just trigger an existing GUI control.
It sounds to me (if I did not misinterpret the question) like what the poster would like is to push a button on the control surface, and that triggers a lua script which will open the GUI for a plugin.