Plugin Support - DCS-Skunkworks/DCSFlightpanels GitHub Wiki
Overview
DCSFP supports plugins. DCSFP sends any panel events together with any keyboard key configs user has associated with the switch/knob.
Gettings Started
There is a sample project located in the DCSFP repo named SamplePanelEventHandlerPlugin. PanelEventHandler1.cs and PanelEventHandler1.cs are sample plugins which shows how the plugin should be made. Remember to reference the MEF project in your plugin.
Settings
Plugin support must be activated via Options => Settings.
First option enables plugins.
Second option enabled/disables key presses being sent to the Windows API. If the plugin should handle those, click disable here.
DCSFP main UI will show all plugins found under the menu Plugins
.
Clicking on the plugin menu will open settings for the plugin (if there are any).
DCSFP shows information about found plugins in the bottom right edge of the UI
Extensions Folder
Just drop the MEF.dll and your plugin *.dll file into this folder and DCSFP will load it upon startup.