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 help
Use 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.json
in your plugin repository and fill our your plugin details -
Run
make build
from 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 install
For 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 dist
This 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.