Keyboard Controller

Keyboard Controller

Adds a custom controller to the Gamepad API list that reacts to keyboard inputs.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Keyboard Controller",
  "version": "1.0",
  "description": "Adds a custom controller to the Gamepad API list that reacts to keyboard inputs.",
  "permissions": [
    "activeTab",
    "storage"
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": false
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "hook.js"
      ]
    }
  ],
  "icons": {
    "16": "images/icon16.png",
    "48": "images/icon48.png",
    "128": "images/icon128.png"
  },
  "options_page": "options.html",
  "manifest_version": 2
}