GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — OpenGamepadUI/plugins at main · ShadowBlip/OpenGamepadUI

Expand file tree

/

plugins

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

plugins

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.gitignore
.gitignore
 
 
README.md
README.md
 
 

README.md

Outline

Plugins

OpenGamepad UI uses a plugin system to extend functionality.

Writing Plugins

First, clone the OpenGamepad UI project to its own folder:

git clone https://github.com/ShadowBlip/opengamepad-ui.git

Next, create a separate folder that will contain your plugin project:

mkdir my-plugin

Change directory to the project folder and create the plugin folder structure:

cd my-plugin
git init

Now create a JSON file with the same name as your plugin that will contain the metadata that describes your plugin:

$EDITOR plugin.json
{
  "plugin.name": "My Plugin",
  "plugin.version": "1.0.0",
  "plugin.min-api-version": "1.0.0",
  "plugin.link": "https://github.com/ShadowBlip/opengamepad-ui",
  "plugin.source": "https://github.com/ShadowBlip/opengamepad-ui",
  "plugin.description": "An example plugin",
  "store.tags": [],
  "store.images": [],
  "author.name": "William Edwards",
  "author.email": "[email protected]",
  "entrypoint": "plugin.gd"
}

Next, create a symlink to your plugin inside the OpenGamepad UI directory:

cd ../opengamepad-ui/plugins
ln -s ../../my-plugin ./

You can now run make plugins inside the OpenGamepad UI project directory to build your plugin.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.