In any case, thanks for your input! I’ve worked around this problem by assigning a keyboard hotkey to the “toggle plasma” command in the options->controls->keyboard menu and then assigning that key to my external switch.
Happy New Year and happy flying!