This repository contains a reference template for creating a plugin for OpenGamepadUI.
You will need to install the dependencies for OpenGamepadUI listed here.
This repository contains the basic files you need to write your own plugin. It includes a Makefile which you can use to build and package your plugin. For help using the Makefile, run:
make helpUse the following steps to get started:
-
Fork this repository and clone your repository locally
-
Clone the OpenGamepadUI repository next to your plugin folder. It should look something like this:
$ ls
OpenGamepadUI
OpenGamepadUI-plugin-template-
Edit
plugin.jsonin your plugin repository and fill our your plugin details -
Run
make buildfrom your plugin repository to symlink your plugin inside the OpenGamepadUI project directory -
Open the OpenGamepadUI project in the Godot editor
Once you have completed these steps, you can use the Godot editor to write your plugin.
You can build and install this plugin with:
make installFor more in-depth documentation on how to write plugins, refer to the Plugin Development Guide
You can distribute your plugin by building a plugin package with:
make distThis will create a zip file under the dist directory.
To have your plugin be considered for inclusion in the OpenGamepadUI plugin store, create a pull request to the OpenGamepadUI-plugins repository with an entry for your plugin to have your plugin listed in the plugin store.