Skip to content

Create a plugin project (Windows)

Overview

To begin the Loupdeck demo plugin walkthrough, we need to create a .NET project for the plugin. There are two alternatives to achieve this:

  • Download the demo plugin skeleton project from DemoPlugin.

  • Create the demo plugin project using the Logi Plugin Tool. The generated project contains already some functionality as an example.

The instructions below describe the latter alternative on Windows.

Steps

  1. Make sure that the Logitech Options+ or Loupedeck software is installed.

  2. Download and unpack the Logi Plugin Tool for Windows from Developer Page. In this instruction, we assume that you unpacked the tool to ~/Downloads directory.

  3. Open the Command Prompt.

  4. Change the current directory to the location where you want to create the plugin project, for example:

    cd %USERPROFILE%\source
    
  5. Choose a name for your plugin. We use "Demo" in this example.

  6. Execute the following command:

    LogiPluginTool.exe" generate -name=Demo
    
  7. DemoPlugin directory is created.

  8. Go to this directory:

    cd DemoPlugin
    
  9. Start the plugin solution:

    start DemoPlugin.sln
    
  10. Visual Studio opens with the DemoPlugin solution.

  11. Build the solution to verify that it compiles without errors.

  12. Note that the build task creates a .link file to the Logi Plugin Service folder where the Plugins are installed.

  13. Restart the Logi Plugin Service. Wait until the configuration UI opens.

  14. Unhide the "Demo" plugin on the "Hide and show plugins" tab of the Action panel. The plugin should be now shown in the UI.

Demo plugin in the application dropdown list